Advertisement

Tip Jar:

One-Time Donation

Recurring Monthly $2 Donation Appreciated

The tip jar is to help contribute to keeping this site going. If you like what you see... feel free to help out!

Steps for Developing First Cloud Service with Azure

Go directly to Source

A Step-by-Step Approach for Developing your first Azure hosted service

Once you install the Azure SDK or Developer Tools for Azure, when you launch Visual Studio 2008, you should be able to a new project type called “Cloud Service” and within it the templates for Cloud Projects.

For the current scenario, we will use “Web Cloud Service” template as shown here

In the Solution Explorer, one can find 2 types of projects one is the FirstCloudApp_Webrole which is the standard ASP.Net Project and the other one is Cloud Service Project.

Now, create a standard ASP.Net label control in Default.aspx (design view) Go to the code view, and in the Page_Load event and put some code to display the label text

protected void Page_Load(object sender, EventArgs e)

{

this.Label1.Text = “Hello Azure, I’m on Cloud 9 – Dilip”;

}

Go to CloudService Project, Open the ServiceConfiguration.cscfg file (This file defines the roles and also defines the number of instances per role.) Let’s make it to 2.

<Role name=WebRole>

<Instances count=2/>

<ConfigurationSettings>

</ConfigurationSettings>

</Role>

Now, Let’s start the application in Debug Mode. (F5)

I encountered this error before it could go any further.

Solution –

Azure seems to be configured to SQL Express in CTP. This needs to be changed to SQL server 2005 connection string.
I did a change in DevelopmentStorage.exe.config located at C:\Program Files\Windows Azure SDK\v1.0\bin

connectionString=”Data Source=localhost;Initial Catalog=DevelopmentStorageDb;Integrated Security=True”
providerName=”System.Data.SqlClient” />

Since, I already have the full version of SQL Server 2005 on my system, I modified the above connection string to point it to the local instance of SQL Server.

Now, again Press F5 and this time the development storage got initialized successfully as shown here -

You will notice the Development Fabric icon on the status bar, shown below, Click on that and Development Fabric window opens

Development Fabric

· Once the devfabric starts, it expand the HelloAzure application in the devfabric and expand the WebRole

· This will cause the ASP.NET project to be compiled into a .NET assembly, just as normal. · However, since we have a Cloud Service project in our solution, this will then start the Windows Azure Development Fabric.

· The Development Fabric, or simple devfabric, is a simulated environment for developing and testing Windows Azure applications on your machine.

Make sure to visit the author of this post!

A "Greener" Approach for Microsoft Dynamics AX Users Need Not Be Complicated

Go directly to Source
Leveraging the Environmental Sustainability Dashboard
Make sure to visit the author of this post!

What you need to Get Started on Windows Azure?

Go directly to Source
Pre-Requisites – Passion to be on the cloud :-)
Ok, Let’s get into the business.
Here is how your machine should be setup before you start developing for Windows Azure -

Also, dont miss some Getting Started Videos here – http://www.microsoft.com/azure/windowsazurefordevelopers/default.aspx

Make sure to visit the author of this post!

Developed and Hosted First Cloud Applicaton using Windows Azure

Go directly to Source
Hi there, I hosted my First Cloud Service on Windows Azure and here it is.
http://dilipsfirstapp.cloudapp.net/
This is a basic hosted service which just displays a static text. Back to my C days – “Hello World”, now its “Hello Azure” :-)

Development, Configuration and Deployment took me around 50 mins. In a series of blog, I will try to cover the necessary steps to Develop and Deploy a basic hosted service on Cloud.

Make sure to visit the author of this post!

Dynamics AX 2009 Enterprise Portal Development Recording on Channel 9

Go directly to Source
http://blogs.msdn.com/epblog/archive/2009/05/20/dynamics-ax-enterprise-portal-development-webinar-recording.aspx

Make sure to visit the author of this post!

Step-by-Step Approcah on Creating SSRS Report

Go directly to Source
Here are some great blog posts by Saveen, on creating SSRS Reports and consuming cubes. Thanks for putting it up.

http://blogs.msdn.com/saveenr/archive/2008/10/24/dynamics-ax-2009-creating-a-simple-ssrs-report.aspx

http://blogs.msdn.com/saveenr/archive/2008/11/05/dynamics-ax-2009-creating-an-ssrs-2008-report-that-gets-data-from-an-ax-cube.aspx

http://blogs.msdn.com/saveenr/archive/2008/11/02/dynamics-ax-2009-ad-hoc-analysis-using-excel-2007-to-get-data-from-an-ax-olap-cube.aspx

Make sure to visit the author of this post!

Inside Dynamics AX 2009 Book RTM’d

Go directly to Source
RTM’d today: Inside Microsoft Dynamics AX 2009
http://blogs.msdn.com/microsoft_press/archive/2009/05/20/rtm-d-today-inside-microsoft-dynamics-ax-2009.aspx

Make sure to visit the author of this post!

Microsoft Dynamics AX U.S. Partner News: May 2009

Go directly to Source
Here are the latest U.S. initiatives from Microsoft Dynamics AX.
Make sure to visit the author of this post!

EOC MBS Global Operations Newsletter for May 2009

Go directly to Source
Please find below the EOC MBS Global Operations Newsletter for December, this document will give you details of program information, launch details, and further operational resources within Microsoft Dynamics.
Make sure to visit the author of this post!

TinyURL.com

Go directly to Source
Here, is a great website which I came across which shortens the URL e.g.
e.g. this is PartnerSource login – https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1242704379&rver=5.5.4177.0&wp=MBI_SSL&wreply=https:%2F%2Fmbs.microsoft.com%2FCms%2FTemplates%2Fsite%2FUtilityPlus.aspx%3FNRMODE%3DPublished%26NRNODEGUID%3D%7B883335E9-E068-458F-8D10-04D39EE598EA%7D%26NRORIGINALURL%3D%2FPartnerSource%2F%26NRCACHEHINT%3DGuest&lc=1033&id=44542

After converting it using tinyurl,
http://tinyurl.com/qxbura

Try it now!

Make sure to visit the author of this post!

« Previous PageNext Page »

MCP Logos