Convert C# Silverlight App To AZURE CLOUD Platform?!?!
Posted
by Goober
on Stack Overflow
See other posts from Stack Overflow
or by Goober
Published on 2009-10-07T16:28:22Z
Indexed on
2010/04/09
5:43 UTC
Read the original article
Hit count: 374
The Scenario
I've been following Brad Abrams Silverlight tutorial on his blog....
I have tried following Brads "How to deploy your app to the Cloud" tutorial however i'm struggling with it, even though it is in the same context as the first tutorial....
The Question
Is the application structure essentially the same as the original "non-cloud based version"!? If not, which parts are different? (I get that there is a Cloud Service project added to the solution) - but what else?!
Connection String Issue
In my "Non-Cloud based application", I make use of the ADO.Net Entity Framework to communicate with my database. The connection string in my web.config file looks like:
<add name="InmZenEntities" connectionString="metadata=res://*/InmZenModel.csdl|res://*/InmZenModel.ssdl|res://*/InmZenModel.msl;provider=System.Data.SqlClient;provider connection string="Data Source=CHASEDIGITALWS3;Initial Catalog=InmarsatZenith;Integrated Security=True;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" /></connectionStrings>
However
However the connection string that I get from SQL AZURE looks like:
Server=tcp:k12ioy1rsi.ctp.database.windows.net;Database=master;User ID=simongilbert;Password=myPassword;Trusted_Connection=False;
So how do I go about merging the two when I move the "non-cloud based application" to THE CLOUD?!
Any help regarding converting a silverlight application to a cloud service and deploying it would be greatly appreciated
© Stack Overflow or respective owner