Search code examples
nhaml

Does NHAML require ASP.NET MVC?


Couldn't find this directly on the NHAML project page, so i was wondering if you need to run the ASP.NET MVC in order to use NHaml or if I can use this on a "normal" ASP.NET webpage?

Also, i've read that you'd need to intercept requests for Sass and manually call the builder for it?


Solution

  • No, it does not require ASP.NET MVC although there's an implementation for it. You could process NHaml templates even in a console application if you will.