Replies: 4 comments 3 replies
-
Hello @ttt15 , Quick suggestion to try. In "CleanArchitecture.WebUI": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"DOTNET_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:5001;http://localhost:8080"
}, Snippet above was pulled from main. |
Beta Was this translation helpful? Give feedback.
-
Hello @davidmcenedella,
Nothing in the logs. Maybe I have to attach/start VS as debugger in the code. But I have the feeling that the debugger won't help me. |
Beta Was this translation helpful? Give feedback.
-
A network-related or instance-specific error occurred while establishing a connection to SQL Server... |
Beta Was this translation helpful? Give feedback.
-
Ok. Now it's running.
\src\WebUI\Properties\launchSettings.json:
\src\WebUI\appsettings.Production.json:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I want my project that is based on CleanArchitecture to run with IIS. In the CleanArchitecture project I declared WebUI as start project and clicked 'Publish'. Target location is c:\web\clean. This works. In the IIS manager I specified the physical path(c:\web\clean) and as binding(http://192.168.178.10:8080). Then I started the website. However, when I go to the website I get an error message: "HTTP Error 500.30 - ASP.NET Core app failed to start ".
I have run a simple ASP.NET Core web app with IIS for testing. It works. Used the same steps as CleanArchitecture.
Is there a tutorial somewhere on how to run projects like the CleanArchitecture project with IIS? Don't know much about IIS and web servers.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions