-->
Host and promote your own Nerd Dinner free! Scott Hanselman on Programming, The Web, Open Source,.NET, The Cloud and More. NerdDinner Wrap Up.; 2 minutes to read Contributors. In this article. By Microsoft. Download PDF. This is the conclusion of the NerdDinner tutorial, and provides you with information on how to learn more. If you are using ASP.NET MVC 3.
by Scott Hanselman
The best way to learn a new framework is to build something with it. This tutorial walks through how to build a small, but complete, application using ASP.NET MVC 1, and introduces some of the core concepts behind it.
Mvc 3 Black Suit Spiderman
If you are using ASP.NET MVC 3, we recommend you follow the Getting Started With MVC 3 or MVC Music Store tutorials.
NerdDinner Tutorial
The best way to learn a new framework is to build something with it. This tutorial walks through how to build a small, but complete, application using ASP.NET MVC, and introduces some of the core concepts behind it.
The application we are going to build is called 'NerdDinner'. NerdDinner provides an easy way for people to find and organize dinners online:
Ultimate Mvc 3
NerdDinner enables registered users to create, edit and delete dinners. It enforces a consistent set of validation and business rules across the application:
Visitors can use an AJAX-based map to search for upcoming dinners being held near them:
Clicking a dinner will take them to a details page where they can learn more about it:
If they are interested in attending the dinner they can login or register on the site:
They can then click an AJAX-based RSVP link to attend the event:
Implementing NerdDinner
We are going to begin our NerdDinner application by using the File->New Project command within Visual Studio to create a brand new ASP.NET MVC project. We will then incrementally add functionality and features. Along the way we'll cover:
You can build your own copy of NerdDinner from scratch by completing each step we walkthrough in this chapter. Alternatively, you can download a completed version of the source code here: NerdDinner on GitHub. You can also optionally also download a free PDF version of this tutorial if you want to read the tutorial offline.
You can use either Visual Studio 2008 or the free Visual Web Developer 2008 Express to build the application. You can use either SQL Server or the free SQL Server Express for the database.
You can install ASP.NET MVC, Visual Web Developer 2008 Express, and SQL Server Express (all free) using V2 of the Microsoft Web Platform Installer
Now let's get started....
Now that we've covered what NerdDinner is, let's roll up our sleeves and write some code.
We'll begin by using File->New Project within Visual Studio to create the NerdDinner application.
Active8 years, 2 months ago
I am using VS2010 and Sql Server 2008 in Windows 7 64 bit OS. I have downloaded NERD dinner example and tried to run the example. Everything is fine until I try to login using Open Id. I have tried to loging using Yahoo and Google Accounts. After successful sign in in the Pop up window, the control is not transferred to application or didnt throw any error. It was just hanging there itself. It hangs the entire internet explorer. I cannot select any other IE window that I have already opened. My VS2010 also got hang and finally I ended up in killing the process and reopen the project again. Please help me to fix the issue.
MuthuKumaranMuthuKumaran
1 Answer
Have you whitelisted localhost with the DotNetOpenAuth library? You can do this in the web.config by adding this:
Peter MourfieldPeter Mourfield
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.