Web Development Tools Microsoft

Post by this author

Walkthrough: deploy a web application with SQL CE 4.0 database to IIS host with SQL Server.

With VS2010 sp1, we added SQL CE 4.0 support. You can view more information about SQL CE 4.0 from the following sites: Here is a walk through of how to deploy a SQL CE database to SQL Server database using web application publish. 1. Create a web application 2. Add a SQL CE 4.0 database via “Add New item”: (image) 3. In...

Razor tooling for MVC3 RC with Visual Studio 2010 Sp1 RTM

Do you see that Razor colorization, intellisense has stopped working after you have installed Visual Studio Sp1 RTM? The reason is that you might have MVC3 RC installed on the box which is not compatible with Visual Studio 2010 Sp1 RTM. To fix, you would need to install MVC3 RTM. Following are the details of the issue.What’s the issue?...

Enabling IIS Express support in VS 2010 Sp1

  With the Sp1 release of Visual Studio 2010 now available for download, you now have the option to use IIS Express as the development server for your web projects instead of the built-in Visual Studio Development server (aka. Cassini). Here are some previous blog posts explaining the IIS Express integration features in VS 2010 Sp1 Beta...

How to compress CSS/JavaScript before publish/package

Today I saw a post on stackoverflow.com asking Using Microsoft AJAX Minifier with Visual Studio 2010 1-click publish. This is a response to that question. The Web Publishing Pipeline is pretty extensive so it is easy for us to hook in to it in order to perform operation such as these. One of those extension points, as we’ve blogged about...

HTML5 & CSS3 in Visual Studio 2010 SP1

Since the release of Visual Studio 2010 SP1 beta last month, there has been a lot of questions regarding the support for HTML5 and CSS3. HTML5 Visual Studio 2010 was originally released without HTML5 support, so does SP1 finally add support for it? Yes, to some extent. The entire HTML5 specification isn’t supported but most of the new ...

How to get Razor intellisense for @model in a class library project

Many of us follow a modular architecture and create MVC3 Razor view in a separate class library project. Following  is a screenshot of the class library project that I have created. (image) Now if I open a view with @model typed in it, I notice  that it shows squiggle for @model and no intellisense is shown. (error: There is build ...

How to get Razor syntax support in Visual Studio 2010

What’s Razor?Razor is a simple-syntax view engine that is released as part of ASP.NET Model View Controller (MVC) 3. Read more about the syntax on ScottGu’s blog or on ASP.NET How can I get Razor syntax support in Visual Studio 2010?It’s simple. Install the MVC3 RTM bits via Web Platform Installer or download the installer ...

Video on Web Deployment using Visual Studio 2010 and MSDeploy

Back in November I participated in Virtual Tech Days which is an online conference presented by Microsoft. In the session I discussed the enhancements to web deployment using Visual Studio 2010 and MSDeploy. Some of the topics which I covered includ: You can download the video & all of my sample files at ...

How to Bin Deploy SQL Compact Edition 4.0 and Razor web projects

With the release of VS2010 SP1 Beta1, Web Matrix,  and Razor QFE, we can build web projects containing SQL Compact Edition 4.0 sdf file and ASP.NET Web Pages with Razor syntax. However, this might be a problem when you are ready to deploy your project on a server that doesn’t have the assemblies required to run SQL CE 4.0 and Razor ...

How to solve Visual Studio hang problem when working in win7 with Norton antivirus

A recent support email between customer and our developer shows that Norton/Symantec antivirus may affect Visual Studio’s performance in win7 due to the win7 jumplists.  Here’s a workaround for it: First, to determine if this is the problem, you may want to disable the antivirus temporarily and see if these hangs still ...