- First of all goto the control panel->Programs and Features->Turn windows feature on or off.
- Check Internet Information Services and everything under FTP Server,Web Management Tools,IIS6 Management Compatibility,World Wide Web Services(everything under it also) and also check Internet Information Services Hostable Web Core.
- Press Ok button.It will take some time to apply.
- Now in your C(or the drive in which OS is installed) folder name inetpub is created.
- Goto the visual studio.Open your webapllication and goto build menu->publish website.If you want to save solution file then click on save or otherwise click cancel.Now it will ask for target location for publishing site.I am giving C:\Users\Anup\Desktop\sitename where Sitename is the name you want to give name to the published folder.
- Folder will be created in your desktop having sitename(Whatever you have given).Now copy that folder and goto C->inetpub->wwwroot and paste your copied folder there.
- Open IIS manager by typing inetmgr into run prompt.Expand left side directory and you will find Sites directory.Right click on it and choose Add Website.
- Give site name,I have given testsite.In the physical path give path of your published folder which is now located in wwwroot directory.Change your port number,I am changing it to 84.Because if you have installed software like wamp server it takes port 80 as default port.So your site will not run.
- Your site will be added to the Sites directory.Now single click on Application Pools and select your sitename from list and right click on your sitename(Here I am clicking on testsite) ,select advanced setting->Process Model->Identity.
- Smarttag will appear , click on it and select LocalSysytem from dropdown box instead ApplicationPollIdentity.Press Ok two times and come out from application pool.
- Now right click on your site(mine is Sites->testsite) located in your Sites directory.Goto to Manage Web Site->Browse and you are done.
How To Host A Asp.Net Website In IIS 7
Many of you are using visual studio to develop webapplication in asp.net.To run your web application from visual studio is a one click process.You just click on the link and and your webpplication runs in the browser.But think about the situation when you want to run the website to the another computer which do not have visual studio.When you want to run your webapllication to another computer you need Internet Information Service(IIS) which is already installed in window OS.
Subscribe to:
Post Comments (Atom)
That was a great message in my carrier, and It's wonderful commands like mind relaxes with understand words of knowledge by information's.
ReplyDeletepython training in chennai | python training in bangalore
python online training | python training in pune
Thanks you for sharing this unique useful information content with us. Really awesome work. keep on blogging
ReplyDeleteData Science with Python training in chenni
Data Science training in chennai
Data science training in velachery
Data science training in tambaram
Data Science training in OMR
Data Science training in anna nagar
Data Science training in chennai
Data science training in Bangalore
Hello I am so delighted I found your blog, I really found you by mistake, while I was looking on Yahoo for something else, anyways I am here now and would just like to say thanks for a tremendous post. Please do keep up the great work.
ReplyDeletepython online training
python training in OMR
python training course in chennai
The site was so nice, I found out about a lot of great things. I like the way you make your blog posts. Keep up the good work and may you gain success in the long run.
ReplyDeleteangularjs Training
in chennai
angularjs Training in chennai
angularjs-Training in tambaram
angularjs-Training in sholinganallur
angularjs-Training in velachery
Hmm, it seems like your site ate my first comment (it was extremely long) so I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog. I as well as an aspiring blog writer, but I’m still new to the whole thing. Do you have any recommendations for newbie blog writers? I’d appreciate it.
AWS Interview Questions And Answers
AWS Training in Bangalore | Amazon Web Services Training in Bangalore
AWS Training in Pune | Best Amazon Web Services Training in Pune
Amazon Web Services Training in Pune | Best AWS Training in Pune
AWS Online Training | Online AWS Certification Course - Gangboard
This is a terrific article, and that I would really like additional info if you have got any. I’m fascinated with this subject and your post has been one among the simplest I actually have read...
ReplyDeleteJava Training in Chennai
Python Training in Chennai
IOT Training in Chennai
Selenium Training in Chennai
Data Science Training in Chennai
FSD Training in Chennai
MEAN Stack Training in Chennai
You got an extremely helpful website I actually have been here reading for regarding an hour. I’m an initiate and your success is incredibly a lot of a concept on behalf of me.
ReplyDeletedevops online training
aws online training
data science with python online training
data science online training
rpa online training
The site was so nice, I found out about a lot of great things. I like the way you make your blog posts. Keep up the good work and may you gain success in the long run.
ReplyDeleteMicrosoft Azure online training
Selenium online training
Java online training
Python online training
uipath online training
Your info is really amazing with impressive content..Excellent blog with informative concept. Really I feel happy to see this useful blog, Thanks for sharing such a nice blog..
ReplyDeleteIf you are looking for any python Related information please visit our website python training institutes in Bangalore page!
Thanks for your Blogs Appreciating the persistence you put into your blog and detailed information you provide.
ReplyDeleteAws training chennai | AWS course in chennai
Rpa training in chennai | RPA training course chennai
oracle training chennai | oracle training in chennai
Hadoop Training in chennai | Hadoop training course in chennai
good\
ReplyDeleteinplant training in chennai
inplant training in chennai
online python internship
online web design
online machine learning internship
online internet of things internship
online cloud computing internship
online Robotics
online penetration testing
http://techknowguide.blogspot.com/2012/01/how-to-host-aspnet-website-in-iis-7.html
ReplyDeleteSuch a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
ReplyDeleteangular js training in chennai
angular js training in velachery
full stack training in chennai
full stack training in velachery
php training in chennai
php training in velachery
photoshop training in chennai
photoshop training in velachery
Great post. keep sharing such a worthy information.
ReplyDeleteGoogle Analytics Training In Chennai
Google Analytics Online Course