Archive of 2010 November
-
Semantic markup with EPiServer XForms
Posted on November 26, 2010 by Frederik Vig in EPiServerEPiServer's XForm editor is used for letting editors easily build forms inside EPiServer. The HTML markup that XForm renders uses tables to layout the form. Semantically this is completely wrong, so in this post I'm going to show you how...
Continue reading this entry → -
Removing HTTP Headers for ASP.NET sites
Posted on November 26, 2010 by Frederik Vig in ASP.NET, IISBy default IIS and ASP.NET add a couple informational HTTP Headers to a response. They add extra traffic and give away security information like ASP.NET version, IIS version etc. To see the HTTP Header you can use a proxy tool...
Continue reading this entry → -
Programmatically adding files to EPiServer’s File System
Posted on November 23, 2010 by Frederik Vig in C#, Code Snippet, EPiServerHere's a quick code snippet that I used for replacing files on an EPiServer site. A little background, I got asked by a customer to upload a new version of a bunch of images they had in the PageFiles directory...
Continue reading this entry → -
Using Session with ASP.NET Web Services and Generic Handlers
Posted on November 19, 2010 by Frederik Vig in ASP.NETAfter refactoring some code today, going from cookies to using ASP.NET session instead, I noticed some problems with the Web Services and Generic Handlers (this application used a lot of JavaScript and Ajax). The problem was that the Session collection...
Continue reading this entry →