Suddenly our CI-machine started to fail on code that we had not touched for ages. Test(s) failed. Expected string length 6 but was 4. Strings differ at index 0. Expected: “foobar” But was: “test” The test that broke the build was very straight forward: [Test] public void SettingsShouldSupportCRUD() { ApplicationSetting.Delete("Test.ABC"); var setting = ApplicationSetting.Get("Test.ABC"); [...]
Watin and portable Firefox
I stumbled over this thread in the Watin archives and thought that it sounded like a great idea to use a portable bundle of Firefox for our acceptance tests. However it took some more effort in getting this thing to work than just changing the FireFox.PathToExe property. Changing just the property will just make Watin [...]
AuthenticateRequest not raised when doing a Server.Transfer
I’ve recently enhanced a legacy product with support for “custom links” by writing a simple HttpModule.
The module is very simple, it hooks in to each request and check if a mapping exists for the current path.
In order to do this all it needs is a simple map of new to old (legacy) paths.
If a mapping is found, a call to Server.Transfer is done to transfer the request the the correct page.
This worked like a charm until I realized that the AuthenticateRequest was no longer raised when visiting a link that was served using my new module.
Ola Herrdahl
Eventual consistent developer currently working on solving complex problems by applying simple solutions.
- Watin and portable Firefox March 15, 2011
- CQRS for dummies November 13, 2011
- ASP.NET: System.IO.IOException: The file or directory is corrupted and unreadable. April 25, 2010
- IntelliJ cannot create new class April 21, 2010
- Accessing Ubuntu running on Hyper-V over Remote Desktop November 20, 2010
- Document based sagas for dummies November 13, 2011
- CQRS for developers November 13, 2011
- CQRS for dummies November 13, 2011
- Access a Mercurial (BitBucket) repository using SSH key from TeamCity September 15, 2011
- Setting up kdiff3 for git on windows June 22, 2011
- Jeff: I tried disabling the splash screen using the inst...
- Jigs: Thank you so much, you saved my life. I have been ...
- Document based sagas for dummies | Ola Kodar: [...] previous two post, CQRS for dummies and CQRS...
- CQRS for developers | Ola Kodar: [...] the CQRS for dummies post we can extract a c...
- Scott: WOW!! This saved me literally HOURS of searching!...
Categories
- Error of the Day (14)
- Hailstorm (2)
- Software Development (4)
- Tips & Tricks (6)
- Web Development (1)
Recent Tweets
Follow @herrdahl on Twitter
Recent Comments