Installing ASP.NET Web Pages Helpers in Visual Web Developer 2010
by johna | 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.
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
Converting dBase IV programs to run in the browser
by johna | September 13, 2024
Some pointless entertainment trying to get some old dBase programs running in the browser.
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.
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).
Comments
There are no comments yet. Be the first to leave a comment!