Yishai Galatzer's Blog Posts

Rendering an image from an embedded Web Browser (C# WPF application)

How is all started So this week I was working on an extension for WebMatrix , Luke Sampson of http://StudioStyle.es just integrate a cool piece of code from Matt MCElheny . The news is that the studiostyle.es website now supports converting the over 1...

Unit tests should not Debug Assert

Preface When we write unit tests we try to cover all edge cases, not just run through the cases that work. That means that in many cases the product code will assert before throwing an exception. We have to separate cases here 1. We expected the assert...

Compatibility Checking in WebMatrix - When the checker reports failures

Intro In WebMatrix V1 we released a new feature called Publish Compatibility. This feature inspects your local application for dependencies and requirements. It will then runs a set of tests against your remote website. The idea is to identify any potential...

Replacing the built-in Basic Authentication Module to support non-English characters in a HttpWebRequest

  A few weeks ago I was trying to deploy a site using Web Deploy and authenticate using a non-English user name. The operation would succeed on some computers but will fail on others. Since I was using the Web Deploy API, I debugged into the .NET...