Monthly Archives: February 2005

BizTalk 2004

Aaron Skonnard put this up at his blog.  I just repro it here for archive and mental ref to myself and others.  Also note BizTalk has a WSE adapter at http://www.microsoft.com/biztalk/   "One of the most common questions that comes … Continue reading

Posted in C# | 3 Comments

Get local DNS server addresses and domain name.

Here is a way to get the host, domain name, and DNS servers of local machine. using System;using System.Net;using System.Collections;using System.Runtime.InteropServices;using MVPTools; namespace MVPTools.Net{ /// <summary> /// Summary description for IPConfig. /// </summary> public class IPConfig {  private string hostName;  private string domainName;  private IPAddress[] dnsServers;   public IPConfig()  {   GetParms();  } … Continue reading

Posted in C# | 6 Comments

Permuted order of array.

Permutes the order of an array so that each call to .GetNext() will sort the array into the next order.  No order is repeated until all orders have been "seen", then it starts over.  The cool thing is no state … Continue reading

Posted in C# | 1 Comment

SHA1 Broken?

SHA1 Broken?  See here. http://www.schneier.com/blog/archives/2005/02/sha1_broken.html Here is a nice table of hash functions and attacks.http://planeta.terra.com.br/informatica/paulobarreto/hflounge.html http://www.intertwingly.net/blog/2005/02/16/SHA-1-Broken Sam makes an interesting point.  We probably don’t have to worry about this too soon.. "Dougal, put another way: an uncracked MD5 gives you … Continue reading

Posted in Security | Comments Off on SHA1 Broken?

Threaded server design

Two pretty good papers on Threaded server design that are worth reading.  I like the second one.  http://www.eecs.harvard.edu/~mdw/proj/seda/#papershttp://www.eecs.harvard.edu/~mdw/papers/seda-sosp01.pdf –William

Posted in C# | 30 Comments

This is how most people get around your security

How true. (from Keith)

Posted in Security | 2 Comments

Replace Strong Name on Assembly

Seems I always end up searching for how to do this as it gets asked a lot.  Here is a good link on one way to do it: http://www.atrevido.net/blog/PermaLink.aspx?guid=f772c18a-f389-4c28-bd6a-a30f4ccc84f5 Note, the only reason for the tool is to change the public … Continue reading

Posted in C# | 37 Comments

MS Small Business Accounting Platform – Cool!

This new product has actually got me thinking about accounting again.  Accounting is like watching paint dry, but every one of your customers needs it in some form.  QuickBooks is great, I use it myself for our business.  However, if … Continue reading

Posted in Uncategorized | 2 Comments

Getting proxy with wsewsdl2 on a soap.tcp service

I post this quick note as it took a while to figure this out and I want a ref when I forget.  If the Address and Via are different, then you need to use the "-name" parm on the newest … Continue reading

Posted in WSE | 6 Comments

Updated Get SecurityContextToken in C#.

I am ~happy with my Get SecurityContextToken C# Code, but felt it could be made simplier (read old verion first as idea is the same).  Simplier is usually better, so that was bugging me.  After all, for years DNS verified a … Continue reading

Posted in WSE | 26 Comments