I have an ASP.NET application that is deployed in Windows Azure. The application has a lot of images and static content, due to which the package file is big in size. If just add a new aspx page, is there a way that i can just deploy the new aspx page or i do need to package & deploy the whole content again?
R – Windows azure deployment question, deploying just the new / updated content
Windows Azure provides an emulator environment that runs on your development machine. You may either run a Windows Azure app in that emulator, or publish to Windows Azure. There's no option to deploy a Windows Azure application to Windows Server.
While some of the services offered are similar (such as cache), Windows Server AppFabric is not equivalent to the services provided by Windows Azure, and there's no equivalent fabric controller that runs on Windows Server.
EDIT: Adding clarification per @Asmaa's comments.
Building a private cloud is not the same as creating a local version of Windows Azure. The Private Cloud you reference is essentially a set of Windows Servers running virtual machines managed by Hyper-V, and some type of local storage. You'd be fully responsible for replication, disaster recovery, durable storage (where storage survives even with a disk crash), scaling, etc.
Windows Azure provides the abovementioned features, but only within its data centers. As @Avkash mentioned, there is a Windows Azure Appliance, but it there are only a handful in existence and they're huge (as in made for a data center).
If the objective is to run your code either locally or in Windows Azure, this can be done, but not by pushing the Windows Azure package to your Windows Servers. You'd need to build separate solutions to run your code in the two environments. You can reuse your core code if it's packaged correctly, but the notion of the Role Environment, Diagnostics, and other Windows Azure features would need to be replaced with something else.
One last thing: if you want to build a hybrid app, where some of it is deployed locally and some to Windows Azure, then there are certainly ways to bridge the two. See this article for more info.
Azure – How to clean up wwwroot folder on the target Azure Websites Windows Server before each deployment in VSTS
When using the Azure App Service Deploy task, and you are using the Publish using Web Deploy option, there is an additional option to Remove Additional Files at Destination.
If you check this option, the deployment process will remove any files at the destination where there is no corresponding file in the package that is being deployed.
In other words, it'll remove any left over files from a previous deployment that are no longer required.
If you are only considering what is provided by default by Windows Azure, then the answer is no: to add a single ASPX page you have to redeploy the entire Azure package.
Then, if you are willing to consider more complex schemes, then, yes, it is possible. Basically, you need some bootstrap logic within your WebRole that retrieves files from the cloud storage and pastes them into a local file directory within the Web Role.
By doing so, the usual IIS7 behavior happens, and newly added ASPX files become visible in your webapp.
Somehow, we did end-up implementing a similar pattern for Worker Roles (not Web Roles) within Lokad.Cloud. You could probably get inspiration from this project to setup the scheme that I am suggesting here.