Recent Comments
Håvard on Why cripple the .NET RSA implementation?: Again, please keep in mind that the post says nothing about the...
Stuart on Why cripple the .NET RSA implementation?: I feel you are still missing my point. While RSA...
Håvard on Why cripple the .NET RSA implementation?: Stuart, I corrected “expert” to...
Stuart on Why cripple the .NET RSA implementation?: I never claimed to be an expert. But suggesting that RSA private...
Håvard on Why cripple the .NET RSA implementation?: Stuart, You’re mixing different security concerns...
Stuart on Why cripple the .NET RSA implementation?: I know this thread is a bit old, but I came across it via Google...
Twitter
- @jonskeet Great question, and a great learning experience trying to answer it. :) http://bit.ly/dasQa7 2010/09/07
- @jonskeet Uh well, didn't quite do the trick, but close. :) 2010/09/07
- @jonskeet Updated answer, slight mispost, sorry about that. 2010/09/07
Category Archives: C#
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
14 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
Extension methods for copying or cloning objects
C# 3.0 includes a new feature known as extension methods, and fiddling with it triggered the idea of creating a mechanism for copying or cloning (virtually) any .NET object or graph of objects. The manifestation of that idea has become … Continue reading