Database Reference
In-Depth Information
Figure 10.8
New cloud project.
with the permission that allows the customers to adopt the application for their own needs. hese
customers can integrate their own authentication system with the one provided by Windows Azure.
he customers can also use these websites to transfer data between Windows Azure and the on-
premises server. In addition, some of the websites are accessible by the public with a limited permis-
sion. An example of a Web role deinition in the ServiceDeinition.csdef ile is given below:
< ?xml version = "1.0" encoding = "utf-8"? >
<  ServiceDefinition name = "MyWebFromService" xmlns = "http://schemas.
microsoft.com/ServiceHosting/2008/10/ServiceDefinition" >
  <  WebRole name = "MyWebForm" vmsize = "Small" >
< Sites >
< Site name = "Web" >
< Bindings >
< Binding name = "Endpoint1" endpointName = "Endpoint1"/ >
< /Bindings >
< /Site >
< /Sites >
< Endpoints >
< InputEndpoint name = "Endpoint1" protocol = "http" port = "80"/ >
< /Endpoints >
< Imports >
< Import moduleName = "Diagnostics"/ >
< /Imports >
< /WebRole >
< /ServiceDefinition >
In the ile, a Web role MyWebForm is deined. vmsize is the size assigned by Windows Azure
for the VM role instances. he deinition of the Web role deines a website, an endpoint that is
Search WWH ::




Custom Search