locked
cshtml extension RRS feed

  • Question

  • User1519602350 posted

    All,

    I have transferred all the files to the server but i would like to execute the file without extension(.cshtml). Any corrections to be made in the web.config file?

    Thanks

    Wednesday, May 14, 2014 12:02 PM

Answers

  • User-1416423428 posted

    No changes needed. It works out of the box just like that. 

    example: just link to it using /about  instead of /about.cshtml 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 14, 2014 1:24 PM

All replies