Building an Azure v1.4 Package file

I tried to push my ASP.NET website to Azure and faced too many issues as Windows Azure doesn’t support Website.

I was not able to build a V1.4 cspkg file

for this you need to build the package using command prompt,Create a ServiceDefinition.csdef using the code below

Then run the following command:

The path of your WebSite is the root path of your web site.

If it throws an error related to setting name, replace Setting name in def file with the one in cscfg file.

Now you’ll get C:\test.cspkg. This is the package that can be uploaded to cloud. You’ll also need a ServiceConfiguration.cscfg to upload.

Polyglot & Pragmatic Programmer • Developer Advocate, IBM Cloud • Intel software Innovator • DZone MVB
(Visited 2 times, 1 visits today)

You may also like...

Show Buttons
Hide Buttons