.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Articles >> Azure >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Manage Service Configurations of Azure Application in Visual Studio 2010

Posted By:Karthikeyan Anbarasan       Posted Date: August 15, 2011    Points: 200    Category: Azure    URL: http://www.dotnetspark.com  

In this article we are going to see how to use the new feature of Managing Multiple Service Configuration files using the Visual Studio 2010 tools provided for Windows Azure Application
 

Introduction:

In this article we are going to see how to use the new feature of Managing Multiple Service Configuration files using the Visual Studio 2010 tools provided for Windows Azure Application.

Overview:

Managing service configuration files, is one of the new feature provided with the August 2011 release with the option of handling more than one Service configuration files to make developers work much more easier. Check my previous article's for the complete listing of the new features and how to use Multiple Service configurations using the below links

Multiple Service Configurations For Azure in VS2010 in Windows Azure

New Windows Azure Tools V1.4 for Visual Studio 2010 and its feature

Now let us see the step by step process on how to use this configuration tool to manage(Edit, Rename, Delete) the service configuration files.

Steps:

Open our Visual Studio 2010 Project which we created in our earlier example, and we can see the 2 service configuration files as shown in the screen below.

image

Now right click on the project and select Manage Configurations options from the list as highlighted in the screen below.

image

We can now see a windows with the 2 service configuration files created (Cloud and Local) as shown in the screen below. Also we can see the options to manage our service configurations (Create Copy, Rename, Remove)

image

 

Renaming a Configuration file:

To rename a configuration file, just select the configuration file which we need to rename and click on the rename button and we can see an input box popped up to enter the new name to the service configuration file. We can rename the service configuration file as per our requirement and click on OK button once we are done.

image

 

Creating a Copy of Configuration file:

If we want to do some research and we need to create a copy of our Cloud Configuration file as backup, then we can use this option to create a copy of the configuration file. Select the configuration file which we need to create a copy and click on Create Copy Button as shown in the screen below.

image

image

We can now see a new configuration is created with name Cloud1 as a copy of the cloud project and also at the solution explorer at the right side we can see 3 configuration files available as shown in the screen below.

image

 

Delete a Configuration File:

If we want to delete a configuration file we have a straight forward option like we can select the configuration file and click on Remove button. In our example we will select the Cloud1 configuration file and click on Remove. We can now see a confirmation dialog as shown in the screen below. Click on Delete to proceed further

image

We can now see that Cloud1 configuration file has been permanently removed from the list as well from the solution explorer as shown in the screen below.

image

Conclusion:

So in this article we have seen how to manage the multiple Service Configuration files using the visual studio 2010 IDE for Azure Application.


 Subscribe to Articles

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend