We are excited to announce that the IIS.NET Forums are moving to the new Microsoft Q&A experience. Learn more >

View Complete Thread
  • Re: Web Hosting for .cshtml files

    Jan 19, 2011 03:24 AM|simtan|LINK

    Hello,

    Unfortunately, GoDaddy does not yet support CSHTML files; they require more than just a MIME type change in order to function. GoDaddy would need to install some server-side components as well.

    Did you try to use WebMatrix to publish your site to your GoDaddy account? If you publish through the WebMatrix interface (using FTP or another protocol called "Web Deploy"), WebMatrix does some alterations on the server that may help those pages run successfully. If that does not work, you will need to specifically ask GoDaddy to support "ASP.NET Web Pages with Razor Syntax", which is still a new thing.

    You can also find other hosting providers in your area that support WebMatrix completely, by looking for "Spotlight" hosting offers at Microsoft's own hosting gallery/directory:

    http://www.microsoft.com/web/hosting/home?spotlight=true

     

    Hope that helps!

    Simon Tan
    Program Manager
    Web Platform and Tools