Create Web Role

In this article we can explore how to create a Web Role in Visual Studio 2017.

Web Role

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.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s