Geeks With Blogs

Anirudha gupta June 2014 Entries
How to Call a extension method from library in mvc project inside the razor view ?
If you want to call a extension method from a c# library when you are working on views then here in this post I am showing you how you can do it. just go to views and open the web.config file. (do all these step in VWD or VS 13 whatever you use for work) inside the tag of system.web.webPages.razor you will find the tag namespaces which contain too many namespace which shown in intellisense when you work in Views inside your Visual studio. now add line like this <add namespace="MyCustomDll" /> ......

Posted On Thursday, June 12, 2014 4:30 PM

Copyright © Anirudha | Powered by: