Archives
-
Follow the .Net convention of appending Attribute to the name of your Attribute class at your own risk.
I have been delving more and more into custom attribute programming more and more lately and the following is a quote from my validation article (click here to view the article).
-
Validators in the Middle-Tier-A New Article on TheServerSide.Net
I just published an article on TheServerSide.Net. It's about creating and using validators in the middle-tier. Specifically, it talks about how to use attribute progamming along with reflection to decorate and then validate parameters, properties and fields.
-
Problems with P/Invoke.....Check out ClrSpy
Adam Nathan posted a cool little tool called CLRSpy for finding problems with P/Invoke on the GotDotNet board. We have a problem where we think a Cash Reader Device and Crystal are stepping on each others memory with a Kiosk Framework written in .Net .... I haven't used it yet to see if it solves my problems but it looks like it is worth a look.
-
Performance Metrics
Performance Tips and Tricks of .Net Applications. All too often we fall into what is easy versus what is right. I saw a comment in a discussion on www.TheServerSide.Net where someone pointed out the evil-ness of foreach. The trade-off and ease of use that enables us to write tight-compact code can sometimes cause a bloat in performance. We all must be diligent in the code we write....IMHO