I use Razor with web pages, but without MVC. I like the simplicity with this, so I'm not interested in using MVC at this point. However, I would like to make a partial part of my page. Like menu, footer, etc.
Using MVC you can: @ {Html.RenderPartial ("Footer", model);}
I would like to do something like this: @ {Html.RenderPartial ("footer.cshtml"); }
How can I achieve what I want?
source
share