[ADVANCED-DOTNET] Multiple Windows Service's Within a Single Process

2004-06-30 Thread Chad M. Gross
I am looking for any insight or prior experiences with creating multiple windows services within one process. The static main for the process would be something like: ServicesToRun = new ServiceBase[] {new Service1(), new Service2(), new Service3(), ..., new Service20()}; System.ServiceProcess.Se

Re: [ADVANCED-DOTNET] Is patch funda available with ASP.NET Web Application ????

2004-06-30 Thread Chris Anderson (Merak)
Open the properties of the installer project. You'll see a Version Change this, and say "Yes" to the warning dialog that then appears about also changing two GUID properties. Then, you're new installer can be used to upgrade the previous version (ie it will simply install over the old version)

Re: [ADVANCED-DOTNET] structs, namespaces, webservices and DBNull

2004-06-30 Thread Zecharya, Bar (FIRM)
If I understand you correctly, I should make an ORable enum listing all the parameters. At runtime, flag those parameters that should be null and pass the enum to the webservice together with the struct (or as part of it). In the webservice, set the values to DBNull.Value for all the parameters f

Re: [ADVANCED-DOTNET] structs, namespaces, webservices and DBNull

2004-06-30 Thread Adam Straughan
Add a search on this enum > struct ClientQueryParams { > public string Lastname; > public string Firstname; > public int NumberOfOrders; public ClientQueryFlags Flags; > } [Flags] enum ClientQueryFlags { None = 0, Lastname = 1, Firstname = 2, Numbe

Re: [ADVANCED-DOTNET] structs, namespaces, webservices and DBNull

2004-06-30 Thread Julia Lerman
I know this isn't going to help you today but I can't help thinking "ooh ooh nullable types in whidbey..." (for the first problem)... Julie Lerman -Original Message- From: Unmoderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Zecharya, Bar (FIRM) Sent: W

[ADVANCED-DOTNET] structs, namespaces, webservices and DBNull

2004-06-30 Thread Zecharya, Bar (FIRM)
I have a webservice method that returns the results of an SQL query, and I want to encapsulate the SQL parameter values in a struct, like so: struct ClientQueryParams { public string Lastname; public string Firstname; public int NumberOfOrders; } In a separate ASP.NET appl

[ADVANCED-DOTNET] Is patch funda available with ASP.NET Web Application ????

2004-06-30 Thread Rocky Luthria
Hi All, I have developed a ASP.NET Web application and made a Web Set Up for the same. But this application is subject to change as per the requirement of the client. Now when I make an update of the same, I have to uninstall the older version of the web application and then install the new versi

Re: [ADVANCED-DOTNET] Stress testing results

2004-06-30 Thread David Crowell
Davy, I mostly agree with what you are saying here. I don't normally use page level caching. I usually cache a collection, an object, or sometimes a DataSet. In those cases the caching is always on the server. I disagreed with your statment that "1 second cache isn't going to help anyone", as it

Re: [ADVANCED-DOTNET] Stress testing results

2004-06-30 Thread Davy J
It's not so much the caching that is the problem, it's the test that he's using to do it with, and modifing the cache time to get the best results based on the test. Problems with his test. 1. He doesn't specify where the caching will take place, using the default "ANY" will cache either, [Brows