XSLT can still dance

by Harald Schult Ulriksen

or Message.ToString() is painfully slow. XSLT may be on it's way out of Blink, but I'd say it can still prove its value and speed on the server. Lately I've been working on a project with heavy use of WCF. And good use as well, with behaviours and user…

Setting user-agent for remote chromedriver in Selenium

by Harald Schult Ulriksen

Setting the user-agent in .net is not straight forward. Using the chrome webdriver directly this can be done using chromeoptions var ios6ua = "Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25" var…

Explicit error handling in commands

by Harald Schult Ulriksen

This post looks at how we can make it absolutley clear that exceptions may occur when executing commands. Also, we wish to force the developer to a least think of what to do. If we look at the previous posts on this blog by Yngve on the topic of commands…

Testable navigation with Stateless

by Harald Schult Ulriksen

A look at simple, yet powerful, navigation driven by a state machine, and how this can be used with asp.net MVC, asp.net Web forms or a test scenario. Implementing navigation in web applications is often shown as a menu, implemented using li and various form of styling. Another…