C# Tutorials & Articles
-
Mastering C# structs
by Mike JamesAs structs are aggregates of any other data type you care to invent, learning how to work with them is important, and provides an excellent grounding in tackling wider problems.
-
To SP or not to SP in SQL Server
by Douglas ReillyThe topic of using or not using stored procedures reaches the level of religious fervor in many quarters. Douglas Reilly, a Microsoft MVP, weighs in on the topic with an in-depth analysis.
-
Web Services Interoperability between J2EE and .NET - Part 2
by Wangming YePart 2 of this series explores the source of common interoperability challenges facing Web services integration across platforms. Follow along as Wangming Ye analyzes the interop failures resulting from the use of certain data types and ways to overcome them such as collections, arrays, or primitive data types.
-
Filtering and Sorting in ADO.NET
by Martin ZahnADO.NET supports many ways to manage memory-resident data returned in a DataSet. This example demonstrates how to use the additional functionality exposed by ADO.NET to sort and filter data.
-
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.
-
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.
-
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.
-
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.
-
Introducing a post-relational database for .NET
by John SasakThis is a step by step guide for a post-relational database for .NET, Matisse. The article is aiming at helping developers quickly evaluate this alternative solution as .NET database when they face problems of productivity, flexibility, extensibility, or maintainability.
-
Hosting Control Panel Applets using C#/C++
by Mark BellesCheck out this article which describes how to enumerate and host Windows Control Panel Applets using C# and unmanaged C++.
-
Launching a process from Windows Forms
by Mike MayerThis article shows how to launch a process (such as a bat file, perl script, console program) and have its standard output displayed on a windows form.
-
Using ADO.NET with SQL Server
by James CrowleyAn extensive examination of using ADO.NET to access SQL Server databases, from establishing connections and executing stored procedures, to connection pools, data readers and data sets.
-
In Depth ASP.NET using ADO.NET
by John GodelIn this article we will discuss a number of ways to retrieve, show, and update data with ASP.NET forms using ADO.NET. Also, we will have a clear idea about the most common server controls in ASP.NET. In particular, with this article we will cover ASP.NET server controls, ADO.NET DataSource, and creating Templated DataBound Controls, ASP.NET forms, using data with controls. John Godel
-
.NET Data Caching
by Dimitrios MarkatosAn introduction to using data caching in your ASP.NET pages, from simple time-specific data expiration to file dependencies, plus a real-world example with caching for data in a pagable DataGrid control.
-
An Introduction to VB.NET and Database Programming
by Chas ProfittI am a beginner. I wanted to share some experiences with other beginners. The next few articles that come from my keyboard will be about my experience with teaching myself to develop applications in VB.NET.
-
Socket Programming in C# - Part 2
by Ashish DharThe second part in this series, revealing more practical alternatives to the basic blocking methods in .NET
-
Learn OpenGL and C#
by JohnnyAn introduction to using OpenGL using CsGL - an open source library for using OpenGL in .NET.
-
Learn C# Socket Programming
by Ashish DharAn introduction to socket programming in the context of the .NET framework, with a working client / server sample application.