1
0

Configured project to deploy at both production and debug without errors

Updated .gitignore
This commit is contained in:
Michael Gordeev
2020-03-30 16:22:33 +03:00
parent a137b1a80b
commit e530fc2489
4 changed files with 34 additions and 34 deletions
+1
View File
@@ -11,3 +11,4 @@
/MyWebsite/.config /MyWebsite/.config
/MyWebsite/MyWebsite/Properties/PublishProfiles /MyWebsite/MyWebsite/Properties/PublishProfiles
/MyWebsite/MyWebsite/.config /MyWebsite/MyWebsite/.config
/MyWebsite/MyWebsite/logs
@@ -1,27 +1,21 @@
{ {
"iisSettings": { "iisSettings": {
"windowsAuthentication": false, "windowsAuthentication": false,
"anonymousAuthentication": true, "anonymousAuthentication": true,
"iisExpress": { "iisExpress": {
"applicationUrl": "http://localhost:55171", "applicationUrl": "http://localhost:55171",
"sslPort": 44386 "sslPort": 44386
} }
}, },
"profiles": { "profiles": {
"IIS Express": { "IIS Express": {
"commandName": "IISExpress", "commandName": "IISExpress",
"launchBrowser": true, "launchBrowser": true,
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} },
}, "ancmHostingModel": "OutOfProcess",
"MyWebsite": { "use64Bit": true
"commandName": "Project", }
"launchBrowser": true, }
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
} }
+11
View File
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<location>
<system.webServer xdt:Transform="Replace">
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\XFox111dotNET.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" />
</system.webServer>
</location>
</configuration>
-6
View File
@@ -33,12 +33,6 @@
</system.webServer> </system.webServer>
<!--/Redirects--> <!--/Redirects-->
<location path="." inheritInChildApplications="false" allowOverride="false"> <location path="." inheritInChildApplications="false" allowOverride="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath=".\XFox111dotNET.exe" stdoutLogEnabled="true" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
<system.web> <system.web>
<trust level="Full" /> <trust level="Full" />
</system.web> </system.web>