First of all you need to make sure you've enabled ASP.NET from within "Add/Remove Windows Features" as well. Under the IIS tree, you need to enable WWW Services -> ASP.NET
Once ASP.NET has been installed, if you're using Visual Studio it can configure IIS for you. You'll need to run VS as Administrator, then open your project. Open the web project properties and select the "Web" tab. From there you'll want to choose "Use Local IIS Web server" and setup the url you'd like to use.
Here is a screenshot of how to get to the project properties. In this image "MVC5Demo" is a web application project:
Where do I find the web project properties? – muttley91 – 2013-08-23T19:35:13.780
Right click on the web project in the Solution Explorer and select "Properties" – heavyd – 2013-08-23T19:37:26.757
What do you mean by web project? I'm right clicking on the solution but I don't see a window like you describe (as in, no Web tab). – muttley91 – 2013-08-23T19:39:35.957
I've updated my answer. Are you sure your project is a Web Application project? Also what version of VS are you using? – heavyd – 2013-08-23T19:56:55.120
Visual Studio 2012. It's a WebSite, having nothing to do with MVC (as your screenshot implies). – muttley91 – 2013-08-23T20:02:18.297
You can't run ASP.NET code from a website project. You need to use one of the ASP.NET application projects. – heavyd – 2013-08-23T20:04:47.477
I've seen it run on Windows Server, though. I just wanted to test it locally to avoid having to move it over to the server every time. I'm just looking to run the
.aspx
files. This isn't possible? – muttley91 – 2013-08-23T20:10:37.710