Matthew ".NET 247" Reynolds
Matthew Reynolds... software development consultant, author, speaker and trainer
-
Explorer File Icons in .NET
Here's a useful article on working with icons in Win32 resource files and exes.
Abstract:The System.Runtime.InteropServices namespace contains many useful classes, structures and attributes that you can use to access your legacy libraries and resources. The .NET Framework as a whole also provides many services for migrating existing code and resources to managed code. This article explains how to use these services to extract resources from Win32 resource files as well as how to write icon resources to .ICO files. It also covers many of the issues surrounding resource management and interoperating with unmanaged code, memory and binary formats.
Also: http://www.dotnet247.com/247reference/msgs/25/129205.aspx -
view
A little known(and little documented) class in the framework is the System.Collections.Specialized.BitVector32 . It allows working easily with 32 bit integers, which are used extensively in optimized environments as a way to quickly pass data around.
-
System.Uri - (Apparently) Poor API decisions..
Tim Marman posts: " Can anyone offer a compelling reason why the BasePath and CurrentDocument properties are (and/or should be) protected on the System.Uri object?? I can't think of one. "
-
NUnit Add-in VS .NET Shortcuts
Those using the excellent NUint Add-in for VS .NET, don't forget that you can customize your VS .NET keyboard assignments such that a key combination will run the tests in NUnit, or using the debugger.
Using Tools - Options - Keyboard, search for "Show commands containing" NUnit.
- NUnitAddIn.Connect.BuildAndTestClient - runs the tests inside the VS .NET envrionment,
- NUnitAddIn.Connect.Debugger - runs the tests using the VS .NET debugger.
-
NUnit and IThreadLogicalAffinative - AppDomains, CallContexts and weird, weird problems
Recently, at one of my clients we've been spending some quality time with NUnit. However, we ran into one major problem that you too may have had. This is actually more of a discussion on Remoting, but it's relevent to those using NUnit.
-
Determining Framework *Folder* at Runtime
Tada:
-
Source control - SourceSafe vs. SourceGear Vault - the CEO speaks!
For my new book, I've been researching source control packages. I've been talking to Eric Sink, CEO of SourceGear about their product SourceGear Vault.
-
Open Source C# FTP Library
The title says it all. Get it here.
-
Setting full-trust to signed assemblies
You're probably all aware that assemblies should be signed before application deployment. In fact, I'd go one further and say that assemblies should be signed during development. Upon deployment, however, you may need to configure the user's machines such that assemblies signed by your development team run with full-trust. (Especially true when using no-touch deployment.)
-
Deploying .NET with Active Directory
MSDN article on deploying the .NET runtime using Active Directory.