code.analyticgal.com
RSA encryption between .NET and Win32 made easier!
http://code.analyticgal.com/articles/2005/05/30/rsa-encryption-between-net-and-win32-made-easier
AnalyticGal - Code Blog. RSA encryption between .NET and Win32 made easier! Posted by nhughes Tue, 31 May 2005 03:55:00 GMT. Today we have a Win32 client (written in C and COM) that will communicate over TCP/IP to our new .NET server-side code. The Win32 client won’t be ported to .NET anytime in the near future. So, the two code bases have to be compatible. This challenge is amplified by the fact the client uses a combination of asymmetric encryption ( RSA. And symmetric encryption ( RC2.
code.analyticgal.com
Stack Imbalance due to InterOp.
http://code.analyticgal.com/articles/2005/05/03/stack-imbalance-due-to-interop
AnalyticGal - Code Blog. Stack Imbalance due to InterOp. Posted by nhughes Tue, 03 May 2005 07:20:00 GMT. Don't get bitten by this invisible bug. If your .NET application has an interop to managed code and the managed code calls back into your .NET code (using delegates), make sure you have the calling conventions of the delegate and the interop methods defined the same. In Visual Studio 2005 Team Suite Beta 2 (not in VS 2005 Beta 2 standard). The error shows up as:. DllImport("Implode.dll", CallingC...
code.analyticgal.com
AnalyticGal - Code Blog
http://code.analyticgal.com/articles/category/net
AnalyticGal - Code Blog. Posted by Nicole Hughes Sun, 06 Nov 2005 05:14:00 GMT. Microsoft published a case study on our Gateway project at Worldspan. Check it out. I am the lead on this project, so the study comes complete with my own cheesy quotes. Being referred to as "Hughes" in published articles is new for me, but definitely something I could get used to. Microsoft released Whidbey last week, so now it is available to the masses. Here's a list of breaking changes. In NET Framework 2.0. Versioning: E...
code.analyticgal.com
New Memory Allocation with MemoryStream.ToArray()
http://code.analyticgal.com/articles/2005/05/05/new-memory-allocation-with-memorystream-toarray
AnalyticGal - Code Blog. New Memory Allocation with MemoryStream.ToArray(). Posted by nhughes Thu, 05 May 2005 09:43:59 GMT. If you find that you need to reduce your frequent memory allocations and deallocations, try to reduce or eliminate your use of MemoryStream.ToArray(). ToArray() copies the memory stream buffer into a new byte array. You might consider using MemoryStream.GetBuffer(). Instead. This method returns the byte array inside the MemoryStream, instead of making a copy. RSS feed for this post.
code.analyticgal.com
RC2 Performance Enhancements
http://code.analyticgal.com/articles/2005/06/13/rc2-performance-enhancements
AnalyticGal - Code Blog. Posted by nhughes Mon, 13 Jun 2005 10:26:00 GMT. Since our app is still experiencing a severe bottle-neck with encryption, I requested some help from Microsoft to suggest improvements. While they had no suggestions for our problems with RSA efficiency, they did have two suggested changes to our RC2 implementation. Constructor is an expensive operation. (The RC2 session key is encrypted with RSA, so that will ensure its security.). I was using a CryptoStream. Byte[] decryptedData;...
code.analyticgal.com
We're Published
http://code.analyticgal.com/articles/2005/11/05/were-published
AnalyticGal - Code Blog. Posted by Nicole Hughes Sun, 06 Nov 2005 05:14:00 GMT. Microsoft published a case study on our Gateway project at Worldspan. Check it out. I am the lead on this project, so the study comes complete with my own cheesy quotes. Being referred to as "Hughes" in published articles is new for me, but definitely something I could get used to. Microsoft released Whidbey last week, so now it is available to the masses. Here's a list of breaking changes. In NET Framework 2.0.
code.analyticgal.com
Encryption Update
http://code.analyticgal.com/articles/2005/07/07/encryption-update
AnalyticGal - Code Blog. Posted by nhughes Fri, 08 Jul 2005 05:30:00 GMT. I've been a huge slacker with respect to updating this blog. So, it's about time I gave some results from our encryption changes. Prior to any encryption modifications (see previous two blog entries), we had the CPU maxed-out with about 900 encrypted connections each sending and receiving one message per second. RSS feed for this post. Valid XHTML 1.0.
code.analyticgal.com
SQL Code no-no's
http://code.analyticgal.com/articles/2005/05/12/sql-code-no-nos
AnalyticGal - Code Blog. Posted by nhughes Thu, 12 May 2005 22:32:00 GMT. Good Advice. Check out these 10 things you should not do with SQL server. RSS feed for this post. Valid XHTML 1.0.
code.analyticgal.com
To Strong Name or Not to Strong Name
http://code.analyticgal.com/articles/2005/07/08/to-strong-name-or-not-to-strong-name
AnalyticGal - Code Blog. To Strong Name or Not to Strong Name. Posted by nhughes Sat, 09 Jul 2005 04:08:00 GMT. Awhile back, I did some research on strong naming (ie signing) and the GAC. I thought it might be an interesting post. We ultimately signed all of our assemblies. When strong names MUST be used:. Any assemblies loaded into the GAC must have strong names. Advantages of using strong names:. Versioning: Eliminates DLL Hell. Developers can uniquely identify versions of .NET assemblies. Potentially ...