| A C# Grep Application |
| The Code Project |
| Presenting a small C# Application which is providing a Grep like functionality under .NET. |
|
| 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 Sneak Preview of Visual C# Whidbey |
| MSDN |
| Learn about new language constructs, compiler features, productivity enhancements, and debugger improvements in the upcoming "Whidbey" release of C#. |
|
| Abstracting ADO .NET |
| MSDN |
| With the release of Microsoft® .NET just around the corner, developers are gearing up to take advantage ot the many features, increased interoperability, and better data integration that the new framework promotes. While COM and Visual Basic® 6.0 are still widely used and will likely live on for years to come, I've met many developers who are anxious to get moving with the .NET components. Some of the questions I am asked most often regarding .NET are how developing with ActiveX Data Objects (ADO) 2.x will change under ADO .NET and how can you still abstract ADO into a data service component. So, in this month's Data Points column, I'll try to tackle these issues.
|
|
| Access Database Editor in C# |
| The Code Project |
| This project presents an Access Database Editor written in C#. The solution consists of two projects One of which the GenericOLEDB dll provides the access to the database through using the Ole Db classes available in C#. As the title suggests the dll code is completely generic and all the main database code that is specific to Access is contained in the project files that call the code. The main project and the consumer of the GenericOLEDB project contains two files the main file takes care of the specific creation and opening of the database as well as the database operations where there is no further information required, and the second file presents and editor that allows the editing of a row of data for insertions or deletions. |
|
| An Extensive Examination of Data Structures - Part 6: Efficiently Representing Sets |
| MSDN |
| Scott Mitchell discusses data structures for implementing general and disjoint sets. |
|
| An Interface-based Approach to .NET |
| http://www.csharpnewsletter.com/ |
| In this article, Brian Boyce explains what interfaces are and how they're used, and provides some methods for working with them. He also demonstrates how interfaces differ from abstract classes. |
|
| An introduction to Web Service Security using WSE - Part I |
| The Code Project |
| This article explains the first steps to build secure Web Services. It introduces the WSE specification and a first authenication mechnism based on username identifiction and password validation. |
|
| An introduction to Web Service Security using WSE - Part I |
| The Code Project |
| This article explains the first steps to build secure Web Services. It introduces the WSE specification and the easiest authentication mechanism based on username identification and password validation. |
|
| Array class and IEnumerator in C# |
| C# Help |
| This article illustrates the usage of Array class and IEnumerator in C#. Array class Provides methods for creating, manipulating, searching and sorting arrays, thereby serving as the base class for all arrays in the common language runtime.
|
|
| Building a Custom Data Provider for Use with the .NET Data Access Framework |
| MSDN |
| The System.Data.dll assembly in the .NET Framework contains namespaces whose base classes can be used to create custom data providers. These namespaces also define a number of data access interfaces and base classes that let developers create data providers that will interoperate with other custom providers. Using the ADO.NET classes Connection, Command, DataReader, and DataAdapter, writing a provider is easier than writing one for OLE DB. This article explains these classes and their implementation, and how they can be used to write a variety of different kinds of data providers. |
|
| Building Windows Forms on-the-fly with XML and C# |
| C#Today |
| In this article, Ashiwn Kamanna takes the concept of an XML driven Form builder a step further than the basics as he discusses how to eliminate the requirement for Form development, not only in an ASP based web application, but also in any potential client of an application. He discusses how to build a Form dynamically in a C# based windows application, and also discusses some object oriented patterns as he walks us through an example. |
|
| C# 2.0: Create Elegant Code with Anonymous Methods, Iterators, and Partial Classes |
| MSDN |
| Take a sneak peek at the most important new language features in C# 2.0, including anonymous methods, iterators, partial classes, and more. |
|
| 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. |
|
| C# Stack Demo |
| C# Help |
| This is a sample application demonstrating the use of the Stack Class.
Data is added and removed from the stack in the order the elements were inserted. |
|
| COM+ and .NET - A practical approach - Part 2 |
| The Code Project |
| A look at COM+ and .NET |
|
| Creating an ASPWire News Business Object Part 1 |
| DotNetJunkies |
| This article is part 1 of 2. In this article I will be illustrating how to use members of the System.Net namespace to create a business object that "Gets" all news headlines that ASPWire has available, parses through the return, constructs a DataSet object that holds a DataTable of all news items, and finally returns a DataView that you can bind to. We also make use of Page Caching to limit our request for the data to 3 times per day. We cannot give all the code necessary for you to run this example on you |
|
| Creating an ASPWire News Object Part 2 |
| DotNetJunkies |
| Upon further thought creating a web service based on the ASPWire example in Part 1 of this article would not be that beneficial to sites like ours unless we were ASPWire. I do show the code in this article to create the web service, but it would be easier and more cost efficient to create the business object from part 1 and use that. Besides creating the web service in this article I am going to be demonstrating a better method of caching and reusing the DataSet returned by the business object from part 1. |
|
| 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 Data Bound Controls |
| C#Today |
| In this article, Matthew Reynolds takes a look at how to build Windows Forms controls that support data binding. Youre probably already familiar with how to use data binding with Windows Forms controls supplied with the Framework, but what you may not be familiar with is how to create your own controls that have this functionality. This article will show you how. |
|
| Data Structures : Part 1 - Singly Linked Lists |
| The Code Project |
| An easy implementation of a singly linked list |
|
| Design Patterns: Solidify Your C# Application Architecture with Design Patterns |
| MSDN |
| A design pattern can solve many problems by providing a framework for building an application. Design patterns, which make the design process cleaner and more efficient, are especially well-suited for use in C# development because it is an object-oriented language. Existing design patterns make good templates for your objects, allowing you to build software faster. This article describes several popular design patterns you can use in your own applications, including the singleton, the decorator, the composite, and the state classes, which can improve the extensibility of your applications and the reuse of your objects. |
|
| Developing A Vector Based C# Drawing Application - Part 3 |
| C#Today |
| In the first part of this series, Budi Kurniawan discussed the specification for a vector based C# drawing application. In Part 2, we looked at the Shape abstract class and the seven classes that inherit it. We also examined how an event handler works in a Windows application and we briefly discussed the System.Collections namespace. In this final part of the project, we will complete the development by discussing the DrawingArea custom control, the Color and Pen classes from the System.Drawing namespace, and object serialization - which is used to persist our drawing to a file, to be restored at a later stage. |
|
| Developing Collection Classes In .NET |
| C# Help |
| Collection resembles to grouping together the set of objects with the same characteristics, in programming paradigm it resembles to the set of object instances of the same class.
In .NET, class libraries provides the collection interfaces that are used to develop one's own collection classes. The basic functionality for the collections is made available by inheriting the abstract (MustInherit in VB) Class CollectionBase from the System.Collection namespace. The CollectionBase class provides the implementations for the Clear method and the Count property, and it maintains a Protected property called List, which it uses for the internal storage and organization of the object instances. Other methods such as Add and Remove as well as the Item property requires implementation to be provided. |
|