Browse Source
Merge pull request #14275 from abpframework/web.config
Add `web.config` to app templates.
pull/14279/head
liangshiwei
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with
234 additions and
0 deletions
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server.Mongo/web.config
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Blazor.Server/web.config
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host.Mongo/web.config
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Host/web.config
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc.Mongo/web.config
-
templates/app-nolayers/aspnet-core/MyCompanyName.MyProjectName.Mvc/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.AuthServer/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server.Tiered/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor.Server/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.Host/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.HttpApi.HostWithIds/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web.Host/web.config
-
templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Web/web.config
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Blazor.Server.Mongo.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Blazor.Server.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Host.Mongo.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Mvc.Mongo.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Mvc.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.AuthServer.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Blazor.Server.Tiered.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Blazor.Server.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.HttpApi.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.HttpApi.HostWithIds.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Web.Host.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |
|
|
@ -0,0 +1,18 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<location path="." inheritInChildApplications="false"> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<handlers> |
|
|
|
|
|
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> |
|
|
|
|
|
</handlers> |
|
|
|
|
|
<aspNetCore processPath="dotnet" arguments=".\MyCompanyName.MyProjectName.Web.dll" stdoutLogEnabled="false" stdoutLogFile=".\Logs\stdout" hostingModel="inprocess" /> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</location> |
|
|
|
|
|
<system.webServer> |
|
|
|
|
|
<httpProtocol> |
|
|
|
|
|
<customHeaders> |
|
|
|
|
|
<remove name="x-powered-by" /> |
|
|
|
|
|
</customHeaders> |
|
|
|
|
|
</httpProtocol> |
|
|
|
|
|
</system.webServer> |
|
|
|
|
|
</configuration> |