I have a VS.NET 2003 solution with a project for a ServicedComponent (lives
in a COM+ Server Application for object pooling) and a project for MSI
making. Both build fine and I get an MSI.
I went back and added this to the ServicedComponent-inheriting class:
// Ensure that writing to the Event L
You will get some more speed out of using for instead of foreach, which will
get you away from multiple "Iterator lookups".
---orig
Date:Sat, 17 Jan 2004 18:31:01 -0500
From:Shawn Wildermuth <[EMAIL PROTECTED]>
Subject: Re: AW: [ADVANCED-DOTNET] Fastest way to add contents of ArrayList
t
I don't think you're supposed to do that. IIRC, the GAC location was/is
subject to change, and I don't think any assumptions can be made about it
like directory location. I think gacutil (or the corresponding base class
that gacutil uses) will do what you want, and if it leaves file droppings,
yo
No, because MSDE would require me to install the database and start to write
TSQL. I don't want to do that. I am thinking about a .NET assembly that
will pretend that it is a real database and return a TDS stream, while it is
actually not. Something that would listen on the actual SQL server por
Can anyone weigh-in on the idea of a C#-based SQL Server emulator?
Something that would accept connection strings from an
ODBC/OLEDB/SQL-Managed client, accept dynamic SQL or a stored procedure, and
return a TDS? I was thinking it would be nice for prototype systems and/or
test-driven development,
I'm having a problem enumerating global groups from local
groups. The code below takes a local group name (a Win2K3
or Win2K member server running IIS) and puts members into a
string. The problem is that I can't tell if the member is
a user (so I can add the user to the string) or a global group
I think ADSI is your best bet, using the System.DirectoryServices classes,
assuimg you are in a Win2K AD setup or equivalent. You only need an
unprivileged member of the "domain users" group to query against AD (port
389 cleartext or 636 if you have a certificate structure); compare that to
using
Going through Gregor Noriskin's "Writing High-Performance Managed
Applications : A Primer", he mentions that Method Inlining is done by the
compiler if the methods are < 32 bytes of IL. Also, anything with an
exception handling block is not inlied. With those things in mind, does
"anything" ever
I create a custom thread pool at app startup in an ASP.NET app (thanks to
Mike Woodring) for long-running async processes. The thread's output (a
dataset) is serialized to disk and then picked up by the original calling
ASP.NET user.
I would like to speed this up by writing to a memory cache loca
On a related note, I wonder how the service would respond to GC
requests, etc if the service was running inside a custom CLR host. Hey,
can a service run from inside a custom CLR host in the first place?
orig
From:Brandon Manchester <[EMAIL PROTECTED]>
Subject: Re: windows service me
Yan Ping, the MS Jet OLEDB driver has been able to read/write Excel for
a "long time" now, you will get better mileage if you use that instead
of ODBC:
string excelConn =
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source= "
+
"E:\\src\\projects\\DbMiniLoader\\
Ranjan, if you completely separate your data access layer, you could wrap
your business access layer in a while loop. If you get one kind of error
(eg a blocking or other kind of "busy" error), the while loop continues, and
if you get something unexpected you will break out of the loop and you can
Simon, since it's not as straight-forward as when you're working purely
in-Framework, here's the kind of thing you can trap for in your
try/catch logic. I just ripped this from the bowels of something more
complex, but you'll get the gist:
try
{
DirectoryEntry dirEntry = n
Wondering if anyone has any info/code samples/docs on using the BCP API from
a .NET language. I'm looking to do massive import/export of data to MSSQL
without the encumberance of logging, indexing, etc; I can turn all that on
after the data moves. :)
Thanks.
===
14 matches
Mail list logo