Since I have many views, I have created sub folders under the View folder of the MVC. eg
Views - Product
Views - Customer
Views - Orders
etc… Then each folder as related views to the entities. Things work Ok. The only problem is that when I debug my application – I mean running in debug mode – The URL is not working eg te URL will be like Localhost:xxxx\Views\Product\Index …. However If I click on real application links then things work ok …
How can I make this work? … it is giving me headache as every time I run the applicatiion the URL is wrong.
any comments will be appreciated.
If you navigate to Projects -> MyApplication Properties, then click the ‘Web’ tab. There you can change where the application runs from.