Databases Reference
In-Depth Information
ASP . NET Web Role . Lets you create a web site with ASP.NET.
ASP . NET MVC 3 Web Role . Lets you create an MVC 3 web application (only available in
Visual Studio 2012).
ASP . NET MVC 2 Web Role . Lets you create an MVC 2 web application (only available in
Visual Studio 2010).
WCF Web Service Role . Allows you to create a WCF service in Windows Azure.
Worker Role . Equivalent to a background service in Windows Azure that has no user
interface.
CGI Web Role . Lets you create a web application using a technology other than ASP.NET,
such as Python.
Silverlight Business Application . Lets you build a Silverlight application using WCF RIA
Services as the middle tier.
5.
For this example, select the first option (ASP.NET Web Role), and click the right arrow (
).
Doing so adds a new ASP.NET web role in the list of services, initially named WebRole1.
6.
To change the name, select WebRole1 and press the F2 key or click the Edit link. To see the
Edit link, place your mouse somewhere on the WebRole1 service list item; you'll see two icons
come up on the right. The first one (with the pencil) allows you to edit the name, and the
second lets you remove this web role (see Figure 8-10 ).
Figure 8-10. Editing the web role's name
7.
Change the name to wrAzureExample , and press the Enter Key. Don't use AzureExample as
the web role name, or there will be a conflict with the solution name provided earlier. The web
role should now look like Figure 8-11 .
Figure 8-11. Web role name changed
8.
Click OK.
At this point, you've created a new cloud solution. Solution Explorer looks a little different than it does for a typical ASP.
NET project. Your cloud solution contains two projects: the AzureExample project and the wrAzureExample web role,
which is itself a project, as shown in Figure 8-12 . The AzureExample project contains configuration files that will be
deployed later in Windows Azure.
 
Search WWH ::




Custom Search