0

Can I host a MVC3 website on an Azure Web Site ?

I try to deploy an MVC3 website to Azure Web Sites (in preview). If I leave the web.config file I got an error. If I remove the web.config file, like I did with a normal ASP.net website, then I got other errors that seems related to MVC3.

Thanks

Daniel Benedykt
  • 6,496
  • 12
  • 51
  • 73
  • Looks like you're asking two questions: one on Web Sites vs. Cloud Services (and you can use either), and one on some web.config issue (which you need to be more specific about; as it stands, it's very open-ended and hard to answer, such as "other errors that seems related to MVC3" - you really should be showing some errors and explain what, exactly you tried. – David Makogon May 06 '13 at 21:58
  • Regarding the former (Web Sites vs. Cloud Services), I gave a fairly comprehensive answer to that question, [here](http://stackoverflow.com/a/10941526/272109). You should look at that to see the differences and make an informed decision. – David Makogon May 06 '13 at 21:59

2 Answers2

0

I ended up following this tutorial.

http://www.windowsazure.com/en-us/develop/net/tutorials/get-started/

It seems that if you if you have some additional configuration, you need the SDK.

To publish plain aspx websites, you dont need the SDK.

Daniel Benedykt
  • 6,496
  • 12
  • 51
  • 73
0

In terms of running an MVC website in Azure websites, I found this: http://www.windowsazure.com/en-us/develop/net/tutorials/web-site-with-sql-database/

Brett Rigby
  • 6,101
  • 10
  • 46
  • 76