.NET Data Practices
Search this Blog!
I’m a big fan of Object Persistence frameworks, but this article shows how you can take it to a whole new level using .NET 2.0 Generics.
Most of the time, we end up using Crystal (shudder) or SQL Server Reporting services, but this might be a good alternative for simple reports.
Ready to jump on the CSS bandwagon? Go here.
I think someone at Microsoft read a book and discovered the phrase “dependency injection”. It’s in quite a few of their articles lately. Despite it’s apparent “buzzwordiness”, it’s a useful tool. Check out Griffin Caprio’s article here.
A good article on operator overloading in Visual Basic. I (stupidly) never realized that you could overload CType. Of course that’s necessary in retrospect, because it is the main casting device for VB. Anyway, the article is here, or in your latest issue of MSDN Magazine.
This may be the best blog entry from Dave Hayden yet. If you’re a “software developer” who wants to be an “architect”, you need to read this.
This is an interesting blog entry on Clipcode-GoF-DSL and the One-To-One Mapping Anti-Pattern. To quote:Last week Eamon O'Tuathail of Clipcode released a Domain Specific Language (DSL) for some of the Gang of Four design patterns using the Microsoft DSL Tools for Visual Studio 2005. It is indeed a very remarkable proof of concept and although the implementation is still pretty rough, it represents a valuable model for discussion and learning. Also: The DSL designer currently allows setup and code ......
Those that know me, know that I spend a lot of time harping on unit testing. Well, just having unit tests and running them isn’t enough. They have to be good unit tests, as edjez discovers here.
Régis Daniel de Oliveira has a great article at CodeProject on how to improve ViewState performance. His article is definitely worth a read.
Keep ASP.NET ViewState out of ASPX Page for Performance Improvement
There’s a great article on Unit Testing over at O’Reilly. Lots of stuff on all the current flavors. They have really good things to say about MbUnit, which I admit, I’ve never tried. Go to ONDotnet.com: Unit Testing in .NET Projects to find out more.
I’ve been reading Steve McConnell’s excellent Code Complete 2nd Edition, and it’s caused me to have an epiphany of sorts regarding dealing with errors. The funny thing is that I don’t even think that this section is particularly well written, nor do I agree with some of his conclusions. But reading it did get me to thinking about the way I code and the reasons I make the decisions that I do. (Ok, Ok, so this book has been on my “Currently Reading” list for almost ......
As I said in this post, the ReSharper 2.0 EAP has begun. There have been a total of three releases that I’ve seen, 201, 203, and 204. 201 was very buggy, but helpful, even still. I never got 203 to install properly and it managed to completely screw up my VS 2005 environment (VS 2005 often won’t start, causes blue screens, etc.). I’ve tried a number of things to fix my VS 2005 issues, but no go so far. 204 seems to be a little less buggy than 201 and actually installs for me. This ......
This comes from Cyrus and is a must-read to anyone using C# 2.0.
Cyrus' Blather : You did it!
This weekend, I read The FairTax Book, by Congressman John Linder (R-GA) and syndicated talk show host Neal Boortz. A few words about Mr. Boortz are necessary before you visit his website, if you’re not familiar with him. Mr. Boortz is a conservative talk show host, and I would describe him as a “Libertarian crank”. I think I can get away with this, because I don’t think he’d disagree or find it insulting. If I’m wrong, I will change this and apologize. Anyway, ......
Well, it’s been approved. I’ll be seeing some of you in LA in September. A chance to meet/see again some of the people I’ve been reading and writing about. Not sure on the specifics on my itinerary yet, but will post more info when I can. Now playing: Leonard Bernstein; New York Philharmonic - V. Saturn, The Bringer Of Old Age ......
If you’re new to Visual Studio 2005, or just .NET development in general, you should check out the Visual Studio 2005 Starter Kits.
Ron Talmage has written a great article on one of the best benefits of adding the CLR to SQL Server 2005’s T-SQL implementation.
Using TRY/CATCH to Resolve Deadlocks in SQL Server 2005
I’ve done String Enumerations in C# before, but this implementation is much better than mine.
Here’s a great Generic Singleton Provider for .NET 2.0.
I have problems with some of Rocky Lhotka’s stuff, but I do think his ideas on tiers vs. layers have merit. Dave Hayden picks up that torch and runs with it in his post on Web Applications: N-Tier vs. N-Layer - Benefits and Trade-Offs.
As usual, Dino Esposito does an impeccable job in comparing DataSets and Collections. You should check out this article.
Cutting Edge: DataSets vs. Collections -- MSDN Magazine, August 2005