With Aware Server, deploying ASP.NET web sites is as easy as 123.  Essentially you publish your web application into the Aware Environment, then use Aware to publish your ASP.NET web application out to the Farm (1 machine or 1000 machines).  In the first diagram you see the flow, from VS.NET, to Aware Server, to the farm.  I will walk you through exactly how it works, no coding, no scripting, no hassles.

aware aspnet publish

 

Let us start by creating a new Aware Web Application Project (Note: existing ASP.NET applications can easily be converted to become "Aware" ASP.NET applications as well).

image

 

Open the App_Deployment Folder, and then double click the "WebApplicationDeployment_Debug.aware" file.  Just like services and business processes, the ASP.NET applications use the same process to build, package, deploy, and provision process.  Now build your web site, then click the "Publish Now" button.

 

image

 

For our sample here, we will deploy into our current local environment.  Click "Deploy".

image

 

We can verify that it was deployed by looking in the Aware Enterprise Manager Deployment tab.

image

 

Now to publish our Web Application, we can go to the Management Extensions tab in the Aware Enterprise Manager and run the ASP.NET Application Provisioning extension (double click the icon).

image

 

The ASP.NET Application Provisioning extension runs, and displays all of the Web Applications that exit in the environment, and that have been published.  Ours has not been published yet, so go ahead and click on the "Publish Web Application" link on the left to start the wizard.

image

 

Once the wizard starts you will see the Checklist page.  Read and then click next.

image

 

Now you will see a list of all the IIS servers you can publish too (with their versions).  Select from the list and then click next.

image

 

Select the appropriate site, and give an appropriate virtual directory (optional).  Then select your security settings and click next.

image

 

At this point you can set any of the web sites application variables, or configuration strings.  Make your changes then click next.

image

 

You will see the last confirmation screen of where it will be published too, click "publish" to commence.

image

 

Once the publishing has finished, you should see success messages.  Click close to complete the wizard.

image

 

The ASP.NET Application Provisioning extension will update, and you will now see your application published to the servers you selected in your environment.

image

 

Now here is the real beauty of the Aware Server ASP.NET publishing.  Lets say you make a change to your web site.  Just republish from VS.NET (like you did above), and your changes are now ready to be published to all of the IIS machines.

image

 

To republish to all of the IIS machines, now just click the "republish web application" and you will quickly walk through the wizard to confirm you previous selections.

image

 

Now let's one up that.  Let's say you want to version your site.  Just make the changes in the "Version Information" in the VS.NET deployment settings tab, and then build and "publish now".

image

 

When you return to the ASP.NET Application Provisioning tool, you will now see both of your versions out there.  Publish version 1.1 with the wizard, if things do not work out, then just publish version 1.0.  Its that easy.

image

 

To keep on tab on all things that occur, just refer to the "Publish History" tab and you will see when sites were deployed and to where.

image

 

Aware Server ASP.NET Deployment - no code, no scripts, no hassles.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5


Related posts



Add comment


(Will show your Gravatar icon)  

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

July 19. 2008 17:42