---
title: "Add reference of Microsoft.Web.Helpers in MVC 4"  
description: "Microsoft.Web.Helpers package contains web helpers to easily add functionality to your site such as Captcha validation, Twitter profile and search box"  
author: "AVADHESH PATEL"  
published: 2013-04-22  
updated: 2019-12-10  
canonical: https://www.mindstick.com/articles/1264/add-reference-of-microsoft-web-helpers-in-mvc-4  
category: "asp.net mvc"  
tags: ["asp.net mvc"]  
reading_time: 2 minutes  

---

# Add reference of Microsoft.Web.Helpers in MVC 4

[Microsoft](https://yourviews.mindstick.com/view/81711/microsoft-disconnects-cortana-and-reinvents-it).Web.Helpers package contains web helpers to easily add [functionality](https://www.mindstick.com/blog/136/using-watermark-functionality-in-textbox-by-jquery) to [your site](https://www.mindstick.com/articles/12865/infographic-drive-traffic-to-your-site-in-2018-10-hints) such as Captcha [validation](https://www.mindstick.com/articles/43/validation-controls-in-asp-dot-net), Twitter profile and search boxes, Gravatars, Video, Bing search, site analytics or themes.

In this article I tell you how to [add reference](https://www.mindstick.com/forum/548/how-to-add-reference-to-system-web-optimization) of Microsoft.Web.Helpers in your existing application.

##### Note:

When you open MVC 4 Application with “Internet Application” option then Microsoft.Web.Helpers dll by default added in [your application](https://answers.mindstick.com/qa/95487/how-do-you-troubleshoot-when-your-application-link-is-not-responding). But, if you open application with “Empty” option then “Are you missing an assembly reference?” [Error message](https://www.mindstick.com/forum/23174/error-message-the-page-you-are-requesting-cannot-be-served-because-of-the-extension-configuration) come when you use Microsoft.Web.Helpers namespace.

##### Step 1: Open Package Manager Console from View menu, as below image (Figure 1).

##### Figure 1:

![Add reference of Microsoft.Web.Helpers in MVC 4](https://www.mindstick.com/mindstickarticle/d666c6f9-1d6f-46d7-8525-11c578d9719f/images/6630e58f-86a7-4135-a019-52c7e633bd75.png)

##### Step 2: Package Manager Console command prompt will be display at bottom of Visual Studio as below image (Figure 2).

##### Figure 2:

![Add reference of Microsoft.Web.Helpers in MVC 4](https://www.mindstick.com/mindstickarticle/d666c6f9-1d6f-46d7-8525-11c578d9719f/images/e60089e4-0da5-4a83-b5a3-4c845d6c2802.png)

##### Step 3: Paste below line of code in Package Manager Console prompt and press enter button as below image (Figure 3).

| PM> Install-Package microsoft-web-helpers |
| --- |

Wait few minutes, it takes time to [installation](https://www.mindstick.com/articles/711/php-installation-on-windows). After successfully installation PM> character display in [Package Manager](https://answers.mindstick.com/qa/112022/what-are-the-advantages-of-using-a-package-manager-like-npm-or-yarn-in-javascript-development) Console prompt then go to your solution explorer and open References tag. Here you see Microsoft.Web.Helpers are added as below image (Figure 4).

##### Figure 4:

![Add reference of Microsoft.Web.Helpers in MVC 4](https://www.mindstick.com/mindstickarticle/d666c6f9-1d6f-46d7-8525-11c578d9719f/images/de73259b-c3f9-43ee-8edc-4ad0d836a127.png)

See more articles to added references:

[https://www.mindstick.com/Articles/1131/add-reference-of-system-web-optimization-in-mvc-4](https://www.mindstick.com/Articles/1131/add-reference-of-system-web-optimization-in-mvc-4)

---

Original Source: https://www.mindstick.com/articles/1264/add-reference-of-microsoft-web-helpers-in-mvc-4

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
