Contents tagged with Razor
-
Overriding/Changing Base Razor View Page Type in ASP.NET Core
-
Using Razor V2 in ASP.NET MVC 3
Introduction:
-
Using Classic ASP, PHP and WebForm Pages in ASP.NET MVC Views
Introduction:
-
A WebForm View with a Razor Layout in ASP.NET MVC 3
Introduction:
-
Using the Features of ASP.NET MVC 3 Futures
Introduction:
-
A Custom View Engine with Dynamic View Location
Introduction:
One of the nice feature of ASP.NET MVC framework is its pluggability. This means you can completely replace the default view engine(s) with a custom one. One of the reason for using a custom view engine is to change the default views location and sometimes you need to change the views location at run-time. For doing this, you can extend the default view engine(s) and then change the default views location variables at run-time. But, you cannot directly change the default views location variables at run-time because they are static and shared among all requests. In this article, I will show you how you can dynamically change the views location without changing the default views location variables at run-time. -
Razor Template in ASP.NET MVC 3
Update: There is no need to inherit _ViewStart view class with ViewStartPageWithHelpers in ASP.NET MVC 3 RTM.
-
Filtering Razor Generated Output
Introduction:
There is no doubt that Razor view engine is becoming very popular because Razor is speeding things up just a little bit more. With Razor, sometimes it may be need to see the Razor generated HTML during debugging. Sometimes there's a need to filter, change or move the Razor generated HTML. Sometimes you may need to set the different properties of your view in a separate file(however I strongly recommended that you should make your view as simple as possible). Sometimes you may also need to log the Razor generated HTML. Sometimes you may need to emit some HTML in the response output at run time. In this article, I will show you how to can see and filter the Razor generated HTML using a simple way. -
Bug Fixes and Changes in ASP.NET MVC 3 Beta
Update: This article is outdated. Please read this post for the latest new features.
-
Viewing Razor Generated Code
Introduction: