Configuring IIS on Windows 7 :
- Go
to Control Panel -> Programs -> Turn Windows Features on or
off .
-
1.1
Internet Information Services (IIS) is checked, even explore the
depth of this root folder and check almost all checkboxes
.
1.2 Windows Process Activation Service and explore depth of this folder.
- Go
to Control Panel -> Administrative Tools -> services-> IIS
related services.
- Now
you can open IIS manager, steps are:
3.1 open run window and then enter “inetmgr” .
Publishing web application through Visual studio 2012 express :
- Right
click on projectName in solution explorer and click publish.
- Now,
give profile name :XXXX
- serviceURL
: If publishing from localhost then “localhost”.
- Site/Application
: “Default Web Site/requiredname”
- Destination
URL : “http://localhost:80/requiredname”
- click
on Validate connetion to see GREEN
checked sign.
i.e.
requiredname you given in Site/Application field.
- Enable
directory browsing.
- Set
deault document to index.cshtml
- in
application pool make sure that .NET Framework is v4.0
- right
click on Default Web Site ->Manage Web Site -> Start.
Just check whether “requiredname” directory appears on following path:
C:\inetpub\wwwroot\projectname\
I hope this information will reduce your search effort and you will get started with your ASP.NET MVC Application ASAP.
No comments:
Post a Comment