Recent Comments
rmiesen on Continuous Testing for Visual Studio: @Håvard: thank you for your follow up. I am glad to hear that the...
Håvard on Continuous Testing for Visual Studio: @rmiesen Installed code contracts, currently works fine for me on...
rmiesen on Continuous Testing for Visual Studio: That’s very strange. On my machine, the Enum Utilities...
Håvard on Continuous Testing for Visual Studio: @rmiesen Thanks for reporting your problem. Sadly, I am not even...
rmiesen on Continuous Testing for Visual Studio: I attempted to use the continuous integration plugin for VS 2010 on...
Glen on RSA using BouncyCastle: Hi Harvard, Thanks for this. I was actually able to use your suggestions in blinding...
Twitter
- UI designers: An animated progress bar indicating how long a pop-up will stay open is not helpful. It just makes the pop-up even more noisy. 2010/09/01
- Really cool interactive music video using HTML5: http://bit.ly/cdtaOF 2010/08/31
- @follesoe If you're doing code-first, go with EF4 CTP4. CTP lacks support for migration, but that's coming. It's looking very promising. 2010/08/30
Category Archives: Code
RSA using BouncyCastle
Trying to do RSA using BouncyCastle, but struggling to find your way around the API? In a previous post (see here) I pondered why the RSA implementation in System.Security.Cryptography is restricted to only the most common usage scenarios. I mentioned … Continue reading
Mocking HtmlHelper in ASP.NET MVC RC1 using Moq
For those of you trying to mock HtmlHelper, but finding it difficult, here’s a mock that works in ASP.NET MVC RC1.
Why cripple the .NET RSA implementation?
I just found out that RSACryptoServiceProvider, the RSA implementation in .NET, does not allow you to use a private key to encrypt data. I’m no cryptographic expert, but I do know how asymmetric key algorithms like RSA work, and that … Continue reading
Posted in C#, Technical
8 Comments
Strongly typed data binding in Windows Forms
Windows Forms data binding is a great tool for model-view-style applications, where the connection between the model and its view is easily declared. However, data binding is also an error-prone and tedious process with no IntelliSense support where properties are … Continue reading
Posted in C#, Code, Technical
Leave a comment
AJAST – Cross-domain REST calls using JSON injection
The typical (and original AJAX) approach to calling web services asynchronously from a browser uses the XMLHTTPRequest object to request data asynchronously. However, as most of you probably already know, requests made using this object are restricted to the same … Continue reading