How to host an ASP.NET website in IIS

preview_player
Показать описание
In this series of tutorial we will cover basic dot net hacks which are essential for new developer. These basic hacks make your life easier and boost up your efficiency in programming / development.

Hosting an ASP.NET website into IIS is one of the most critical and important part for a ASP.NET developer. Your Visual Studio Development server never give the production server's flavour. So you need to get a similar environment where your website behave exactly same as production environment. The solution is to host your code in local IIS (Internet Information Service). This tutorial give you an a step by step demo how to host your website in local IIS. It will cover straight from publishing your file for deployment to deploy in IIS. Follow the steps and you will be an expert in site hosting. Here in this tutorial we mentioned local IIS but to deploy your website in production process would be the same.

The tutorial describe how to hosting an ASP.NET website in IIS 7. For IIS 8 or higher versions the process would be the same. In addition to this it same process can be followed for HTML static site, PHP website and etc.

Learn basic C#
--------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------
In Codes Wizard we will be brining many more tutorials covering various computer languages and frameworks such as C, C Sharp, JavaScript, ASP.NET, SQL Server, HTML, CSS, AngularJS, Bootstrap etc. to enhance the programming skills of budding software professionals.
-----------------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

Check this video to setup/configure IIS on your computer

CodesWizards
Автор

You are amazing! I spent all day and your video should be Microsoft's wake up call for better documentation. Keep them coming :)

leoanez
Автор

there is no option of custom in my visual studio and i am using visual studio 2019. can anyone help me to resolve my problem

BeAestheticEngineer
Автор

on browsing the hosted site following message is showing-

HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.

TheMazhar
Автор

Thanks for the tutorial. Everything worked. But an error was shown like "The requested page cannot be accessed because the related configuration data for the page is invalid." Can you say why this happened?

mdashrafulislam
Автор

GREAT QUICK INTRO TO INSTALLING A SIMPLE ASP.NET APP ON YOUR LOCAL IIS WEBSERVER. In my case right on my Win 10 PC. :-) Mike in LA, Calif, USA

unicomp
Автор

How can i use it with another pc for the app and the other for the DB

germanovalle
Автор

Its such an easy to follow tutorial and it works, thanks!

adnanfaisalisok
Автор

this site can`t be reached ... i can`t access my website what should i do ?

shahzaibabdulkhaliq