Creating a Project with Visual Studio:
* Modified port for hosting * Succeeded in running through IIS Expressvs2019/2_Getting_Started
parent
41cb763b93
commit
00abd93e13
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
{
|
||||
"iisSettings": {
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "http://localhost:54895",
|
||||
"applicationUrl": "http://localhost:47263",
|
||||
"sslPort": 0
|
||||
}
|
||||
},
|
||||
|
@ -18,10 +18,10 @@
|
|||
"DutchTreat": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "http://localhost:5000",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
},
|
||||
"applicationUrl": "http://localhost:5000"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -21,10 +21,6 @@ namespace DutchTreat
|
|||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
{
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
app.UseDeveloperExceptionPage();
|
||||
}
|
||||
|
||||
app.UseRouting();
|
||||
|
||||
|
|
Loading…
Reference in New Issue