| .NET Dot Net Guruers |
| MSDN |
| XML Comments, Late-bound COM, and More |
|
| 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. |
|
| 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. |
|
| COM+ and .NET - A practical approach - Part 3 |
| The Code Project |
| A look at COM+ and .NET |
|
| Delegates |
| STANDARDIO.ORG |
| If you have spent your programming career within the confines of Visual Basic, or are a new programmer, you probably do not know what a delegate is or how to use one. First, what is a delegate? A delegate in the DotNet CLR is a type safe, object oriented function pointer. |
|
| Designing an Extensible DAL |
| DotNetJunkies |
| Filip walks you through how to design an extensible DAL. |
|
| Designing User Exits - a framework for application functionality extension using Microsoft .Net framework |
| The Code Project |
| An article on providing an interface for functionality extension or even functionality change in your applications |
|
| Events and Delegates simplified |
| The Code Project |
| This article shows you how to design events for your classes. |
|
| Generating code from code |
| The Code Project |
| This article describes how to programmatically generate and run .NET code. |
|
| Genetic Algorithms: Survival of the Fittest: Natural Selection with Windows Forms |
| MSDN |
| Breed better programs |
|
| Handy Type Editors. Universal Dropdown Editor |
| The Code Project |
| Implementing a universal dropdown type editor. |
|
| 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: Create An Assembly at Runtime and Call Methods |
| Microsoft Support |
| (821778) - This step-by-step article describes how to generate and compile Microsoft Visual C# code at runtime and how to call the methods from the newly created assembly. Microsoft .NET Framework provides a very useful namespace that is named CodeDOM (from code... |
|
| 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. |
|
| PRB: 'System.IO.FileNotFoundException' When You Use the Assembly.LoadFrom Method to Load a DLL |
| http://www.kbalertz.com/ |
| (818434) - When you try to load a DLL in your Visual J# .NET application by using the Assembly.LoadFrom method, and the URL of the DLL contains encoded characters (such as %20 for the space character), you receive the following exception error message:... |
|
| PRB: 'System.IO.FileNotFoundException' When You Use the Assembly.LoadFrom Method to Load a DLL |
| Microsoft Support |
|
(818434) - When you try to load a DLL in your Visual J# .NET application by using the Assembly.LoadFrom method, and the URL of the DLL contains encoded characters (such as %20 for the space character), you receive the following exception error message:...
|
|
| PRB: 'System.IO.FileNotFoundException' When You Use the Assembly.LoadFrom Method to Load a DLL |
| Microsoft Support |
| (818434) - When you try to load a DLL in your Visual J# .NET application by using the Assembly.LoadFrom method, and the URL of the DLL contains encoded characters (such as %20 for the space character), you receive the following exception error message:... |
|
| Reflection in C# |
| C# Help |
| This article explains how to make use of System.Reflection class to extract each and every detail of any class in .Net Framework.
The MemberInfo class available in System.Reflection namespace is an abstract class.
It discovers the attributes of a member and provides access to the member metadata.
We need to assign the details we need to query about a type viz. Constructors/Methods/Interfaces/Fields/Property etc. to the MemberInfo class local variable.
For this, We can make use of the methods GetFields/GetMethods/GetInterfaces etc.
|
|
| Reflection in C# |
| .NET Xtreme |
| The ability to find out information about objects at run-time is called Reflection. In Reflection we can find out the object’s class, details of an object’s methods, and even create one dynamically at runtime. Reflection is a powerful mechanism with the System.Reflection namespace contains nearly forty classes and interface. The Type class is the root of all reflection operations and the Object that represents a type inside the system. |
|
| Regasm2.exe - The .Net/COM+ Installation Tool |
| The Code Project |
| This article describes how to design, build and install .Net Application into the COM+ Catalog without using the ServicedComponent class in your application. The solution shows retrieving the assembly and class attributes (included custom) from the assembly file and their storing into the COM+ Catalog Objects using the C# language. |
|
| Runtime C# Expression Evaluator |
| The Code Project |
| This is a simple class library (or just .cs file if you wish) to allow for runtime compilation and evaluation of C# code blocks. There are both static methods of the Evaluator class that allow for simple use (but at a performance penalty) or you can use the object directly to create multiple evaluations. |
|
| Sorting DataGrid programmatically |
| The Code Project |
| This code sorts a Windows.Forms.DataGrid programmatically, "emulating" a header click. |
|
| Sorting datagrid programmatically |
| The Code Project |
| This code sorts a Windows.Forms.DataGrid programmatically, "emulating" a header click |
|
| Testing a Cloned Object Using Reflection |
| DotNetJunkies |
| The .NET Framework provides the IClone interface so that you can implement your own Clone() method in your class. However, since IClone is just an interface it is up to you to make sure that you are copying the properties/methods etc to the new object correctly. This can present a problem when testing your code as you need a way to programmatically check that it has all the same properties and methods, both public or private, that you would expect. In order to make sure of this you need to be able to comp |
|