I am completely new to ASP.Net MVC. I just created an asp.net MVC project in Visual Studio latest version.
i want when i click on that button so this item add in my database using AddToCart method but when i click this button i got
The resource cannot be found. Error please help me
thanks in advance
Jayraj ChhayaPosted Apr 24, 2024, 11:17 AM
When encountering a "Resource cannot be found" error in ASP.Net MVC, the issue typically lies in the routing configuration or the controller action method. Ensure that the routing is correctly set up to map the button click action to the appropriate controller method.
Check the following:
By reviewing these aspects, you can troubleshoot and resolve the "Resource cannot be found" error in your ASP.Net MVC project.