HomeОбразованиеRelated VideosMore From: ITORIAN

Deploying an ASP.NET MVC 4 Web Application on Windows Azure

47 ratings | 18049 views
In this video you will learn how to deploy ASP.NET MVC 4 Web Application on Windows Azure environment. Sorry for the noisy video, recorded it without any special device arrangements and also this is my very fist hand on Azure.
Html code for embedding videos on your blog
Text Comments (10)
ITORIAN (1 month ago)
Subscribe : http://bit.ly/itorian-subs Buy me a Coffee (USD) : http://bit.ly/itorian-usd Buy me a Coffee (INR) : http://bit.ly/itorian-inr Oracle PL/SQL Programming in Hindi : http://bit.ly/itorian-oracle Java Programming in Hindi : http://bit.ly/itorian-java C Programming in Hindi : http://bit.ly/itorian-c Git and GitHub Training in Hindi : http://bit.ly/itorian-git-hindi Git and GitHub Training in English : http://bit.ly/itorian-git-english
Tosin Yadeka (2 years ago)
Super duper helpful. Thank You Very Much.
CHARLY BEX (3 years ago)
Interesante :) me funciono
sandip soni (4 years ago)
Very simple and straight forward. Awesome !
Edwin Jose (4 years ago)
Error 1 Web deployment task failed. (Cannot connect to the database 'aspnet-WEBSITE-2014556606193025'.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CANNOT_CONNECT_TO_DATABASE.) Cannot connect to the database 'aspnet-WEBSITE-20447806193025'.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CANNOT_CONNECT_TO_DATABASE. Object of type 'dbFullSql' and path 'data source=(LocalDb)\v11.0;attachdbfilename="c:\users\USER\documents\visual studio 2013\Projects\WEBSITE\WEBSITEc\App_Data\aspnet-WEBSITE-20140806193025.mdf";initial catalog=aspnet-WEBSITE-20176806193025;integrated security=True' cannot be created. Failed to connect to server . Cannot attach the file 'c:\users\USER\documents\visual studio 2013\Projects\SOLUTION\WEBSITE\App_Data\aspnet-WEBSITE-20140806193025.mdf' as database 'aspnet-WEBSITE-20140806456025'.   Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_EXECUTING_METHOD. Failed to connect to server . Cannot attach the file 'c:\users\USER\documents\visual studio 2013\Projects\WEBSITE\WEBSITE\App_Data\aspnet-WEBSITE-20140806193025.mdf' as database 'aspnet-WEBSITE-20140806193025'. 0 0 WEBSITE
Rodrigo Castro (5 years ago)
Great job, man! Was very helpful. Thanks.
ITORIAN (6 years ago)
I never run into such problem. I think your DB is already up and running on Azure with DefaultConnection on web.config file. You maybe trying to modify existing connection string (DefaultConnection) on Azure with new one that points Data Source=(LocalDb). Try DB Migration you want changes in DB running on Azure. Just guessing.
Bruno Coelho (6 years ago)
Yes - I did that. The "problem" is that the ASP.NET MVC 4 Web Application comes with a DefaultConnection on the web.config that points to Data Source=(LocalDb) that uses a mdf file to store the data... If I deploy it to Azure like this it throws an exception saying that it can connect to that DB. It makes sense... Did you run into this problem? How did you solve it?
ITORIAN (6 years ago)
On Azure portal I have selected 'Create with Database' service, that's it.
Bruno Coelho (6 years ago)
Nice! One question - how did you turned your LocalDB (mdf) into a Sql Instance on Azure?

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.