Create a custom autocomplete control in ASP.NET MVC

How to create a custom HTML control in ASP.NET MVC? using System; using System.Web.Mvc; namespace MvcApplication1.Helpers {      public static class LabelExtensions      {           public static string Label(this HtmlHelper helper, string target, string text)           {                return String.Format(“{1}”, target, text);           }      } } Refer link: https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions-1/views/creating-custom-html-helpers-cs Auto complete custom control: Download  

Put/Delete http verb not working server

Please add following code in web.cofig file. <system.webServer> <modules> <remove name="WebDAVModule"/> <remove name="FormsAuthentication" /> <remove name="ApplicationInsightsWebTracking" /> <add name="ApplicationInsightsWebTracking" type="Microsoft.ApplicationInsights.Web.ApplicationInsightsHttpModule, Microsoft.AI.Web" preCondition="managedHandler" /> </modules> <handlers> <remove name="WebDAV" /> <remove name="ExtensionlessUrlHandler-Integrated-4.0" /> <remove name="OPTIONSVerbHandler" /> <remove name="TRACEVerbHandler" /> <add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" /> </handlers> If not solve then please follow link.

UnitOfWork Generic Repository

The repository and unit of work patterns are intended to create an abstraction layer between the data access layer and the business logic layer of an application. Implementing these patterns can help insulate your application from changes in the data store and can facilitate automated unit testing or test-driven development (TDD). UnitOfwork public class UnitOfWork …

How to add reference System.Web.Optimization

The Microsoft.Web.Optimization package is now obsolete. With the final release of ASP.NET (MVC) 4 you should install the Microsoft ASP.NET Web Optimization Framework: Install the package from nuget: Right click on References, Select Manage Nuget Packages. Type Microsoft.AspNet.Web.Optimization in search box and press enter you will get the package. Click on install. Create and configure …