asp.net mvc - In MVC what extension should the view file names have? -


i have been given sample mvc project contains views extension .aspx when create new mvc project using vs2013 asp.net wizard views have extension .cshtml there 2 kinds of mvc project?

in mvc extension should view file names have?

.cshtml unless have reason not use razor view engine c#.

are there 2 kinds of mvc project?

the relevant answer there many more 2 different view engines. razor was introduce in 2010. razor view engine comes out of box in visual studio mvc templates. see asp.net mvc view engine comparison more info on more obscure view engines work asp.net mvc.


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -