ASP.NET MVC 3 Project Templates - Razor Support and Empty Templates

ASP.NET Team Blog
31 January 2011
Update: Watch the webinar video that shows DevExpress with ASP.NET MVC 3 Razor View Engine.

Check out these new DevExpress ASP.NET MVC 3 project templates that make using the DevExpress MVC Extensions easy with ASP.NET MVC 3:

DevExpress ASP.NET MVC 3 Project Templates

4 New Project Templates for C# and VB.NET

ASP.NET MVC 3 introduces a new view engine called Razor which the DevExpress MVC Extensions already support.

The new view engine means you can choose between the WebForms engine or the new Razor engine.

Project templates in CSharp and VB.NET for both engines are available to you to create DevExpress MVC web projects.

Two new projects templates for ASP.NET MVC are available.

Hybrid Empty Project Template

Visual Studio 2010 allows you to create either a new empty web project or one with a basic layout and login capabilities. And it provides a lot of other project template types too.

Because we didn't want to include too many new project templates, our new MVC 3 project templates are a compromise between the full and empty VS2010 project templates.

Here's what the new project template looks like:

DevExpress ASP.NET MVC 3 Project Templates - Layout

In the new project template, there is:

  • one master page
  • one empty view page (Index)
  • one Home controller with an action for the Index view
  • and no Login functionality (like our previous project template)

Of course, all of the necessary scripts, style sheets and references are added for you to use DevExpress MVC Extensions. This makes it easier for you to start with a clean MVC 3 web project to use DevExpress MVC Extensions.

Available In v2010.2.5

These new project templates are available starting with minor release DXperience v2010.2.5.

Follow MehulHarry on Twitter

Build Your Best - Without Limits or Compromise

Try the DevExpress ASP.NET MVC Extensions online now:

Read the latest news about DevExpress ASP.NET MVC Extensions

Download a free and fully-functional version of DXperience now:

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Jan Jonas
Jan Jonas

Hi, where do I find the download for v2010.2.5.?

31 January 2011
Mehul Harry (DevExpress)
Mehul Harry (DevExpress)


The DXperience v2010.2.5 should be released this week.

31 January 2011
Dan Arnold
Dan Arnold

Two comments:

1. Why not implement the login (optionally) using some of your mvc controls?  Show off a little.

2. Why dont you prompt to include the UnitTest project?

10 February 2011
Mehul Harry (DevExpress)
Mehul Harry (DevExpress)

Hi Dan,


We did consider this but the biggest problem is that we cannot reuse Microsoft wizards because they're very closed. Therefore, corresponding classes have "sealed" and "internal" attributes. :\

Writing our own wizard from scratch will take a lot of time. So before we go this route, we'll need to know how many people would want this feature. Also, it isn't very hard to add the login and test functionality manually.

Your ideas are good and I recommend creating 2 suggestions to the support center:

If many people track it, we'll consider implementing this functionality for a future release.

Thanks again.

21 February 2011
Me Me 10
Me Me 10


Please I'm new in devexpress, where do I find some examples of code of devexpress with razor view engine (report and charts) I found only examples with ASPX.. (I have an mvc 3 project)

Thanks for help

1 April 2011
Mehul Harry (DevExpress)
Mehul Harry (DevExpress)

Me Me 10,

Check out this webinar and blog post about it:

Also, please use your real name. :)

Thanks and good luck with MVC3 Razor, it is very good.

1 April 2011

Please login or register to post comments.