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

johna 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 www.nuget.org. 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

Web Development

How to set up a debugging using the Turnkey Linux LAMP stack and VS Code

by johna | December 19, 2023
The second part in my guide to setting up a website and database using the Turnkey Linux LAMP stack.

Website Hosting Web Development

How to set up a website and database using the Turnkey Linux LAMP stack

by johna | November 18, 2023
If you need to host your own website for the purposes of web development, Turnkey Linux LAMP Stack is an easy to install all-in-one solution that you can set up on a spare computer or a VM (Virtual Machine).

ASP.NET Web Pages

ASP.NET Web Pages cshtml files not recompiling on server

by johna | 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.

Comments

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

Leave a Comment

About

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

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

Subscribe

Get the latest posts delivered to your inbox.