Category Archives: .net

.NET mySql PerformanceMonitor Class

The 6.x mySql Connector for .NET comes with two performance counters that seem to be working rather well. If I call the same stored procedure 1,000 times… the metadata is only retrieved from the server the first time. All subsequent … Continue reading

Posted in .net, mysql | Leave a comment

Concrete Example – Mocking .NET Objects w/NUnit

Geoff Lane does a very good job of explaining .NET Mock objects. People were requesting a “concrete” example so I implemented an example C# console application (although this can easily be made into an ASP.NET web application). Geoff hints to … Continue reading

Posted in .net, testing | 3 Comments

MySql Connector .NET MySqlBulkLoader Example

Here is a MySqlBulkLoader example I quickly wrote to import 65,000 records into a mySql 5.1 database using the mySql Connector 5.2.5. And yes, its fast as snot (the lead programmer at my first programming job out of college invented … Continue reading

Posted in .net, mysql | 8 Comments

Unit Testing ASP.NET App_Code

I learn something new every day. Today, its the ability to Unit Test code in the App_Code folder using Visual Studio 2008 Professional. Most of the ASP.NET projects that I work on have their business logic contained in a separate … Continue reading

Posted in .net, visual studio | Leave a comment

Using Microsoft ADO.NET Entity Framework with MySQL

Unfortunately, this week’s Using Microsoft ADO.NET Entity Framework with MySQL Webinar is being postponed to Tuesday November 4, 2008. Myself and many others are looking forward to some (if not all) entity framework support. It seems that I check the … Continue reading

Posted in .net, mysql | 2 Comments

Visual Studio 2008 Justification

There are two primary justifications for my company’s latest purchase of Visual Studio 2008 Professional – 1. The ability to “target” previous .NET versions.2. The integrated unit testing. While we still have not setup the automatic builds (command line)… and … Continue reading

Posted in .net, testing | Leave a comment

VB.NET InternalsVisibleTo

Unfortunately, the InternalsVisibleTo attribute does not work with the .NET 2.0 Framework for VB.NET. However, I just installed Visual Web Developer 2008 Express SP1 Beta and it works! Thanks Microsoft for making my NUnit testing a little easier (and cleaner). … Continue reading

Posted in .net, testing | Leave a comment