Friday, August 1, 2014

MVC for those used to just writing a simple local app and deploying it to your local IIS in order to test

I found the following comforting in validating my own experience:

http://stackoverflow.com/questions/9518748/using-msdeploy-to-a-windows-7-computer-running-default-iis

"My question is rather simple.
Has anybody here successfully used the publish function of Visual Studio 2010 to publish a web app to a Windows 7 computer running the default IIS?
I have struggled for who knows how long to try to get this working and am starting to wonder if it is at all possible!?!?
To test I have done things right, I whacked a Server 2008 VM up and following some articles, and managed to get the deploy working rather easily on the 2008 server.
So is there any thing special I need to do on a Windows 7 Ultimate machine? or am I wasting my time because it is not possible?"
Answer:
"Have a look at the blog post Test your ASP.NET MVC or WebForms Application on IIS 7 in 30 seconds, which provides all the steps to get a VS 2010 web app running on IIS on Windows 7. You'll need to open your Windows 7 Firewall to HTTP traffic to browse the app from another computer, but that's covered in the blog post."

Which takes you to:



No comments: