Solved

Does ASP.NET MVC 2 in .NET framework 3.5 support Razor Engine syntax?

Posted on 2013-01-08
1
1,177 Views
Last Modified: 2013-01-09
Hi,

   Our development servers are still in .NET framework 3.5 sp1 and I have developed my web project in .NET 4.0 with mvc 3. I need to rewrite the code so that it supports 3.5 with mvc 2 on MS windows server 2003. However, most of my UI code is written using Razor syntax. As I am creating the project in mvc 2, I found no support for Razor and it only supports aspx.

Do I need to do additional installation for the .NET 3.5 to support razor engine syntax?

Thanks
Vishnu
0
Comment
Question by:kvishnusharma
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
binaryevo earned 500 total points
ID: 38756679
Only MVC3 + support razor so developing something in MVC2 will not allow you to have access to razor based view engine.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article covers the basics of the Sass, which is a CSS extension language. You will learn about variables, mixins, and nesting.
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question