How to import a namespace in Razor View Page?
How to import a namespace in Razor View Page
asp.netasp.net-mvc-3razorwebmatrix
Related Topic
- How to use ternary operator in razor (specifically on HTML attributes)
- Asp.net-mvc – Writing/outputting HTML strings unescaped
- Javascript – Using Razor within JavaScript
- C# – Preprocessor directives in Razor
- C# – How to define a method in Razor
- C# – How to declare a local variable in Razor
- Asp.net-mvc – Injecting content into specific sections from a partial view ASP.NET MVC 3 with Razor View Engine
- Access key value from Web.config in Razor View-MVC3 ASP.NET
Best Answer
Finally found the answer.
For VB.Net:
Take a look at @ravy amiry's answer if you want to include a namespace across the app.