| 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 |
|
| Application of the Cache Subsystem for Web Applications |
| C#Today |
| In this article, Eric Rhea explores two approaches to utilizing the caching system. First, he talks about how to make use of the cache subsystem from the web-form code. Then, he takes a look at exploring how to make use of the cache subsystem in the code behind. While doing this, he seeks three answers: (1) how to improve performance, (2) how to make use of similar techniques in both code areas, and (3) how to cache an object which is indeterminate in length and whose values you do not know in advance, and one which you cannot cache using the web-form directive. |
|
| Creating a Multi-User TCP Chat Application |
| MSDN |
| The .NET support for socket-based programming within Visual Basic is dramatically improved over what we had in Visual Basic 6. So even though we approach the programming issue somewhat differently, it is worth it due to all the new capabilities at our disposal. |
|
| 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. |
|
| Multiple Thread Techniques for a C# Windows Service |
| C#Today |
| Visual Studio .NET allows us to get a basic Windows service up and running quickly. The next step is to give our service the high-performance features and configurability required for real world applications. In this article, Scott Allen demonstrates how to use multithreaded techniques in .NET to achieve higher throughput and scalability in a sample Windows service. In addition, we cover configuration of the service via an XML file. In order to demonstrate the techniques discussed in the article we develop a "stock alerts" Windows service, which retrieves stock quotes from a web service and emails interested parties when a stock price moves past a specific threshold. The topics covered inside the article are also applicable to other .NET application types. |
|
| 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. |
|
| Populating a Search Engine with a C# Spider |
| The Code Project |
| How-to build an ASP.NET search engine link-spider using C# |
|
| Static-Site Search Engine with ASP.NET/C# |
| The Code Project |
| Simple, free, easy to install Search page in C# |
|
| Testing: Perform Code Coverage Analysis with .NET to Ensure Thorough Application Testing |
| MSDN |
| This article presents a complete system for determining how much of your code base you're actually testing. |
|