I have created a project with "ASP.Net core with Angular" template, by default SPA proxy got enabled and the project came with the default controller called "weatherforecast". When i run the application i am getting the screen like below which eventually navigates to the URL(URL2) mentioned in the message from the main URL(URL1) and the application is working fine with URL2.
Issue is when i add a new controller i am not able to access that controller using the URL2 which is working for "Weatherforecast" controller. Instead it is working with the main URL(URL1). Can you help me understand this behaviour of SPA proxy is correct and what we need to do to access all the controllers with one URL endpoint.