Archiwa kategorii: EpiServer

JavaScript Dates made localizable – Moment.js

Moment.js Good library to make localizable JavaScript Dates is Moment.js. Through nuget it can be searched as „moment.js”. Except regular dates output like: Wednesday, November 27 2013 8:15 AM it can also 2 years ago in 16 hours Last Sunday … Czytaj dalej

Opublikowano EpiServer | Otagowano , | 1 komentarz

Problems finding property usages in EPi7 WebForms

In EPiServer 7 Web Forms project I wanted to find all usages of a regular property. But I failed – „Usages of ‚RightContentArea ‚ were not found.”. (I am using Resharper for that.) It is very clear that when you … Czytaj dalej

Opublikowano EpiServer | Otagowano , , , | 2 komentarze

Your better URLs – Slugify

We have an e-commerce shop, so that we have products there. There should be Friendly URL for every product, so last part would be the name of a product. Product name is: dovre Gore-Tex Pro Shell Jacket (M/W) It can … Czytaj dalej

Opublikowano EpiServer, Programowanie | Otagowano , , , , | 4 komentarze

Empty ContentArea, avoid null

ContentArea when empty (no blocks dragged) returns null in code. It’s fine when you use EPiServer standard code for handling ContentArea rendering: When it breaks But the problem exists when you try to touch it from code or Extensions as … Czytaj dalej

Opublikowano EpiServer | Otagowano , , | 1 komentarz

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 … Czytaj dalej

Opublikowano EpiServer | Otagowano , , , | 2 komentarze

All the small things (thoughts about constraints in EpiServer development)

The small things, the ones that take really not much time when implemented right at first opportunity (not delaying until … never). And how they will save a lot of project time down the road, for you developer and for … Czytaj dalej

Opublikowano EpiServer | Otagowano , , ,

Custom ContentArea without wrapper tags

The default ContentArea rendering will generate something similar to: This is completly fine in most cases, but sometimes you have markup that you need total control of rendering. No wrapping tags I had such a situation. I used it for … Czytaj dalej

Opublikowano EpiServer | Otagowano , , | 2 komentarze