Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 341009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:40:09+00:00 2026-05-12T10:40:09+00:00

I am researching a new ASP.Net project that we would like to host in

  • 0

I am researching a new ASP.Net project that we would like to host in a Windows Azure Web Role.
One of the technical requirements of this project is to make use of the full pre-compilation options (non-updatable, single page assembly) of the ASP.Net Web Site project model – as opposed to the ASP.Net Web Application project model.

Is it possible to host ASP.Net Web Site projects in Azure? Best I can tell the project templates for Azure are ASP.Net Web Applications only at the moment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:40:10+00:00Added an answer on May 12, 2026 at 10:40 am

    Okay, I was struggling with the same problem for couple of days, here is the step-by-step guide

    (1) Publish your website project to a folder (for my case is “PrecompiledWeb\WebSite1”, which resides in the sub folder of my azure project)

    (2) Modify your service definition(.csdef), adding a webrole

    <WebRole name="WebSite1" enableNativeCodeExecution="true">
    <InputEndpoints>
      <InputEndpoint name="HttpIn" protocol="http" port="80" />
    </InputEndpoints>
    <ConfigurationSettings />
    </WebRole>
    

    (3) Run the following command(CSPack) at command prompt

    cspack
    CloudService1\ServiceDefinition.csdef
    /role:WebRole4;WebRole4
    /role:WorkerRole1;WorkerRole1\bin\Debug;WorkerRole1.dll
    /role:WebSite1;PrecompiledWeb\WebSite1
    /out:CloudService1.cspkg
    /generateConfigurationFile:”ServiceConfig.cscfg”

    (4) Basically you are almost done!

    Good luck! 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm researching the new ASP.NET MVC4 Web API framework. I'm running Visual Studio 2011
I'm on a project that is being upgraded from vbscript to ASP.NET MVC. It
I've implemented an ASP.NET web application that supports 5 different languages. The web application
I have an ASP.NET MVC web application that makes REST style web service calls
I currently have an asp.net website hosted on two web servers that sit behind
I am working on a small C# / ASP.NET project that will display 4
Hi I have created a new azure project with a worker role and have
I'm researching using Mercurial for our companies source control system. One immediate requirement that
I have been researching whether or not to use WCF for a new project
Okay, as usual, I'm brand new to this... been researching and trial/erroring (yes that's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.