Creating Your First MVC ViewEngine(coderjournal.com)
submitted by
zigamorph(3319) 3 years ago
A question that I have been hearing a lot lately is:
How do I change the view location in MVC?
But what they really mean to say is:
How do I create a new ViewEngine that uses the view locations of my choosing?
It is actually very simple to do, and once you see it, I think you will agree with my assessment. The first thing we are going to do to create our custom ViewEngine, is define the paths that we want to use for our master pages, view pages, and shared pages. I have taken the liberty to define the following paths, you can customize them however you wish: read more...
|category: MVC
|Views: 325
tags:
MVC another
Everyones tags:
Your Tags: