BloggingAbout.NET
Thoughts of developers

Browse Site by Tags

Showing related tags and posts across the entire site.
  • How to: Code Service Dependencies

    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 on others, so these need to be started first. This...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 12-07-2006
    Filed under: .Net Do's & Don'ts, Code Samples
  • How to: Reformat your code in Visual Studio

    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 people are aware of this option, but I actually...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 11-15-2006
    Filed under: .Net Do's & Don'ts
  • How to: Change casing in Text to TitleCase

    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.CurrentCulture.TextInfo.ToTitleCase(...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 11-14-2006
    Filed under: .Net Do's & Don'ts, Code Samples
  • Centralizing AssemblyInfo settings, or simplify versioning of solutions

    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 have only a few settings that might differ between...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 11-02-2006
    Filed under: .Net Do's & Don'ts, Code Samples
  • Patterns and Practices Guidance Explorer

    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 you find them. Guidance Library is a catalog of guidelines...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 10-03-2006
    Filed under: Tools, .Net Do's & Don'ts
  • Upgrading VB6 applications to VB.Net and VB 2005

    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 than just running the wizard. I found extensive documentation...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 09-27-2006
    Filed under: .Net Do's & Don'ts
  • How to: Suppress FxCop messages in code

    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 want to catch all exceptions and display a message...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 06-08-2006
    Filed under: .Net Do's & Don'ts
  • Dispose and the Garbage collector

    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 Dispose method on any object that implemented one...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 01-19-2006
    Filed under: Memory management in .Net, .Net Do's & Don'ts
  • Using code analysis tools

    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 on several projects for various clients of the...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 01-03-2006
    Filed under: .Net Do's & Don'ts, Code inspections
  • New Recommendations for Using Strings in Microsoft .NET 2.0

    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 document: DO: Use StringComparison.Ordinal or OrdinalIgnoreCase...
    Posted to Jan Schreuder on .Net by Jan Schreuder on 06-14-2005
    Filed under: .Net Do's & Don'ts
Page 1 of 4 (80 items) 1 2 3 4 Next >
Copyright © 2003-2008 BloggingAbout.NET
Powered by Community Server (Commercial Edition), by Telligent Systems