April 2011 Blog Posts

AntiXSS 4.1 Beta 1

In celebration of the bright shining thing in the Seattle sky (I haven’t seen it in a while, I’m scary) I’ve pushed new source for the AntiXSS encoding libraries to codeplex, including specific support for swapping out the default encoders in .NET 4.0. As this is only a beta there are no binaries, you will need to grab the source yourself and compile. Replacing the default encoders in .NET 4.0 will require you to use the DLL from the Net4 project and to make a web.config change to the httpRuntime node as follows <httpRuntime encoderType="Microsoft.Security.Application.AntiXssEncoder, AntiXssLibrary"/> The runtime...

posted @ Saturday, April 23, 2011 12:38 PM | Feedback (7)

Code coverage on MVC projects - Could not find WebDev.WebServer40.Exe.

So for the past few months I’ve been working on internal projects (hence no blogging – there’s nothing to share). For one of the projects, a complete rewrite of an internal site currently in ASP (woohoo, VBScript!) to MVC. Admittedly it’s only MVC 2.0  for various reasons and boy, do I regret that choice after seeing the new 3.0 tools at MIX. Obviously MVC gives me (and my minions) the opportunity to test properly and part of that is code coverage. However I had real problems getting it to work, every time I turned code coverage on the MVC...

posted @ Tuesday, April 19, 2011 5:49 PM | Feedback (1)