C# Corner

Resources  
  • Asynchronous Request in .NET (C#)Jan 09, 2000. This code sample shows how to call a COM component in .NET framework using C#.
  • A Graphics Component in C#Jan 15, 2000. In this example we have an XYGraph Component and a form that uses it.
  • Building the Middle Tier in the Microsoft .NET FrameworkJan 16, 2000. Building the middle tier in the Microsoft .NET Framework.
  • A GridView Component in C#Apr 05, 2000. This example shows you how I've wrapped a ListView in a UserControl and turned it into a simple grid control.
  • Feature I LikeOct 04, 2000. This article explains how easy to create a component using C#.
  • Calling a COM Component From C# (Late Binding)Jan 08, 2001. This code sample shows how to call a COM component in .NET framework using C#.
  • Reading and Wtiting XML DocumentsJan 16, 2001. In this article you will see how to read and write XML documents using XML API available in .NET Framework class library.
  • Schedule Program Using C#Feb 22, 2001. The Scheduling program consists of three main classes. The Form, the DatabaseController used to read and write scheduled events into the database and RowData which corresponds to data extracted from a row in the database.
  • Deploying Programs in C#Mar 08, 2001. Deploying projects in Visual Studio.NET is fairly straightforward. Most of the process is automated for you through some convenient wizards so it doesn't require much effort. Keep in mind, though that you probably need the Windows Component Update Beta 1 on the machine you are deploying to. I suspect you also need the Microsoft .NET Framework, as well (for now).
  • Testing .Net Components Using NUnitMar 08, 2001. Write unit tests before starting development". Writing test allows me to see immediate results of every code change.
  • Deploying Programs in C#Mar 08, 2001. Deploying projects in Visual Studio.NET is fairly straightfoward. Most of the process is automated for you through some convenient wizards so it doesn't require much effort.
  • Loading a Form IconMar 13, 2001. In .NET framework, the Icon class represents a Windows icon, which is a small bitmap image used to represent an object. The icon class is defined in System.Drawing namespace.
  • Introduction to SOAPMar 22, 2001. Since the release I have been fascinated with this thing called SOAP, This bubbly new protocol backed by the power of XML is certainly going to make waves in the world of distributed computing. The first thing which comes into our mind is “Why the heck we didn’t think of this before?
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • Accessing .NET Components from COM Clients and COM components from .NET ClientsMar 26, 2001. In this article I am going to explain how to access a .NET component from a COM client and accessing COM from .NET clients.
  • Drag and Drop Using C#Mar 30, 2001. Drag and Drop in C# has been a question on the UseNet and many websites on C# so I have decided to tackle the problem here. This is an update of the directory tree component download on this web site.
  • Naming Guidelines in .NETApr 20, 2001. Commenting and following a uniform naming guidelines in your code is one of good programming practices to make code more useful.
  • Working with Relational Data in ADO.NETMay 03, 2001. Working with hierarchal data was not that easy with the previous version of ADO.
  • Using .NET Framework Multithreading and GDI+ to Enrich the user experienceMay 04, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Line numbering utility in C# and JavaMay 08, 2001. After reading this article Java programmers should be able to decipher and de-jargonize the .NET architecture and relate it with the proposed ECMA standard.
  • .NET framework comparison with Java ArchitectureMay 08, 2001. This article outlines Microsoft's proposed standardization of .NET framework in ECMA forum as CLI (Common Language Infrastructure), but the Microsoft documentation refer this as CLR (Common Language Runtime).
  • Ouch! There is a Hook in My C#May 15, 2001. As an extension to the J++ design practice, C# has a syntactic construct, called Attributes, which let you drop hooks to Windows API or modify the runtime semantics, like threading synchronization behavior. The C# has legalized the hooking practice by calling them Attributes, and including them in ECMA C# specification.
  • Will Java and .Net Framework Co-exist?May 15, 2001. The article begins by briefly probing what constitutes the Java platform and .NET framework.
  • Using Reflection and With Class2000 to view the .NET System.Drawing library Part IMay 29, 2001. Using the power of .NET and the power of COM InterOperability through WithClass 2000, you can view the System.Drawing library in a rough UML diagram.
  • Reminder ProgramJun 08, 2001. The program allows you to set a running timer to remind you of an upcoming event.
  • Com and Component creation in C#Jun 09, 2001. Component is nothing but the reusable piece of software in binary form that can be plugged into other components from other vendors.
  • ADO.NET: What's changed in .NET Beta 2?Jun 20, 2001. ADO.NET API is one of the changed APIs. In this article, I've covered some of ADO.NET changes in Beta 2.
  • IL "The Language of CLR" - A Platform for Cross-LanguageJun 28, 2001. This article introduces the Cross-Language capabilities of CLR environment (Common Language Runtime Environment) and its constituent language IL (Intermediate Language).
  • Net DDE to DOTNET RemotingJul 02, 2001. This article travel through time to trace the genesis of Dot Net Remoting right from RPC to RMI till SOAP.
  • CDataService: A Generic Database Access ClassAug 09, 2001. Using a generic database access component in data-aware applications can simply development and separate data tier from business tier.
  • C# or VB.NET - World War IIIAug 23, 2001. In this article I'm going to go under the hood and show you what really happens to the in C# and VB.NET.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part 2Aug 24, 2001. This second article in this series dedicated to Web services comes as a sequel to the first one in which I started to tell you how you could build different kind of clients and services using MS SOAP Toolkit, Apache SOAP for Java and .NET Framework.
  • Web Service Between .NET, Java and MS SOAP Toolkit - Part IIAug 24, 2001. Second article in this series dedicated to Web services comes as a sequel to the first one in which I started to tell you how you could build different kind of clients and services using MS SOAP Toolkit, Apache SOAP for Java and .NET Framework.
  • A Vision Regarding .NETAug 27, 2001. The present enterprise setup's need to have n-tire architecture with diverse platforms and object models communicating with each other. The present applications are to be created such that those applications have to run in any platform (like Windows, Linux, Mac , Unix etc) and which consist of components written in many programming languages and object models.
  • Interface Components Interoperability Aug 27, 2001. The fundamental concept behind both COM and DCOM is the interface. An interface is an agreement between a client and an object about how they will communicate with each other.
  • An insight into Code Reusability and COM Interoperability : Part IAug 28, 2001. Code reusability is the art of using existing code to achieve better productivity and ease of maintenance. The concept of reusability is not new. Its existence has been evident since the evolution of mankind.
  • Modest Introduction to IL Assembly LanguageSep 03, 2001. Since I received copy of Visual Studio .NET Beta 2 and did not manage to find “ILAssemblyLanguageProgrammersReference.doc” which was included in beta 1 I decided to share my experience with other assembly enthusiasts.
  • Web Browser in C# and VB.NETSep 11, 2001. This article explains how to add and web browser ActiveX to your project to developer your own customized web browser.
  • Is there any need to Boxing and UnboxingSep 21, 2001. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system wherein a value of any type can ultimately be treated as an object.
  • Exception Handling in C#Oct 17, 2001. Exception handling is a builtin mechanism in .NET framework to detect and handle run time errors.
  • Introduction to Pocket PCOct 31, 2001. At the time of writing (Oct 2001) Microsoft has shipped Pocket PC 2002 and also has just released the Visual Studio .NET add-on for Pocket PC called the compact framework.
  • Components in C#Nov 06, 2001. The components creation and usage in C# is much more simple than earlier technologies like C++, ATL, COM.
  • Network Programming in C# - Part 1Nov 12, 2001. The .NET framework provides two namespaces, System.Net and System.Net.Sockets for network programming
  • An insight into Code Reusability and COM Interoperability - Part 2Nov 26, 2001. We have mushrooms of network systems running across the globe based on many proprietary protocols. In order to integrate these systems to communicate with each other in a more meaningful way, developers or organizations have to face an uphill task.
  • XP, Component Services and .NETDec 13, 2001. First of all, COM+ does revolutionize COM; it is not only a superior new version of the COM programming model it is also a new platform to design and develop components. In addition, COM+ Services in XP does have some differences from Windows 2000; also XP and COM+ 1.5 offer a richer set of services than was available in COM+ 1.0. This article will describe the basic component services on the XP.
  • Builder Patterns in C#Dec 20, 2001. Builder is an object creational design pattern that codifies the construction process outside of the actual steps that carries out the construction - thus allowing the construction process itself to be reused.
  • Space Invaders in C# and .NETDec 23, 2001. Yes, the classic arcade game has returned and is appearing in C# Corner complete with sound and authentic aliens and source code. It's not quite as good as the real game, but with a few adjustments it can get there.
  • Graphics Programming in C#Dec 26, 2001. The new improved version of GDI is called GDI+. The .NET framework provides a rich set of classes, methods and events for developing applications with graphical capabilities.
  • Overview of Automated TranscationsJan 04, 2002. Two or more .NET Framework objects can participate in the same transaction. One or more .NET Framework objects can participate in the same transaction as one or more COM+ objects. All objects must be hosted in Microsoft Windows 2K Component Services so as to receive services such as transaction processing.
  • Using MS Agent in C#-Part-I(Text To Speech)Jan 15, 2002. This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
  • Creating an Excel Spreadsheet ProgrammaticallyJan 22, 2002. The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel. This article reveals using Excel from a managed application. Excel is the spreadsheet component of Microsoft Office 2000.
  • Creating an Excel Spreadsheet ProgrammaticallyJan 22, 2002. The Interoperability services make it very easy to work with COM Capable Applications such as Word and Excel. This article reveals using Excel from a managed application. Excel is the spreadsheet component of Microsoft Office 2000.
  • .NET Framework and Web Services - Part 1Jan 28, 2002. The .NET Framework is a new computing platform designed to simplify Windows application development in the highly distributed environment of the Internet. Common Language Runtime (CLR) is the Heart of the .NET Framework.
  • .NET Framework and Web Services - Part 2Jan 29, 2002. Here we are going to learn how to create a WebService using VS.NET (using VB.NET.) and consume the Webservice from VB.NET Client. This Article is based on VS.NET RC1 Release.
  • C# Discussion Forum from Harrison LogicJan 29, 2002. Threaded Discussion Forum that utilizes the .NET framework, with C# as the ASP.NET server side language. Uses MS Access Database for data.
  • .NET Framework and Web Services - Part 3Jan 31, 2002. Here I am going to explain Web methods and how to write Web methods in C# and VB.NET.
  • Yahtzee Program Using C#: Part IIJan 31, 2002. This is an update of the Yahtzee program for VS 2005. Included in this version is a Game Reset and a High Score Tracker. The Top Ten High Scores are tracked using an Array with sortable components. In this article we will talk about the IComparable interface used to make an object stored in an array sortable.
  • VS.NET Tools Intermediate Language Disassembler (ILDAM)Feb 06, 2002. "The ILDSAM tool parses any .NET Framework EXE/DLL Module and shows the information in a human-readeble format"
  • An Animation Component using C#Feb 08, 2002. Sometimes its desirable to get those graphics moving a bit and this article show the control to implement it.
  • Data Access through Web Services, Stored Procedures and SQL QueriesFeb 12, 2002. Web Services has been the most revolutionary aspect of the .NET framework developed by Microsoft. This article presents the three different modes through which data can be accessed viz. through Web services, stored procedures and SQL query using the power of ADO.NET and XML.
  • Buliding A WAP SiteFeb 27, 2002. In this Article I would like to share my views about Pagibnatioon and how to use Pagination in Mobiles Forms.
  • Implementing IEnumerator and IEnumerable Interfaces using Inner Class in C# Feb 28, 2002. .NET framework provides IEnumerable and IEnumerator interfaces to implement collection like behavior to user defined classes.
  • Publication Application Developed in C#Mar 07, 2002. This program retrieves publishers, title and author information from the SQL Server "pubs" Database.
  • SQL Server Database ExplorerMar 20, 2002. This application connects to a running SQL Server 2000 and displays all the available databases in it.
  • .NET COM Interoperability - Part 1: Using COM Components from .NET FrameworkApr 02, 2002. The DotNet framework exposes COM objects through a proxy called the runtime callable wrapper (RCW). The primary function of RCW is to marshal call between a managed client (.Net) and unmanaged COM object. The runtime maintains a single RCW for each COM object.
  • .NET COM Interoperability - Part 2: Using .NET Component from COMApr 02, 2002. When a COM client calls a DotNet object, the DotNet framework will create a COM callable wrapper (CCW). COM clients use the CCW as a proxy for the managed object.
  • Multithreading Part 3: Thread SynchronizationApr 11, 2002. The .NET framework provides a number of classes and data types that you can use to control the access to shared resources. Thread synchronization refers to the act of shielding against multithreading issues such as data- races, deadlocks and starvation.
  • DNS Resolver using DNSAPI.DLLApr 15, 2002. This is a DNS resolver using the dnsapi.dll, it can do all sorts of DNS lookups and not just simple a record lookup like the Dns class in the .NET framework.
  • A Database Component: Inserting Serializable ObjectsApr 23, 2002. The attached zip file contains two projects - a database component (DLL) project and a Windows forms project called Test. Both projects are written and compiled using Visual Studio .NET version 1.0.
  • File EncryptionMay 05, 2002. The classes in the .Net Framework cryptography namespace manage many details of cryptography for you.
  • Display and Hiding SIP on a Pocket PCMay 21, 2002. When you get your hands on a Pocket PC for the first time you have to wonder just how the heck do you enter information?
  • Unit Conversion Tool for Pocket PC with Compact FrameworkMay 22, 2002. I have created a Unit conversion tool to calculate conversion from 16 different types.
  • Getting NASDAQ Quotes with a Pocket PCMay 22, 2002. If you have been lucky enough to get the Compact Framework or Smart devices extension beta for April 2002 you may be wondering what you can do with it.
  • Case Study: Demo Networking Financial System May 23, 2002. In this tutorial I will discuss some of the design and development issues that one might consider when using .NET framework for developing Network affiliated applications.
  • An XY Plot User Control in GDI+May 24, 2002. This is a follow up of the article written originally for the beta version of .NET. called, A Graphics Component in C#.
  • Configuring Applications in .NETJun 06, 2002. The .Net Framework provides a very convenient and flexible way to configure applications at run time.
  • CS CODEDOM ParserJun 12, 2002. CS CODEDOM Parser is utility which parses the C# source code and creates the CODEDOM tree of the code(general classes that represent code, part of .NET Framework - namespace System.CodeDom).
  • ADO.NET From Windows DNA's PerspectiveJun 12, 2002. Windows DNA is a framework to build multi-tier, high performance, scalable distributed applications over the network. This article takes a Windows DNA perspective and compares how ADO.NET fits in Windows DNA.
  • Redhotqlue C# ArrayObjectJun 20, 2002. Unlike Visual Basic the C# language does not provide a standard mechanism for re-dimensioning (resizing) arrays. This component provides that additional functionality for arrays created in C#.
  • Building Application Frameworks with C#Jun 28, 2002. Frameworks are generalized and customized application, which can be built upon into a complete and fully functional software programs.
  • Why Object Orientation for COBOL?Jul 08, 2002. Why is Microsoft interested in having so many languages target the new environment?
  • Deploying a COM Component from C#Jul 08, 2002. Here is some code to help you to deploy a COM component from C#. I needed to programmatically deploy a project that would be registered as COM object (not COM+) and be installed into GAC. The following two classes will help in this objective.
  • Writing a Generic Data Access ComponentJul 17, 2002. I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access ComponentJul 17, 2002. OK, I've received couple of emails people asking me how can they use a common data provider to access various types of data sources without loosing the power and flexibility of native data provider libraries.
  • Writing a Generic Data Access Component - Flexible ApproachJul 18, 2002. Here is one more flexible approach to achieve the same. I prefer this approach to generic data access.
  • A Generic Data Access Component using Factory PatternJul 24, 2002. Another way to solve this problem is to utilize the System.Activator class and a factory pattern to create the concrete provider classes as was pointed-out in Dan Fox's article "Design an Effective Data-Access Architecture" (.netmagazine, vol. 2, no. 7).
  • A Generic Data Access Component using Factory PatternJul 24, 2002. This article shows to utilize the System.Activator class and a factory pattern to create the concrete provider classes.
  • A Generic Data Access Component using Factory PatternJul 30, 2002. the article A Generic Data Access Component using Factory Pattern provides a very good way of creating ADO.Net data provider independent applications, but there is one problem with it. Different ADO.Net data providers use different approaches in labeling of parameters in SQL statement.
  • Using Multimedia Controls in .NET through COM InteroperabilityAug 01, 2002. In this article I'll try to explain the issue of the COM Interoperability and how to use Multimedia Device controls.
  • CoolLayout .NET: A Windows Forms ComponentAug 02, 2002. CoolLayout.NET is design time enabled .NET component which helps to create professional forms with no coding efforts.
  • Understanding Garbage Collection in the .NET FrameworkAug 09, 2002. In this article we will explore the Garbage Collection feature in the .Net framework and the activities required in applications to manage resources complementing the Garbage Collector.
  • Reusable System Information ComponentAug 26, 2002. In this article we will create a reusable component, which retrieves the operating system information. We will explore ComponentModel and SystemInformation class also.
  • Calling Procedural COBOL from VB.NETAug 28, 2002. Many clients will have existing COBOL source code that they will want to use within the .NET Framework.
  • Hex Colors in C#Sep 05, 2002. Currently I am developing a shareware application for generating image galleries for the web. There is a template engine built in that allows the user to specify colors as hexadecimal values, plus many other features.
  • TWINXBASE ServiceSep 09, 2002. This service scans in a directory by using FileWatcher component and when a file arrives, then the service will check the extension of the file, if the file has the extension .DBX then it will read the contents of the file and communicate with the database (C:\FILESERVICE\DB\MyDB.mdb) and insert / update / delete the records in the database -table.
  • An SNMP Library for .NET FrameworkSep 10, 2002. Snmp.dll is a C# class library for the .NET framework. It has been developed on the Windows platform and may be useful on others also.
  • Working with COBOL Data Groups in C#Sep 11, 2002. In this article we will begin with a C# console application calling a COBOL DLL file. The C# application will pass it a number of occurrences to create in the table (much like a user requesting a specific number of months to report on).
  • Windows Service Information ComponentSep 11, 2002. This article is on a reusable Windows service information component, which queries and retrieves the Windows service information.
  • Remoting Calls RecommendationsSep 19, 2002. The goal of this article is not to describe remoting technology in details. It is more focused at the practical design and implementation mistakes during development process concerning garbage collection and performance.
  • Scramble for Pocket PCSep 19, 2002. This article shows you how to write Scramble for Pocket PC.

About Components-of-DotNet-FrameWork

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
Download Free eBooks