In this article we can explore how to create a Web Role in Visual Studio 2017.
Web Role is for hosting your application through IIS.
Web Role is intended for Frontend UI applications.
Visual Studio 2017
Open Visual Studio 2017 and go to New Project > Cloud section.
In the next page of the wizard, Choose Web Role.
Choose MVC as the ASP.NET application type.
Click OK to complete the wizard.
You will get the following code in HTML view.
Modify the Text and Your Web Role is ready!
In the next part we can see how to deploy the web role.
In this article we have explored creating a web role.