Configured project to deploy at both production and debug without errors
Updated .gitignore
This commit is contained in:
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user