Archive for the Category dotnet

 
 

What’s new in August 2006 Sandcastle CTP

Sandcastle produces accurate, MSDN style, comprehensive documentation by reflecting over the source assemblies and optionally integrating XML Documentation Comments. August 2006 Sandcastle CTP is available for download.

Here is a summary of what’s new in this CTP version:

  • Firefox support for Sandcasltle generated HTMs
  • 3 different link options (local, Index and MSDN) in sandcastle.config file.
  • /internal+- option in MrefBuilder enables documentation of private APIs to be produced for the internal consumption of development teams
  • Support for multi-dimensional arrays
  • Support for CHM Index and root node. Additional transforms are added to CHM generation process to accomplish this.
  • Support for all C# tags and html style elements in code comments
  • Abilty to use environment variables in config files
  • Changes to syntax for XSLTransform
  • Threading in C# - By Joseph Albahari

    Threading in C# An extensive article on multi-threading in C#. This tackles difficult issues such as thread safety, when to use Abort, Wait Handles vs Wait and Pulse, the implications of Apartment Threading in Windows Forms, using Thread Pooling, Synchronization Contexts, Memory Barriers and non-blocking synchronization constructs.

    [Via Roy Osherove's Blog]

    An excellent series of articles by Maoni about the Garbage Collection

    • Using GC Efficiently Part 1 Maoni explains the cost of things so you can make good decisions in your managed memory usage.Maoni focuses on Workstation Garbage Collection ,then talks about stuff that s different for Server Garbage Collection and when you should use which.
    • Using GC Efficiently Part 2In this article Maoni talks about different flavors of Garbage Collection, the design goals behind each of them and how they work differently from each other so you can make a good decision of which flavor of Garbage Collection you should choose for your applications.
    • Using GC Efficiently Part 3 In this article Maoni talks about pinning and weak references stuff related to Garbage Collection handles.
    • Using GC Efficiently Part 4In this article Maoni talks about things you want to look for when you look at the managed heap in your applications to determine if you have a healthy heap.

    Technorati Tags:  programming memory gc dotnet csharp clr

    Get PureComponents NicePanel for free

    PureComponents NicePanel is container component of active look, which will enrich your applications. NicePanel has header and footer, which widen its usage. Using gradient fill and color schemes you can easily and quickly set nice look, which can be further enhanced with images from integrated Clip Art or from file.

    Unlike standard Panel, NicePanel has wide spectrum of style settings which give NicePanel the ability to be used in many different application types.

    You can choose from three panel shapes - squared, rounded or chamfered. NicePanel can have header and footer in three different sizes and NicePanel look can be freshen by Clip Art pictures or images from file.

    Download PureComponents NicePanel

    How to delete file on reboot.

    This code snippet forces windows to delete the file on reboot.

    [System.Runtime.InteropServices.DllImport("kernel32.dll")]
    private static extern bool MoveFileEx(string lpExistingFileName, string lpNewFileName, int dwFlags);
    const int MOVEFILE_DELAY_UNTIL_REBOOT = 0x00000004;
     
    static void MarkFileToDeleteOnReboot(string fileName)
    {
        MoveFileEx(fileName, null, MOVEFILE_DELAY_UNTIL_REBOOT);
    } 
     
     


    Page 5 of 14« First...34567...10...Last »