I`m using VS 2022 Professional 2022 (17.2.0).
I wanted to create a ASP.Net Core app with Angular in VS and used the Microsoft Tutorial for it.
proxy.conf.js
target: "https://localhost:7049",
launchSettings.json
"applicationUrl": "https://localhost:7049;https://localhost:5001",
I hope somebody has a Solution or run into the same Error once, cause I cant find anything about this. Could this be an AV problem?
CodePudding user response:
I use two instances of VS open for this; each with a different start up project.
CodePudding user response:
You have to start the ASP.Net Core app. In there you should have a Startup Class. Go to Configure Services and add something like this:
services.AddSpaStaticFiles(configuration => { configuration.RootPath = "WebUI"; });
Then the Kestrel Server should start up with the SPA.