This has been asked before, and will be asked again!
I am currently building a small-ish corporate website (15-20 pages) in ASP.NET VB, I am NOT building it in visual studio, I am doing the layout in Dreamweaver CS5.5 and the code is in a hand edited CodeBehind .vb file per page. I am linking some bits of it to their internal Intranet, which I will build after the site. so its very minimally CMS’ed.
The site is not expected to get large amounts of hits, its more of a big brochure site for an engineering company.
I do not like Microsoft’s hugely over complicated and un-fathomable MVC framework, and find their master page model restrictive and complex.
All I want to do is include the same code in my headers and footers on every page, people say that SSI is dead and the haters are angry people.
But really… whats a suitable substitute for that one little line of SSI include code?? its not big, its not clever, but its small and it works (that’s my excuse anyway 😀 ). I’m not building google! so server load isn’t an issue, at all.
Unsure why you have that perception/assumption (or how MVC equates to SSI)….based (only) on your post, it sounds like even Dreamweaver Library items or templates will suit your needs (haven’t used DW in ages so if these are terribly outdated terms, they probably are).
Master pages can be as simple or complex as you want – they can simply give a header/body/footer paradigm or go deep with nested masterpages. You can have X number of master pages as well.
If you must, you can use the “old school”
#includejust like you did in the distant past:And these will parse just fine (e.g. staticHeader2.txt):
Browser screen shot: