galford13x
galford13x

Reputation: 2531

How to manually servce a .cshtml file without a controller?

Is it possible to create a .cshtml file (Razor) and process it manually? I would like to link to a page that does not currently have a controller, yet display a .cshtml page as a result. How would this be possible?

Upvotes: 2

Views: 2032

Answers (1)

user32826
user32826

Reputation:

Not sure if its what you need, but Microsoft recently added something like this to the ASP.Net product line where you could use just Razor marked up web pages, and funnily enough they called it ASP.Net Web Pages.

http://www.asp.net/web-pages

Upvotes: 4

Related Questions