O'Reilly logo

Applied ASP.NET 4 in Context by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

images

Figure 23-8. The error shown when starting the MVC framework application from Visual Studio

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required