Archives
-
Using Reflection to call an overloaded method on a dynamically loaded assembly
I had some fun today! I have a factory class for database access (it handles the creation of classes from either System.Data.SqlClient or Oracle's Oracle.DataAccess). The Oracle.DataAccess assembly is dynamically loaded if it's needed. Consequently, I use reflection when I need to interact with the Oracle types.
-
SQL Server 2000 Enterprise Manager Tip
This is too cool! From Scott Mitchell's blog:
-
RSS Feed made simple
Here's a great introductory article on creating an RSS feed for your site. This is basically the skeleton I used to add an RSS feed to our local user group's site.
-
A Great time at GLUGNET
On Thursday I did my COM Interop presentation for the Greater Lansing User Group .NET. I had a great time! They have a really nice group of people there. Good pizza and good prizes (an XBox!). Unfortunately, presenters were not eligible... :)
-
Why you can't unload an assembly
Josh Holmes and I had dinner with Chris Kinsman last night. He's in town for our .NET User Group meeting tonight. One of the topics that came up was unloading an assembly and the need for a separate AppDomain. We all remembered that there were some blog posts about this but couldn't recall details. I did some googling today and found a couple of relevant posts:
-
Whew! It's finally over!
Windows Automatic Update has been bugging me for a couple of months now to install the XP SP2 upgrade. I've been putting it off but tonight I decided I'd finally just get it over with and install it. It took almost 45 minutes to perform the update! I remember doing this on my desktop a week or so ago and it only took around 10 or 15 minutes. I guess thats the different between a 2-month old 2.5 GHZ desktop and a 2-year old 1.8 GHZ laptop... :)
-
Controlling log4net output
If you've used log4net before, you know it's a simple and easy way to add some pretty powerful logging capabilities to your application. I recently had log4net configured to log to both a text file and the console. I had the logging level configured for all messages, but I didn't want everything going to the console. After some digging through the docs I found out that you can add the "Threshold" parameter to an appender to control the logging level for a single appender:
-
Scripting a SQL 2000 Database
Local .NET guru (and VP of our .NET User Group) Josh Holmes pointed me to a handy little utility for scripting an entire SQL 2000 database (objects + data). I've used it a few times and it's a pretty neat way to pass around a database.
-
Naming threads from the thread pool
I was doing some multithreaded programming today and ran into a small problem. While googling for a fix, I found a very interesting item from earlier this year: Be careful naming threads that come from the thread pool (via the asynchronous programming model):
-
Ian Griffiths on Delegates and Events
In response to a question on the Developmentor WinForms mailing list, Ian Griffiths had a great introductory explanation on delegates and events.
-
Speaking in Lansing on Dec. 16th
I'll be presenting at the Greater Lansing User Group .NET on December 16th in Lansing, Michigan. I'll be giving a presentation on COM Interop -- specifically, creating .NET objects that will be exposed to existing, COM-based applications. If you're in the area, stop by!