.NET Blog

Free. Cross-platform. Open source. A developer platform for building all your apps.

Free Sandbox Hosting for Visual Studio 2010 RC and ASP.NET 4.0 RC from ORCS Web

ORCS Web has updated their Hosting Sandbox for Visual Studio 2010 RC and ASP.NET 4.0 RC.http://vs2010host.comTo learn more about the new Web Deployment features in Visual Studio 2010 check out this Step by Step Walkthrough on Web 1-Click Publish with VS 2010To provide feedback on the RC please visit the Visual Studio Connect site.  You ...

How to package and deploy COM component

I’ll use a walkthrough example to show how to package a web application with speech API COM component using Visual Studio 2010.  I wrote and tested the sample in Win7 x86 with IIS7.5, and packaged and manually installed to win2k3 x86 IIS6 (which only had 3.5 framework installed). 1. Create a C# 3.5 web application 2. Add COM reference...

How to package .NET assemblies

If we want to package and deploy GACed dll, we need to use gacAssembly web deploy provider and extend our project similarly to the one stated in the how to package registry blog.  The extended projectName.wpp.targets file looks like following:   Then you can use the following command line to package the project with ...

Free Sandbox Hosting for Visual Studio 2010 RC and ASP.NET 4.0 RC from Discount ASP.NET

Discount ASP.Net has updated their Hosting Sandbox for Visual Studio 2010 RC and ASP.NET 4.0 RC.http://www.discountasp.net/press/2010_02_16_free-asp.net-4.0-RC-hosting.aspxTo learn more about the new Web Deployment features in Visual Studio 2010 check out this Step by Step Walkthrough on Web 1-Click Publish with VS 2010To provide feedback on ...

How to extend target file to include registry settings for web project package

Web project package and deployment targets files are written with extensibility in mind.  User can easily extend a property to include more functionalities in their package by using msbuild targets and properties.  If we check the Microsoft.Web.Publishing.targets file under “%Program Files%MSBuildMicrosoftVisualStudiov10.0Web...

Dev10 Beta1, Deploy Web application with SQL Express mdf file to host’s SQL server

For many web applications developed using Visual Studio, developers uses SQL express with mdf database file under app_data folder.  If deploying data host requires SQL server, developers have to find ways to deploy the schema and data from mdf file to the host SQL server. Dev10 Beta1 provides an easy solution to publish the mdf file to ...

VS2010 Beta1 "Delete existing objects before creating" flag for DB Deployment

  Here is an example of end to end scenario of the last blog VS2010 Beta1 Web Application Project Database package and SMO options. Here, we’re going to package a web application and its database with “Delete existing objects before creating” flag, so that we can test the deploy multiple times without the need to drop the database ...

VS2010 Beta1 Web Application Project Database package and SMO options

In Visual Studio 2010 Beta1 release, SQL server database schema and data can be packaged for deployment along with the website.  It utilizes Msdeploy SQL Database provider functionality in IIS team’s msdeploy release.  In Visual studio 2010 Beta1, user can set the database package options in web application project’s Deploy-SQL...

Basic Microsoft Web Deployment Tool Setup For Visual Studio 2010

In this blog post I will explain how to get and install the Microsoft Web Deployment Tool, so you can share created packages with others and how to setup a Windows 2008 Server to allow packages to be deployed from Visual Studio 2010 Beta 1. Visual Studio 2010 Beta 1 ships with and installs Microsoft’s Web Deployment Tool as part of the ...

Deploying Silverlight Projects using VS10

With VS10 beta1 environment, you can also install Silverlight 3 beta to combine the power of both. When a Silverlight 3 beta project is compiled, it generates xap file.  The web application or website should take the xap as content for Build Action.  The following shows what the default Siliverlight project has: Having this ...