My first windows azure application




















Email required Address never made public. Name required. Follow Following. Michael S. Collier's Blog Join 2, other followers. Sign me up. Already have a WordPress. Log in now. Loading Comments Email Required Name Required Website. Post was not sent - check your email addresses! NET development on Windows Azure here. I am assuming here that you are already having VS on your machine.

Click on the Install in the dialog window. Open Visual Studio as administrator and create a new project. From Cloud tab select Windows Azure Project. Next you need to click on your preferred language. You can use any of the three languages to develop application to be deployed on Windows Azure.

I am choosing language Visual C. After clicking on the language you will get options to select as either Web Role or Worker Role. Get stories of change makers and innovators from the startup ecosystem in your inbox. Please fill in this field. You have been successfully registered for our daily newsletter. Before we proceed further, let us stop by and try to understand what are the Web Role are Worker Role? It takes input from user via a user interface.

Worker Role runs in the background. It is used to perform some background task. It does not take input from user. It takes input from Azure Storage or web Role.

Let us get back to creating first web application to be deployed on Windows Azure. Go ahead and select ASP. NET Web Role and click on arrow button.

If you want you can change name of the Web Role. Since this is your first application so for the simplicity leave default name. After selecting Web Role click on Ok. On exploring solution explorer you will find that there are two projects. Net Web Role. Let us explore Windows Azure Project. At first glance, this looks like a regular C file. Double-clicking on the App. When that is done, the standard ASP. The new assemblies for the AppFabric Container are:. From there I can tell that my web app contains one endpoint and it does not reference any other services.

There is no F5 debugging option in this CTP release. Visual Studio will kick of the build and deployment process. I can view the deployment output in the Output window. Visual Studio will also start the standard Windows Azure compute and storage emulators. From the Output window I can see the Application Id for your deployment. Also of interest is the path to the various log files that are created as part of running in the Windows Azure AppFabric container. It is my assumption that these log files would be similar to the logging available when running the application in a production Azure AppFabric container upcoming post to walk-through that process.

Visual Studio will also launch a new console window that includes in the title the Application Id for your application. I did notice the first time I started the application that the web browser if creating a web application will launch and Visual Studio will report the app is deployed and ready a little prematurely.

In that case, wait until the AppFabric Application emulator reports the app is ready and then refresh the browser. I only noticed this on the initial deployment for the application — subsequent deployments seem to work as expected. In further post we will get into more complex applications.

Proceed through rest of the post to create your first application for Windows Azure. In bottom of page, you will get Develop option. Click on Show Me More. Now you need to choose the language you want to work with. You can develop application in any of the language given in option and deploy it on the Microsoft managed datacenters.

Below are the available languages. You will be navigated to Home Page of. NET Developer Center. You will get all the resources related to. NET development on Windows Azure here. I am assuming here that you are already having VS on your machine. Click on the Install in the dialog window. Next dialog windows will prompt you to agreement. Select I Accept option to proceed. After successful installation you will get confirmation dialog windows as below. Open Visual Studio as administrator and create a new project.

From Cloud tab select Windows Azure Project. Next you need to click on your preferred language. You can use any of the three languages to develop application to be deployed on Windows Azure. I am choosing language Visual C. After clicking on the language you will get options to select as either Web Role or Worker Role. Before we proceed further, let us stop by and try to understand what are the Web Role are Worker Role? It takes input from user via a user interface.

Worker Role runs in the background. It is used to perform some background task. It does not take input from user. It takes input from Azure Storage or web Role. Let us get back to creating first web application to be deployed on Windows Azure. Go ahead and select ASP. NET Web Role and click on arrow button. If you want you can change name of the Web Role. Since this is your first application so for the simplicity leave default name. After selecting Web Role click on Ok. On exploring solution explorer you will find that there are two projects.

Net Web Role. Let us explore Windows Azure Project. Project got two Service Configuration files. Extension of Service Configuration file is cscfg. One Service configuration file is for local deployment and one contains configuration details to deploy to Microsoft Data Center.



0コメント

  • 1000 / 1000