Hmm, it seems so long time I didn't write any blog post for finishing my final project.. :D Okay, I'll continue write a blog post again starting with some topic about windows azure.. In this post, I'll show you how to develop asp.net web application using windows azure.. What tools are required to develop it and how to create asp.net project with WebRole on windows azure project..
Tools that must be prepared :
- Microsoft Visual Studio 2010 as IDE
- Microsoft SQL Server 2008, but you can use SQL Server 2005 too.
- IIS 7.0 with ASP.NET and WCF HTTP activation enabled, you can download it form http://www.microsoft.com/download/en/details.aspx?id=2299
- Windows Azure SDK and emulator, you can download it from web platform installer by access http://www.microsoft.com/web/gallery/install.aspx?appid=WindowsAzureToolsVS2010 or if you want to download it manually, you can go to this link : http://www.microsoft.com/download/en/details.aspx?id=15658.
I assume you have install visual studio 2010 and sql server 2008 on your computer. Install windows azure toolkit for visual studio - include windows azure SDK (VSCloudService.exe).
And now you can create a new azure project from your visual studio. Open your visual studio and then create a new project. On Installed Templates Tab, expand Visual C# option and select Cloud item menu. And then select Windows Azure Project.
After that, you can choose available windows azure role for your project. In this tutorial, I use ASP.net Web Role.
If you see, there are two project has created if we create windows azure project using ASP.new Web Role. One project is our ASP.net web application as role object and another one is Windows Azure Project that handle existing roles object.
And now you can develop your web application in the asp.net web project which is refered into windows azure project as web role. If you run your project, it will automatically start compute emulator and storage emulator on your computer.
And this is the view of our project application created above.
Thanks for reading.. :)