Tag: asp.net mvc

MVC vs Web Forms in EPiServer 7

You have a choice which one to use when you are building an EPiServer 7 website. IMHO this option is only to give developers familiar with Web Forms, some time to jump to MVC. Like there was Visual Basic .NET together with C#, and… Continue Reading „MVC vs Web Forms in EPiServer 7”

ASP.NET MVC Razor Concatenation

Można wygooglować, ale ja nie od razu na to wpadłem (może nie wiedziałem jak nazwać), więc chciałbym się podzielić i zaoszczędzić czasu komuś. Jest to lepsze od string.Format(): StackOverflow: ASP.NET MVC Razor Concatenation Update, inny przykład

Unordered list by ContentArea

Fast example how to make ContentArea rendered as unordered list from blocks in EpiServer 7 MVC. Starting markup: That is very easy to achieve using CustomTag, CssClass, ChildrenCustomTagName, ChildrenCssClass: Block markup: Like you can guess, resulting markup is the same.