Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • nelsenlim 70 posts 71 karma points
    May 03, 2011 @ 07:40
    nelsenlim
    0

    Razor .cshtml do i need to install MVC for visual studio

    Hi i watched the video
    http://blog.percipientstudios.com/2011/3/3/how-to-umbraco-razor-intellisense-and-debugging.aspx

    But i can't get intellisense working in visual studio because the file type .cshtml has no associated editor.
    1. Do i need to install ASP.NET MVC first from http://www.asp.net/mvc so i can get the razor editor?
    2. 
    Does my hosting require MVC installation?
    3. Performance: 
    which is faster XSLT vs Razor, i know that XSLT uses caching mechanism stored in AppData/umbraco.config but razor seems much more convenient.

    Thank u

    Best regards,
    Nelsen

  • Eran Meir 401 posts 543 karma points
    May 03, 2011 @ 08:32
    Eran Meir
    0

    you need to install mvc 3 to get the debug option and the editor inside VS
    about the cache i'm not sure.

  • nelsenlim 70 posts 71 karma points
    May 04, 2011 @ 11:26
    nelsenlim
    0

    Thank yep i installed MVC3, but wondering why before my razor installation, the razor syntax works just fine.
    Can i safely assume that i do not need to cross check my hosting whether they have installed MVC3.
    I am just amazed by the ease of use of razor, don't think i'm gonna use XSLT anytime soon anymore :)

Please Sign in or register to post replies

Write your reply to:

Draft