C# Tutorials & Articles
-
Parameter Passing in C#
by Jon SkeetMany people have become fairly confused about how parameters are passed in C#, particularly with regard to reference types. This article gives an in-depth discussion of the differences between default/ref/out parameters.
-
Web Services Interoperability between J2EE and .NET - Part 1
by Wangming YeWeaving together Web services to create cross-organizational business processes requires all partners to program to the same standard model and to avoid exposing proprietary implementations. However, the ultimate goal of making Web services interact seamlessly is still a frequent concern and a hot discussion topic. The first part of the series stresses the importance of WSDL design and analyzes the strength and pitfalls of the traditional RPC/encoded style in Web services interoperability.
-
How the .NET Debugger Works
by Jon ShuteIn theory the .NET debugging API is simple and a joy to use, but there is a lack of a detailed overview as to how to use it in the framework SDK. In this article, we'll cover how to write a debugger under .NET, and will also touch on the profiling API support.
-
Floating-Point in .NET Part I: Concepts and Format
by Jeffrey SaxThe first in a three part series, this article introduces the basic concepts of floating-point arithmetic: number formats, accuracy and precision, and round-off error. It includes an in-depth discussion of the .NET floating-point types.
-
.NET Delegates: A C# Bedtime Story
by Chris SellsAn introduction to delegates, listeners, events and asyncronous notification.
-
Query Tool to Excel using C# and .NET
by Mike GoldDemonstrates how to use .NET interop to perform an SQL query and then send the results into an Excel spreadsheet.
-
Building a Full-Featured Custom DataGrid Control
by Dimitrios MarkatosIn this article, we will demonstrate how you can build your very own Datagrid control component, one that you will be able to customize, and more importantly reuse. Based on this ability, you will then end up with one powerful control that will have many implementations, from which you could learn about creating almost any other types of custom controls.
-
How to access Outlook and post to a blog using C#
by Simon SoanesAn article for all those like Robert Scoble who would like to be able to drag and drop an item to a folder in their Outlook and post it instantly to their Blog. We also briefly cover web services and talking to Outlook.
-
Collection Controls with Rich Design Time Support
by Tim DawsonThis extensive article details the process of creating complex list-based controls with rich design time support similar to my DotNetWidgets and OutlookBar controls.
-
Writing Your Own GPS Applications: Part 2
by Jon PersonIn part two of the series, the author of "GPS.NET" teaches developers how to write GPS applications suitable for the real world by mastering GPS precision concepts. Source code includes a working NMEA interpreter and sample high-precision application in C# and VB.NET.
-
Tree structures in ASP.NET and SQL Server
by James CrowleyTakes a look at how tree structures can be usefully stored in a relational database such as SQL Server, and how to implement web directory-like features such as breadcrumbs.
-
Using Encryption in .NET
by Steve JohnsonIn this article I will explain the classes and code necessary to put encryption to work in your applications. I will also explain the basic principles of operation of these classes and point out several pitfalls to avoid.
-
Valid XHTML within .NET
by Kevin BrownAt present none of Microsoft's ASP.NET controls intrinsically support the strict W3C XHTML standards. This can cause problems when using ASP.NET controls on pages that need to conform to one of the XHTML standards. In order to use Microsoft's supplied controls some modifications will be required. This series of articles intends to focus on the more widely used controls and the steps required to make them output valid code.
-
Registry In's and Out's Using C#
by Michael BrightA complete introduction to accessing the Windows registry from .NET
-
Using MySQL with .NET
by cardinals33Ever wanted to combine the power and ease of the .NET platform with a free database like MySQL? Well thanks to ODBC database functions in ADO.NET it's really easy. This article shows how.
-
ASP.NET Controls Explained: Part 1/2
by James YangIn ASP.NET, there are several features that we can use to make our code reusable and independent of other code, including user controls, server controls, and the code behind method. In this article James explains what each of these features are used for, and also shows you how to use each one by providing a number of simple yet detailed ASP.NET examples.
-
ASP.NET Controls Explained: Part 2/2
by James YangIn this, the final article of the two part series relating to ASP.NET controls, James teaches us about custom controls and components. He talks about creating them, as well as compiling them from the command prompt using the C# compiler. He also provides two ASP.NET examples that demonstrate how to both create and integrate custom controls and components into our ASP.NET pages.
-
Selecting, Confirming & Deleting Multiple Checkbox Items In A DataGrid (i.e. HotMail & Yahoo)
by Dimitrios MarkatosIn this article, we will examine how to create a fully functional DataGrid with all the features you'd find set up on Hotmail or Yahoo. As an added bonus we'll be performing all of our data tasks strictly utilizing Microsoft's new Data Access Application Block or DAAB v2.
-
Making skinned custom controls
by Thomas JohansenThis article will show you how you can easily make your custom controls skinned by deriving from a new control class that we will call SkinControl.
-
Printing Reports in .NET
by Mike MayerLearn how to print reports from C# and other .NET languages using the open source library presented here. Features include Printing DataTables, printing paragraphs of text using style classes, customizable page headers and footers, boxes, lines, graphics and much more.