| .NET Remoting Interception |
| C#Today |
| With the advent of .NET, Microsoft realized the need for a more flexible approach for building distributed applications. .NET Remoting is the technology that allows remote components to interface and integrate. However, in order for this transparent integration, .NET remoting needs to provide some plumbing wherein it can resolve object references and direct method calls to the specific application hosting the required component, on the specific machine. This concept is based on the principle of Interception. In this article, Kaushal Sangahvi discusses the interception mechanism that is used by remoting, to allow for location transparency of objects. |
|
| A Data Access Layer to Persist Business Objects Using Attributes and Reflection |
| The Code Project |
| Then I came up with the idea of creating classes that would say how they should be persisted in the database. I would use attributes to say what database table my object should be persisted to, as well as other attributes to say what are the properties that should be mapped to table columns. From now on to update my code after a change in the solution I would only change the business object class. |
|
| A Practical Guide to .NET DataTables, DataSets and DataGrids - Part 2 |
| The Code Project |
| The purpose of this document is to provide a practical guide to using Microsoft’s .NET DataTables, DataSets and DataGrid |
|
| Accessing Message Queues |
| MSDN |
| This article describes how to use System.Messaging classes in the Microsoft .NET Framework to read and write to MSMQ queues. The information discussed in this article applies to Beta 2 of the .NET Framework and Microsoft Visual Studio .NET. |
|
| Advanced Data Mapping in .NET |
| DotNetJunkies |
| In this article, Tin demonstrates 3 automated mechanisms for data mapping: mapping from Database table columns to object properties, mapping from HTML form fields to object properties, mapping from ASP.NET Web controls to object properties. |
|
| 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. |
|
| ASP.NET/COBOL.NET Database Access Example |
| ASP Alliance |
| One of the features of the .NET framework is its ability to handle multiple languages. Third party compiler vendors can create and implement a compiler targeted for the .NET runtime. In fact, over the course of the next year, you can expect to see some 28 languages ported to the .NET runtime. This will allow companies with a huge codebase in a "non-Microsoft language" to continue building onto their investment. |
|
| Auto-Generating Wrapper Classes for Stored Procedures, Part 2: The Internals of the AutoSproc Tool |
| MSDN |
| Review the AutoSproc tool, which uses a code generation technique using classes from the System.Reflection.Emit namespace. It is assumed that the reader is fully conversant with the System.Reflection namespace, but not System.Reflection.Emit or CIL. |
|
| BUG: An exception error occurs when you pass VARIANT parameters by reference to an MFC IDispatch COM Component in Visual Studio .NET 2002 |
| http://www.kbalertz.com/ |
| (312910) - Discusses the problem of passing VARIANT type parameters by reference to MFC IDispatch in Visual Studio .NET 2002. Describes a workaround for this problem. |
|
| C# and Visual Studio.NET for Applications |
| C# Help |
| VSA provides a fully integrated way for customers to seamlessly customize and extend the functionality of Web-based applications using familiar tools." claims Microsoft. What is VSA? It's the .net version of VBA, Visual Basic for Applications, which is used to write Macros and Extensions for Outlook, Word and Excel etc. |
|
| 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. |
|
| Changes to datagrid text are lost in Visual C# .NET 2003 project |
| http://www.kbalertz.com/ |
| (839225) - Discusses an issue where changes made to datagrid text in a Microsoft C# .NET 2003 project are not retained if the column data is partially selected and contains the currency or comma symbols. |
|
| Declarative QueryString Parameter Binding |
| The Code Project |
| Describes using reflection to automatically populate member parameters from the Form and Querystring. |
|
| Description Enum TypeConverter |
| The Code Project |
| This article explains how to manage to make a TypeConverter for enums using its descriptions. |
|
| DragData Demo |
| The Code Project |
| How to pass custom objects in a drag-and-drop operation |
|
| Exposing Type Information |
| C#Today |
| In his previous article, Morgan Skinner looked at the TypeDescriptor class, and how it could be used to retrieve various pieces of information from a type (or object). In certain situations however, you might want to augment or bypass the information returned from the TypeDescriptor, and in order to do this you need to implement the ICustomTypeDescriptor interface on your type. In this article, Morgan examines the ICustomTypeDescriptor interface, and show some examples of where it might be used, such as to to construct a list of properties on the fly when reading records from a database and displaying them on screen. Using the ICustomTypeDescriptor interface, it is possible to give each record its own list of properties, which might be useful if you want to permit or deny access to those properties based on some row level security settings. |
|
| Genetic Algorithms: Survival of the Fittest: Natural Selection with Windows Forms |
| MSDN |
| Breed better programs |
|
| Gozer the Destructor |
| MSDN |
| Of all the topics that trouble C++ programmers who consider C#, probably the most volatile is C#'s lack of true synchronous or deterministic destructors. |
|
| Hardcore Visual Studio .NET: Extensible Applications: New Features Without Recompiling |
| MSDN |
| Joe Wirtley of Hardcore Visual Studio .NET shows you how to use reflection, interfaces, and dynamically loaded assemblies to create applications that can easily be extended with new business logic. |
|
| How to handle events during a web service call ? |
| The Code Project |
| c#-class that allows to run web service asynchronous to handle events during them |
|
| HOW TO: Write to and Read from Microsoft Message Queue Server in Visual C# .NET |
| http://www.kbalertz.com/ |
| (815811) - This article describes the following: How to create a message and send it to Microsoft Message Queue Server (also known as MSMQ) in a Windows application. How to read from a private queue and to deserialize the message contents for display. back to... |
|
| HOW TO: Write to and Read from Microsoft Message Queue Server in Visual C# .NET |
| Microsoft Support |
| (815811) - This article describes the following: How to create a message and send it to Microsoft Message Queue Server (also known as MSMQ) in a Windows application. How to read from a private queue and to deserialize the message contents for display. back to... |
|
| Inherited Class Skeleton Generator |
| C# Corner |
| Inherited Class Skeleton Generator (ICSG) is a handy tool, which can be used to make your programming under .NET productive. It quickly generates class skeleton with needed members. ICSG is written in C# and utilizes Reflection and CodeDom namespaces of .NET. |
|
| Internal Site Search Engine |
| The Code Project |
| Site Search Engine searches an entire page for matching keyword(s) or a phrase and will count how many times the keyword(s) or phrase are found on the page, and displays the results with the highest matches first. |
|
| JIT Coding |
| C# Corner |
| One not so well known feature of .NET platform is possibility to invoke compiler and practically create code and assembly from running instance of application. It is possible to do that in two ways. First one is a bit simpler and involves namespaces System.CodeDom and System.CodeDom.Compiler, second one is more efficient and utilizes namespace System.Reflection.Emit. |
|