| A Dictionary Collection Sorting By Value |
| The Code Project |
| An article on creating a custom collection like the SortedList that sort entries by value instead of by key |
|
| A LargeListDictionary Implementation |
| The Code Project |
| Implementation of a list accessible by key with Hashtable-like performance |
|
| A Matter of Context |
| MSDN |
| ASP introduced several intrinsic objects like Request and Application to help track the context for an HTTP request. ASP.NET takes the next step and bundles these objects, plus several additional context-related objects into an extremely handy intrinsic object called Context. Context is an object of type System.Web.HttpContext. It is exposed as a property of the ASP.NET Page class. It's also available from user controls and your business objects (more on that later). |
|
| Adding a Description to a .NET Windows Service |
| The Code Project |
| Although the .NET Framework provides extremely robust Windows Service support through the classes available under the System.ServiceProcess namespace, for some reason the ability to specify your the description displayed in the Services control panel applet/MMC snap-in for your service was omitted. There exists an attribute class named ServiceProcessDescription, but it actually specifies what the Services MMC displays under the name column, and the Description column is left blank. This article will walk you through a low-level hack for adding a description by adding it directly to your service's registry key. |
|
| ASP.NET Color DropDown Control |
| The Code Project |
| An example of persisting and parsing a custom collection in an ASP.NET server control. |
|
| ASP.NET Server Control Creation |
| C#Today |
| ASP.NET custom server controls provide a powerful architecture for isolating the atomic functionality of applications, using highly reusable compiled components (dll). This makes enforcing application-wide rules and applying composite view design patterns easy. In this article, Daniel Cazzulino will look at numerous facets of these controls, such as extending their functionality. |
|
| C# From a Java Developer's Perspective |
| http://www.25hoursaday.com/ |
| What follows is an overview of similarities and differences between the language features and libraries of the C# and Java programming languages based on my experience using both languages. All code snippets below were tested on Microsoft's .NET Framework Beta 2 for C# snippets and Java™ 2, Standard Edition (J2SE™) version 1.4 Beta 2 for the Java snippets. |
|
| Catalog Now! |
| The Code Project |
| Track all your files, locally, on CD-ROMs, and on removables. |
|
| Code Generation in the .NET Framework Using XML Schema |
| MSDN |
| Learn the difference between typed datasets and classes generated by the xsd.exe tool. Extend this process by reusing the infrastructure classes supporting it, staying compatible with the XmlSerializer. |
|
| Creating Custom Collections |
| FLWS.com.au |
| Even though the FCL offers many different collection types such as the SortedList, ArrayList, Hashtable etc., sometimes it makes sense to create your own. Creating your own, custom collection can help to make your code more self describing. |
|
| Creating dynamic data structures |
| FLWS.com.au |
| In the first part of this series - Creating custom collections - I showed how to wrap a .NET collection class to create a new enumerable collection with a custom name. In that article I used an ArrayList as my underlying storage container. Was that a good choice? Should I have used a HashTable? What's the difference anyway? Well, as you are probably aware, there are many differences between a HashTable and an ArrayList, but what you may not already know is that these differences can dictate how the underlying data is stored in memory. In this article I'll explain the different structures that are used to store data in memory and demonstrate why different collection classes require different underlying structures. |
|
| FIX: You receive the "Does not implement interface member 'System.Collections.IEnumerable.GetEnumerator()'" error message when you try to build a Web Control Library project |
| http://www.kbalertz.com/ |
| (836127) - Explains that the Visual C# .NET 2002 Implement Interface command does not implement all methods that have the same name and parameters, even though they may have different return data types. |
|
| Format for .NET Remoting Configuration Files |
| MSDN |
| All remote objects have to be registered with the Remoting Framework before clients can access them. During this registration process, the Framework is provided with all the information required to activate and manage the lifetime of the object. The most important pieces of information required for registration is the type of the object, the URI where it will be deployed, the activation requirements for managing the object lifetime and the channels that can be used to connect to this object. |
|
| GUnit, Generative Unit Test Framework |
| The Code Project |
| A new highly flexible unit test framework with new fixtures |
|
| IEnumerable, IEnumerator, and Dictionaries |
| C#Today |
| One of the many new and useful features in C# is the ability to use foreach loops to iterate through items in an array or collection. This relies on the implementation of two interfaces from the System.Collections namespace: IEnumerable and IEnumerator. In this article, Karli Watson takes a look at exactly what goes on under the hood in foreach loops. By knowing how things work we can take advantage of the system to create novel classes, and will be better equipped to customize some of the more advanced collection classes that the .NET framework has to offer, allowing us to streamline our code by bypassing much of the overhead inherent in more verbose collection classes. |
|
| MbUnit : Generative Unit Test Framework |
| The Code Project |
| A new highly flexible unit test framework with new fixtures |
|
| Modularizing Object Collections With The Collections API |
| C#Today |
| The Collections API in the .NET Framework merits close attention by all .NET developers because of the flexibility it offers for writing applications in .NET. We can use it to manage groups or collections of similar objects, standardizing the way in which groups of objects are handled by our programs. In this article, Thiru Thangarathinam takes us through a tour of all the important collection classes by showing us examples, and then goes on to show us how these collection classes can be very useful in the day-to-day work of a developer. |
|
| NET Diagnostics – IV, Use Environment Class To Get Your Environment |
| The Code Project |
| As the title of article says, I will be discussing use of Environment class in System namespace. I was looking for equivalents to some of very useful Win32 APIs that we use in our projects a lot. E.g. what is my OS, what is path to system folder, what is the current folder, how do I terminate a process, etc? In Win32 we have APIs like GetVersionEx, GetCurrentDirectory, GetSystemDirectory, exit, etc. to accomplish all these tasks. So where do we look in .NET SDK for all these APIs. |
|
| Using Message Queuing for Custom Remoting Channel |
| The Code Project |
| This article describes how to design, implement (C#) and configure the Custom Remoting Channel using Message Queuing. |
|