[ADVANCED-DOTNET] Diable Connection Pooling for an Entire Process?

2007-02-16 Thread Andy Smith
Hi - I'm working with unit tests, and for a particular reason (won't bore you with the details, has to do with timing issues when killing connections during tests), I'd like to disable connection pooling for the entire process that the unit tests will run under. I know it's possible to set Pooling=

[ADVANCED-DOTNET] [STAThread] vs. WaitAll()

2007-02-07 Thread Andy Smith
Hi - I'm having a problem that I'm hoping folks here can help with. It involves COM issues as well as .NET, so please let me know if there's a better list to be posting this to I'm working on a console app (in C#) that is calling into a COM API (Virtual Server 2005) that requires the COM secu

Re: [ADVANCED-DOTNET] Poor Man's In-Memory Queue?

2006-02-28 Thread Andy Smith
Thanks, that's a great point, I believe I do have the thread affinity issue with this COM component. You remind me that I had to make a config file modification in a test project because of this (VS2005 Team System). *sigh* Thought I could get out of this on the cheap, but I guess I'm stuck with h

[ADVANCED-DOTNET] Poor Man's In-Memory Queue?

2006-02-28 Thread Andy Smith
I have an ASP.NET application and I need to serialize access to an external resource, in this case it's a COM interface to a QuickBooks application. The SDK for QB exposes a COM component for access to it, but it is not multithreaded. So I don't think, strictly speaking, I need a Queue, and all tha

[ADVANCED-DOTNET] Performance Hit Being On A Domain?

2005-12-31 Thread Andy Smith
Hi - I'm wondering what the performance hit is to an XP workstation that's running on a domain vs. peer to peer. I've got a couple of audio workstations that are very performace-sensitive, and I've kept them off the domain for that reason. I'm now considering putting them on a domain, but I'm wonde

[ADVANCED-DOTNET] Remote Shutdown Permissions w/No Domain Controller

2005-12-31 Thread Andy Smith
Hi - I've got a home network of XP machines that I do not have on a domain, to keep things simple. I'm building an automated backup routine system and I want to be able to remotely start up and shut down all the machines remotely. I've got the start up part working fine (wake on lan), but I'm gett

[ADVANCED-DOTNET] Large-scale WinForms Client Deployments

2005-03-23 Thread Andy Smith
Does anyone have a recommendation on how to approach a large-scale (~2000 workstations) deployment of a Windows Forms application? I know 'One- Click' deployment is coming out with VS 2005 but I've got to get moving on it now. Does anyone have any experience with this and have some recommendations/

[ADVANCED-DOTNET] OT: Browser Plug-ins

2005-01-20 Thread Andy Smith
Sorry for the OT but it's just a quickie: Anyone know if there's a group out there for building IE plug-ins (e.g. Google Toolbar)? One of our guys is wrestling with it (in C) and in need of help. Anyone know of any good forums/references? Thanks === This list is ho

Re: [ADVANCED-DOTNET] Does .NET Framework Tax The System When Not Used?

2004-12-28 Thread Andy Smith
>CC 1A 5B 94 D0 75 09 B4 >USA USA USA USA USA >http://www.vinnychi.com/vince >Did you think that I was gonna give it up to you? > > >> -Original Message- >> From: Unmoderated discussion of advanced .NET topics. >> [mailto:[EMAIL PROTECTED] On Behalf Of

[ADVANCED-DOTNET] Does .NET Framework Tax The System When Not Used?

2004-12-27 Thread Andy Smith
Hi - I've been using .NET for a couple years but just ran into an issue I'm not sure about. I've got an multitrack audio editing workstation that is of course extremely performance sensitive, and I don't put anything on the machine that's not strictly necessary. I turn every service off that's not

[ADVANCED-DOTNET] QA Process - Automating a Production Mirror

2004-12-08 Thread Andy Smith
This isn't a .NET question, so I apologize if it's inappropriate, but I think many here might have some interest in it, as it relates to the QA and deployment of software (albeit not necessarily .NET software). And I have no idea where else I might post this. Maybe someone can point me to a list th

Re: [ADVANCED-DOTNET] Retriving IIS Virtual Dirs and Websites List

2004-12-07 Thread Andy Smith
I use this, I'd give credit to where I downloaded it from but I don't remember... :) Hope it helps. DirectoryEntry root = new DirectoryEntry("IIS://localhost/W3SVC"); foreach (DirectoryEntry entry in root.Children) { if (entry.SchemaClassName == "IIsWebServer") { // Split the ip-port-host tupl

[ADVANCED-DOTNET] WSDL.exe Errors(?)

2004-11-18 Thread Andy Smith
Hi - I'm getting an error using WSDL.EXE when I attempt to 'Add Web Reference' and point to a client's *.wsdl file: Unable to import binding 'CSRToolSoapBinding' from namespace 'http://www.xxx.com/CSRTool'. Unable to import operation 'getHistory'. The datatype 'Array' is missing. This is almost e

Re: [ADVANCED-DOTNET] Register Multiple Remote Objects

2004-11-15 Thread Andy Smith
Yes, we do this all the time. You can achieve all the remoting configuration functionality in code that you can do from a file. What's the issue you're having? Andy On Mon, 15 Nov 2004 11:38:21 -0500, Potter, Mark S. <[EMAIL PROTECTED]> wrote: >Has anyone used RemotingConfiguration.Register

[ADVANCED-DOTNET] Restarting IIS Doesn't Fire AppStart() event

2004-10-01 Thread Andy Smith
Hi all - I've got initialization code in the ApplicationStart() event of an ASP.NET application, but this event doesn't get fired until the first time a web page (or web service) of the app is called. I want to be able to programmatically initiate the ApplicationStart() event so I can pre- initiali

Re: [ADVANCED-DOTNET] Oracle Connections w/o TNSNAMES File?

2004-09-24 Thread Andy Smith
;Then you only need to maintain one copy on the share. There's a problem >though. The user that runs the application will need access to the network >share. > >--F > >-Original Message- >From: Unmoderated discussion of advanced .NET topics. >[mailto:[EMAIL PROT

[ADVANCED-DOTNET] Oracle Connections w/o TNSNAMES File?

2004-09-24 Thread Andy Smith
Does anyone know if it's possible to connect to Oracle using the .NET drivers without having to have a tnsnames file ? Is there a way to bypass the need for it? I do this with JDBC so I'm sure that I can do it with .NET. :) When I look at the docs for OracleConnection.ConnectionString it does not

[ADVANCED-DOTNET] IIS Admin Using System.DirectoryServices

2004-09-20 Thread Andy Smith
Hi - I'm trying to restart an IIS application programmatically. I'm using System.DirectoryServices, and I've found a method called AspAppRestart() but it does not seem to fire the Application_Start() event (in Global.asax), like when you alter the Web.config file. I then noticed that my app is lis

Re: [ADVANCED-DOTNET] FileSystemWatcher and ASP.NET

2004-09-15 Thread Andy Smith
I'm holding on to the FileWatcher instance in a static variable of the class in the referenced DLL (in the bin directory). In the application start event of Global.asax I call a static method on this class that instantiates the file watcher. I can step through this code and verify the filename and

[ADVANCED-DOTNET] FileSystemWatcher and ASP.NET

2004-09-15 Thread Andy Smith
I've run into a problem trying to use the FileSystemWatcher component in ASP.NET and wondering if anyone has run into this issue and could possibly help. I've got the issue boiled down to this: if I put a FileWatcher in the ASP.NET app itself (namely, the Global.asax object) the file Changed event

[ADVANCED-DOTNET] Local Singleton vs. Remoting Singleton

2004-08-13 Thread Andy Smith
Hi - I have an object that I want to run as a singleton. I want to access it in- process, from classes residing in the same application. I also want to expose it via Remoting as a singleton. I know how to do each of these things separately. What I don't know how to do is have them both reference th

[ADVANCED-DOTNET] Controlling ThreadPool Threads

2004-08-10 Thread Andy Smith
Can anyone tell me if it's possible to use and control a fixed number of ThreadPool threads in my app? Or are ThreadPool threads more of a 'fire- and-forget' kind of scenario? I'm building an MSMQ listener using asynchronous events to get each message, and right now I create a new thread in the th

[ADVANCED-DOTNET] CWS is great, but what about the host?

2004-08-04 Thread Andy Smith
'm in the midst of making this critical decision on where to host our services (win svcs, IIS/remoting, COM+) and I'm going out of my mind Thanks! Andy Smith Buffalo, NY === This list is hosted by DevelopMentor® http://www.develop.com Some .NE

Re: [ADVANCED-DOTNET] [other] [ADVANCED-DOTNET] Uninstalling From GAC

2004-07-06 Thread Andy Smith
rated discussion of advanced .NET topics. >[mailto:[EMAIL PROTECTED] On Behalf Of Andy Smith >Sent: 2004Äê7ÔÂ6ÈÕ 23:11 >To: [EMAIL PROTECTED] >Subject: [other] [ADVANCED-DOTNET] Uninstalling From GAC > >Hi. I'm having a problem where .NET does not let uninstall a component from >th

[ADVANCED-DOTNET] Uninstalling From GAC

2004-07-06 Thread Andy Smith
Hi. I'm having a problem where .NET does not let uninstall a component from the GAC. Using the gacutil.exe /u doesn't do it, neither does using the force option (/uf), nor forcing a re-install (/if) and then forcing uninstall. Neither does deleting it from the Assembly Cache configuration app. When

[ADVANCED-DOTNET] Development Process Using EnterpriseServices

2004-07-02 Thread Andy Smith
Sorry if this is a bit too basic for this forum, but I can't get past this issue In VB6, when I worked with any of my ActiveX dll projects, the IDE would very conveniently provide host functionality and intercept all calls to the COM component I'm working on, and allow me to debug it, set brea

[ADVANCED-DOTNET] Middle-Tier Hosting: Remoting vs. Enterprise Services

2004-06-24 Thread Andy Smith
I'm getting conflicting opinions on what is the best technology to host middle-tier .NET components. Mine is a typical 3-tier scenario, with each of the tiers on separate boxes. I've got both internal and external clients that will use these services (components). I was working in an IIS hosted/HTT

Re: [ADVANCED-DOTNET] Best Practices: Sharing business assemblies, the GAC, deployment and component versioning

2004-06-02 Thread Andy Smith
;VP Software Development >Chief Architect >Incurrent >.... >900 Lanidex Plaza >Parsippany, NJ 07054 >973.781.9012XT 216 >908.625.6061 (Cell) >[EMAIL PROTECTED] > > >-Original Message- >From: Andy Smith [mailto:[EMAIL PROTECTED] &

Re: [ADVANCED-DOTNET] Best Practices: Sharing business assemblies, the GAC, deployment and component versioning

2004-06-02 Thread Andy Smith
Can you explain what you mean by this? "...we increment the lowest build number and deploy a publisher policy file and/or binding redirects." Thanks. On Wed, 2 Jun 2004 10:01:40 -0400, Bob Provencher <[EMAIL PROTECTED]> wrote: >-Original Message- >From: Bill Bassler [mailto:[EMAIL PROT

Re: [ADVANCED-DOTNET] Remoting Encryption

2004-05-25 Thread Andy Smith
n of advanced .NET topics. >[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Bagley >Sent: Monday, May 17, 2004 8:54 PM >To: [EMAIL PROTECTED] >Subject: Re: [ADVANCED-DOTNET] Remoting Encryption > >Covered quite nicely in Ingo Rammer's (excellent) Advanced .Net Remoting >bo

[ADVANCED-DOTNET] Remoting Encryption

2004-05-17 Thread Andy Smith
desire for it to be lightweight. Anyone have any suggestions? Any advice is greatly appreciated. Thanks. Andy Smith === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004,

Re: [ADVANCED-DOTNET] Multiple Ports and Remoting

2004-03-23 Thread Andy Smith
ested in Indigo from what I've seen, but it's all based on web services, and I don't know if using this approach would make it extremely difficult to migrate to it. Thanks. Andy Smith -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL

[ADVANCED-DOTNET] Multiple Ports and Remoting

2004-03-22 Thread Andy Smith
When I do this: TcpServerChannel channel = new TcpServerChannel(8080); Is it only for that process? That is, can/should other processes on the same machine also receive on 8080? Or does each process have to have its own port? I'm going to have many processes on a single machine (eventuall

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Serv ices and ORM

2004-02-10 Thread Andy Smith
I agree emphatically here. I don't think many think through the details when it comes to talk about replacing Component Services with Web Services. Everyone seems to just expound vaguely on the virtues of web services without taking a look at the actual differences between what web services offer a

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Serv ices and ORM

2004-02-10 Thread Andy Smith
What do you mean 'Service Interfaces'? -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of james Sent: Monday, February 09, 2004 10:04 AM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Microsoft's future plans for Component S

[ADVANCED-DOTNET] Remoting Host

2004-02-06 Thread Andy Smith
Hi - I'm looking to build a framework to host .NET remoting objects for an enterprise-wide distributed architecture (otherwise known as middleware!). What I want is basically a pure .NET version of Component Services, albeit with much reduced functionality. I don't need transactional support, and I

Re: [ADVANCED-DOTNET] Problem Using LoadFrom()

2004-01-12 Thread Andy Smith
Behalf Of Gautama, Damon Sent: Monday, January 12, 2004 12:39 PM To: [EMAIL PROTECTED] Subject: Re: [ADVANCED-DOTNET] Problem Using LoadFrom() Is your assembly strong named? If not, I think this is expected behavior. damon -Original Message- From: Andy Smith [mailto:[EMAIL PROTECTED] Sent

[ADVANCED-DOTNET] Problem Using LoadFrom()

2004-01-12 Thread Andy Smith
I use LoadFrom() to load an assembly and register the remotable types included therein. I make a call to one of these remotable types from a remote client and it fails UNLESS I put the assembly in the same directory as the host (executable). It's as if the path that was provided for the LoadFrom()