.NET articles
C# and VB.Net articles, posts, tips, tutorials. We plan to regularly add new articles and posts on improving your code quality. Topics include strings, enumerations, proper architecture, source control systems, and proper OOP, possibly agile development articles as well.
If you are running a Web Site Project, yet you still want to have a build number somewhere in your application, this article will explain how you can create a simple tool to have an auto-increment build number and execute it using CruiseControl.NET
If you have crazy function overloads all over the place where you have to pass a transaction object and it seems to be never ending, here is a solution for you using the Spring.NET framework which is freely available and open source.
A howto guide on converting your application or code from VB.NET to C# using an online converter with some caveats.
Computers are deterministic. Understand how random generation works and how you need to be careful in how you use it, especially if you are depending on it for security purposes. Also has an explanation on how complex PokerStars software's shuffling algorithm is.
How to get inside the code of your third party .NET libraries and see what line is actually crashing and solve your problem much faster.
This is the second post in the series "What Makes a Sharp Developer"
This post will focus on: balanced lifestyle, no drugs, and a healthy balance between learning and working. Overall this article discusses how you can become a more valuable resource to your team and to your employers.
.NET introduces something called "conditional compilation", which allows you to specify debug-only code. Learn how you can leverage this to create smarter debugging code, an asset to development (as opposed to useless print statements)! Debug code that requires no extra effort to remove, and does not add to the size of the generated binary.
This article describes how to cache your SqlParameters. Using the SqlParameterCache allows you to increase efficiency of calling stored procedures and even on executing regular SQL queries!
Full .NET articles Archive