C# Tutorials & Articles
-
99 Bottles
by Paul ParksWho said programming was serious stuff? Here's a C# program that outputs the song "99 Bottles Of Beer On the Wall.".
-
Building XML Web Services Using C# and ASP.NET
by James YangThe term web service has been used quite frequently lately: you hear people saying how good web services are and how they will dominate the future of software development, but what exactly are web services and how can we create them? In this article James shows us how to build two web services and also unravels all of the lingo surrounding web services.
-
Creating a database connection
by Tony HoCreating connections and all your data objects are really easy Design-Time, but what if you need it for runtime? Here's how.
-
Attributed Programming in .NET Using C#
by Deepak DuttaAn attribute is a new code level language construct in all major .NET languages. It provides integration of declarative information to assemblies, classes, interfaces, members, etc. at the code level. The information can then be used to change the runtime behavior or collect organizational information. In this article, I illustrate the power of attributed programming by examples that show a modular approach to issues that can crosscut many classes.
-
Building Application Framework with C#
by Nauman LaghariThe Article introduces a C# developer to building framework. After reading, you'll get how the big names have performed most of the magic in Application Frameworks, like the Java Applet and Servlets Framework as well as the Microsoft Foundation Classes. This article is just an introduction to the complex topic. A short code sample is provided for practically demonstrating the purpose.
-
Event Handling in .NET Using C#
by Deepak DuttaIn this article I discuss the event handling model in .NET using C#. The discussion starts with an introduction to the concept of delegates and then it extends that concept to events and event handling in .NET. Finally, I apply these concepts to GUI event handling using windows forms. Complete code is provided in each step of the discussions.
-
Program Entry point in C#
by Kamran ShakilA logical survey of entry points in C# programs, and the possible errors you can come across.
-
COM Interoperability in .NET Part 2
by G.Gnana Arun GaneshThis article elucidates how to build and install-managed code that will be used from COM applications. A classic COM server is activated using the Service Control Manager (SCM).
-
COM Interoperability in .NET Part 1
by G.Gnana Arun GaneshIn the first part of this series, Arun Ganesh introduces interoperability between the new .NET technologies, and how to use old Win32 API calls in your .NET applications.
-
Using Interfaces In .NET Remoting
by David Talbot.NET Remoting allows for a clean seperation between client side code and server side code through the use of interfaces. In this article, we will create a remote object and referance it only by interface.
-
Using ADO.NET, XML & XSL to generate HTML
by Bill BurrisAutomate you website updates to avoid hours of tedious work with your HTML editor.
-
Introducing .NET Remoting
by David Talbot.NET Remoting provides a powerful and high performance way of working with remote objects. In this article, David gives an introduction on how to use remote objects in .NET
-
Web Enable your C# Program
by Kamran ShakilHow to use your C# program in a web server (without using ASP.NET)
-
Reflection in C#
by Kamran ShakilHow to discover an objects class and it's methods in the .NET framework
-
Multilingual Support in C#
by Kamran ShakilImplementing support for non-Roman script languages in C#
-
Exception Handling In C#
by Kamran ShakilAn introduction to exception handling, and the try...catch syntax
-
Drawing on a Form
by Bill BurrisAn introduction to drawing graphics on a form
-
Exploring Delegates
by Filip BulovicHow to use delegates in C#
-
Using ASP.NET Server Controls
by Carvin WilsonA basic overview of ASP.NET and how to use server controls
-
Docking Control
by Phil WrightAllow your users to resize and move docked controls around the form with the help of the 'dock' feature in .NET