Browse by Tags
All Tags »
.Net Do's & Don'ts (
RSS)
On my current assignment we develop and maintain a number of Windows services. Some of these service depend on others. The problem we faced when we needed to deploy new versions, is that services did not start in the correct order. Some services depend...
We're all really fast at coding, right. So you don't want to bother with things like proper casing of keywords (in VB.Net) and properly re-aligning the code. Well, Visual Studio can do that for you with just a few keystrokes. I noticed that not that many...
At Tech-Ed 2006 I attended a session about hidden treasures in .Net. One of the treasures mentioned there was the ToTitleCase() method. This method changes the case of the first character of each word in a text to Upper case: System.Threading.Thread.CurrentThread...
I'm working on a solution in Visual Studio 2003 at the moment, which contains about 15 assemblies. All these assemblies have a AssemblyInfo.cs file which contains more or less the same information. In general, when you look at larger solutions, you will...
Some weeks ago, Microsoft have released the Patterns & Practices Guidance Explorer for .Net and Asp.Net applications. If you want to know what the proven practices for security and/or performance are for .Net applications, this is the tool to help...
I was asked a question about this for a possible new assignment and obviously thought of the upgrade wizard that is part of the Visual Studio IDE. Just open the VB6 solution in Visual Studio and just follow the steps. But there's obviously more to it...
You all know the problem. You run FxCop on your project or solution and it keeps throwing messages at you that for some reason you want to ignore for this project. Say you're building a WinForms application and in the click event for your button, you...
I was assigned to a .Net web project some years ago to see why the application continued to allocate more and more memory untill IIS thought it was to time to restart the application. I solved a lot of the problems in that project simply by calling the...
If you're not interested in someone expressing his feelings about checking code and code quality, please skip this post. If you're still reading this, then I assume you're interested and I would really like you to comment on this subject. I've been working...
We've been discussing string use in .Net on several occasions. You can use this link as a starting point. I just read an interesting article on MSDN, with recommendations for string use in .Net 2.0 . The document focuses on string comparisons. From that...
About a week ago, Bob Gladon blogged about the performance of string concatenations . Erwyn van der Meer, a colleague of mine who unfortunately still doesn't blog here, responded to that post with a link to Rico Mariani's weblog . Rico regulary blogs...
I was asked today if I knew of a way to get started with Visual Studio 2005. So I checked the Visual Studio Express Edition website and found the Absolute Beginner's Video Series to Visual Studio 2005 Express Editions . This video series is designed specifically...
Cyrus Blather has written a very detailed article about the “using” construct and the pro's and con's of using it. I read it earlier this week and find it really interesting. I decided to blog the link after talking to a colleague about the...
I talked to Patrick about the problem he had with hashtables and how good he thinks the VB.Net collections are. He wanted to add objects to a list and retrieve them in the order in which they were entered. Hash tables are organized using the hash code...
This morning, when I started my project and tried to recompile, Visual Studio 2003 started complaining. It gave me the following error message: unexpected error creating debug information file 'X:\Projects\.....\bin\debug\project.pdb. I tried deleting...
More Posts
Next page »