Re: [ADVANCED-DOTNET] Directory Server/Domain discovery

2008-07-10 Thread James Geall
Hi Mont, does binding to LDAP://rootDSE do what you want? I don't have 2 domains to test it on, but this seems to suggest it might work: http://msdn.microsoft.com/en-us/library/ms677945(VS.85).aspx "In this case, a default domain controller from the domain that the security con

Re: [ADVANCED-DOTNET] HTTPS

2008-05-20 Thread James Geall
does this do what you want? http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/596b9108-b1a7-494d-885d-f8941b07554c.mspx?mfr=true HTH James On Tue, May 20, 2008 at 8:31 AM, Geoff Taylor <[EMAIL PROTECTED]> wrote: > Hi, > > I thought there was a 'require SSL' option somew

Re: [ADVANCED-DOTNET] Storing shared secrets

2008-03-28 Thread James Geall
A few observations/thoughts in no particular order: If you make it secure by being obscure, all you really do is fool yourself into thinking it is secure and have no way to work out when it has been broken. If you use one secret for all instances/installs, then they are all broken the moment one

Re: [ADVANCED-DOTNET] Key storage.

2008-03-20 Thread James Geall
Would generating a random key be an option if you have a password protected backup/export? I guess the thing that will influence this most is that it really depends on when you encrypt the data in the xml file, if it as at install time this might work. it might look a little like this: 1) genera

Re: [ADVANCED-DOTNET] Increased security

2007-11-19 Thread James Geall
I believe cardspace is still quite painful to implement. I got this impression from the cardspace Q&A at teched. No one had a good story to tell about it. But if you want more information on it, dominick baier has blogged on www.leastprivilege.com about it. DO NOT USE MD5. It is so broken. Us

Re: [ADVANCED-DOTNET] WCF and MTOM

2007-08-21 Thread James Geall
Hi, If you set up an basicHttpBinding in your config file then you can set the MaxReceivedMessageSize. Alternatively, you can do this in code. I believe int.MaxValue is the largest valid value. Config example below: Chee

Re: [ADVANCED-DOTNET] Determing time when a assembly was built

2005-01-27 Thread James Geall
And if you mean something like this: [assembly:BuildTimeStamp("2005-01-25 14:58:00")] then that doesn't really help. It still leaves needing a solution to exactly the same problem Raj posed in the first place: how do you arrange for that text string to be whatever the time of day is at when the

Re: [ADVANCED-DOTNET] Large solutions and references

2004-08-11 Thread James Geall
to the developer by simply doing a get latest version in SourceSafe in that folder. -Original Message- From: James Geall [mailto:[EMAIL PROTECTED] Sent: 11 August 2004 11:21 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Large solutions and references The issue is that sourcesafe

Re: [ADVANCED-DOTNET] Large solutions and references

2004-08-11 Thread James Geall
The issue is that sourcesafe has problems once it gets over 4Gb in size. I assumed that the solution size here was large enough to potentially make this a factor. Also if you have satellite resource assemblies these can get quite big very quickly, so keeping one uncompiled file in them is bad eno

Re: [ADVANCED-DOTNET] Enum as a Parameter

2004-08-10 Thread James Geall
I think this is what you want(outlook compiled); class a { protected void DoStuff(Enum enumValue) { Debug.WriteLine (enumValue.GetType().ToString); Debug.WriteLine (enumValue.ToString); foreach(string name in enumValue.GetNames())

Re: [ADVANCED-DOTNET] Large solutions and references

2004-08-10 Thread James Geall
Hi, this is pretty much the same problem as I had :) Our solution is as follows (and comes straight from one of the Ms solution development centre (SDC) who we had in for consultancy on precisely this problem so I guess they use it too): * System Solution containing all projects - used for daily

Re: [ADVANCED-DOTNET] Automating Windows Service Installation

2003-09-10 Thread James Geall
you may want to try msizap to remove all references to the install. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/m sizap_exe.asp we have had success with this, but be careful it does have switches to kill all msi installed applications :S James -Original Messa

Re: [ADVANCED-DOTNET] Braces make code execution faster?

2003-01-22 Thread James Geall
the act of recording the timings will always have an impact on code speed. sounds like the timing calls are the cause of the erroneous results. can't remember how truetime attaches to code but if it does it before compiling into IL it's probably doing it in different places or ways. as an aside,

Re: [ADVANCED-DOTNET]

2002-08-16 Thread James Geall
Tim, try declaring the return parameter first before adding any other parameters. James -Original Message- From: tim [mailto:[EMAIL PROTECTED]] Sent: 16 August 2002 00:17 To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Hi all, I am having a problem invoking a Stored Procedure via Ole