Installing ASP.NET Web Pages Helpers in Visual Web Developer 2010

John Avis by | May 21, 2011 | ASP.NET Web Pages Web Development

The documentation for ASP.NET Web Pages (Razor) is good if you are using WebMatrix, but there are some shortcomings if you are using Visual Web Developer or Visual Studio.

One example is the Helpers that are mentioned in the documentation: for Google Analytics, Twitter, Facebook, etc.

It is not explained how to add this functionality in VWD or VS 2010.

Here's how to do it... In Solution Explorer right-click on your project and click Add Library Package Reference. This brings up a dialog where you can search online for packages. The one you are looking for is microsoft-web-helpers. Search for it and click install.

In this dialog you may find some other interesting packages that you can install. You can also view these packages on There is a JQuery package which adds Intellisense for JQuery, amongst other functionality. There is a PayPal Helper. Or you may find the JQuery client-side form validation helpful.

Related Posts

ASP.NET Web Pages cshtml files not recompiling on server

by John Avis | August 18, 2020

I have an old website written in ASP.NET v4.x Web Pages v1.0.0.0 and when I upload changes to my shared hosting provider some cshtml files update fine and I can see the changes, but some do not.

Intermittent "Unable to read data from the transport connection: net_io_connectionclosed" errors

by John Avis | May 6, 2020

If you are having intermittent problems sending email in .NET using System.Net.Mail consider switching libraries.

Disabling request validation in ASP.NET Web Pages

by John Avis | November 27, 2019

How to avoid A potentially dangerous Request.Form value was detected from the client errors when developing in ASP.NET Web Pages.


There are no comments yet. Be the first to leave a comment!

Leave a Comment



...random postings about web development and programming, Internet, computers and electronics topics.

I recommend ASPnix for web hosting and Crazy Domains for domain registration.


Get the latest posts delivered to your inbox.