Running the MVC Framework Application
We are ready to test our (very simple) application. Select Start Without Debugging from the Visual Studio Debug menu to compile the application and display it in the browser. The first thing that you'll see is a 404 – Not Found
error, like the one shown in Figure 23-8.
Our combination of controller and action method means that we have a target for the /Registration/Index
method, but we haven't told the MVC framework what to do when the default URL (/
) is requested, so we get an error. I'll show you how to configure ...
Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.