posted 10/2/2011 by Hajan Selmani
In the past weeks I have been playing with Windows 8 Developer Preview and ASP.NET MVC4, VS.NET 2011 and other new Developer Preview stuff that has been made available by Microsoft.
Several days ago I have installed ASP.NET MVC4 Developer Preview in my Windows 7 OS and VS.NET 2010.
There are lot of new stuff, but before going in deeper details, lets first pass through the very first things you will notice as new in this ASP.NET MVC4 Developer Preview.
To install the ASP.NET MVC4 Developer Preview, go to the following page http://www.asp.net/mvc/mvc4
After installing, you will have new ASP.NET MVC4 Web Application template when creating new project in VS.NET 2010.
Once you click OK the following dialog box will appear
If you have experience with ASP.NET MVC3, you will realize that the selected template int he previous screen, Mobile Application, wasn't there up to now. So, in ASP.NET MVC4 we have new Mobile Application template that is available for us. You can chose the view engine (I am chosing Razor) and click OK.
After clicking OK, the following folder structure in your Solution -> Project will be created:
As you see, if you open Index.cshtml, you will see Mobile Application related attributes in the unordered list.
If you run the applicaiton, the following page will be opened:
But... that's not all! This is for Mobile Apps! The default template for standard Web Apps is also changed. Here is how it looks like:
Clicking on Register or Log on will give you out of box nicely done Register/Logon features in Modal Dialog Boxes...
Here is how these look like:
Register
Log on
Have a nice time playing with ASP.NET MVC4 Developer Preview!
Regards,Hajan
What kind of email newsletter would you prefer to receive from CodeAsp.Net?18