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,4 +1,4 @@
{ {
"iisSettings": { "iisSettings": {
"windowsAuthentication": false, "windowsAuthentication": false,
"anonymousAuthentication": true, "anonymousAuthentication": true,
@@ -13,15 +13,9 @@
"launchBrowser": true, "launchBrowser": true,
"environmentVariables": { "environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
}
}, },
"MyWebsite": { "ancmHostingModel": "OutOfProcess",
"commandName": "Project", "use64Bit": true
"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>