Hi today i'll explain how to deploy existing service to Azure
cloud web role to make your services for your client app/web faster.
first just add an cloud project to your exiting service project
Now select that azure cloud service just after that it will ask for the
project type that you want you create like bellow :
for new project you can create the dependency under your
requirement for our service you don't need to create new project just click
cancel and create the azure cloud service with out any roles given to that.
under that then go to your project and select the roles --> Add -->
Web-role Project in solution. then select ok, then it will show you the
current project file references then select the project reference as role.
then after give your cloud
SQL database connection in your 'config file' for the service to serve
data from the clod database. you can find the Connection
string in your database account under Dashboard. Then publish
your azure project. it will shown up the windows like bellow :
for first time it will ask for log in to download the
credential file at start-up then click "Sign
in to Download credentials" then
after that your log in it will download an file then go for import and load
your subscription file.
Then select next option there you can find the clould service go for create new it will shown up like this.
then create with name instance that you want to create cloud
service and location that the cloud server that you want to deploy it.
then select Remote
enable for roles it will help to check the server errors via remotely.
then do publish your cloud service by clicking publish then after some time it
will be published. you can prompt your info
regarding publishing under Windows
Azure Activity Log like
bellow
after success full deployment the service will serve you with
faster.



Thank you.Well it was nice post and very helpful information on
ReplyDeleteAzure Online Training