Posts by this author

Mar 11, 2010
Post comments count0
Post likes count0

Issue with dependent assemblies when rebuilding a WAP and the Workarounds

In Visual Studio 2010, the dependent assembly of a custom control assembly will be deleted from the project’s Bin folder on project clean or rebuild if the project does not contain a reference to that dependent assembly. The result will be a WAP that successfully builds but fails at runtime. When adding a control from such a custom control assemb...

ASP.NET
Mar 5, 2010
Post comments count0
Post likes count0

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 can als...

ASP.NET
Mar 5, 2010
Post comments count0
Post likes count0

Hotfix for “Issue with Auto-Generated Designer Files not Adding Controls”

A hotfix is now available for issues most commonly described as "Controls are not being recognized in the code-behind" and "Editing existing .aspx regenerates .aspx.designer.(cs), but most of the controls are now missing”. These issues were seen in Visual Studio 2010 RC release.This hotfix can be downloaded from: http://connect.microsoft.com/...

ASP.NET
Mar 3, 2010
Post comments count0
Post likes count0

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 to “Mi...

ASP.NET
Feb 19, 2010
Post comments count0
Post likes count0

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 corresponding Mv...

ASP.NET
Feb 18, 2010
Post comments count0
Post likes count0

Workaround: Missing Declarations for Controls in Designer File

We have seen some customers report the issue that certain controls are not getting generated correctly in the designer file in Visual Studio 2010 RC for the ASP.Net Web Application Projects. We are currently working on a fix for this issue for the final RTM release. Workaround: You can work-around this issue by declaring the missing controls in th...

ASP.NET
Feb 15, 2010
Post comments count0
Post likes count0

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 the RC...

ASP.NET
Feb 10, 2010
Post comments count0
Post likes count0

Visual Studio 2010 clean application level web.config

This post introduces you to a small improvement that has been made in Visual Studio 2010 & .NET 4 to reduce the size of the ASP.NET application level web.config 3.0 and 3.5 web.config As ASP.NET technology evolved, the application level Web.config had new things added to it. Since the earlier frameworks were using the same set of machine leve...

ASP.NET
Feb 10, 2010
Post comments count0
Post likes count0

Visual Studio 2010 RC public download available now!

It’s finally here.  Visual Studio 2010 and .Net 4.0 release candidate is available for everyone to download now.To download the public RC of Visual Studio 2010 go the RC landing page:  Since the beta we’ve been focused on performance improvements, reducing memory requirements, increasing stability and fixing customer reported ...

ASP.NET
Feb 9, 2010
Post comments count0
Post likes count0

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”, we can s...

ASP.NET