C# Tutorials & Articles
-
Web Forms DataGrid and DataSet Programming
by Jeff LouieThis is a working C# .NET program that demonstrates how to integrate most of the features of the DataGrid and DataSet in a single project including select, insert, update, delete, confirm delete, sort, filter and page.
-
Encapsulating ODBC in ASP .NET
by Jason G. WilliscroftHotQuant, LLC, builds on their previous ODBC article by demonstrating how to use encapsulation to isolate an application's data access layer and significantly streamline the code.
-
The .NET Framework & Protecting your Code
by James CrowleyWe examine the ease with which source code can be obtained from .NET assemblies, and review two commercial products that help combat this through the use of obfuscation.
-
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.
-
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.
-
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
-
Exception Handling In C#
by Kamran ShakilAn introduction to exception handling, and the try...catch syntax
-
Using ASP.NET Server Controls
by Carvin WilsonA basic overview of ASP.NET and how to use server controls
-
SMTP Mailing Application
by Mike GoldThis is an article on how to use the Mail Components in .NET to create a simple application to send e-mail.
-
WinChat For .NET
by Patrick LamWinChat For .NET is a simple peer-to-peer chatting program that functions very similarly to the WinChat program provided by Windows 2000.
-
An Introduction To F# Type Providers
by Keith BattocchiType Providers are a new core feature in F# 3.0, the latest version of F# released with Visual Studio 2012. Keith Battocchi investigates.
-
An Introduction to testing with the Model-View-Presenter pattern for Web Forms Development
by S. Ravi KiranIn this article, Ravi introduces the Model-View-Presenter pattern for Web Forms development, and how it compares to MVC. Then he demonstrates how to get started with it, by creating a page in a test-driven fashion
-
5 Things You Should Know About Developing Windows 8 Apps with C#
byIn this article, Martin Beeby highlights five new features of Windows 8 that developers should know about.
-
Handling Page Orientation in Windows Phone 7
by Dan MaharryWindows Phones, as with other small form factor devices, are able to deal with both landscape and portrait modes. In this article, based on Chapter 10 of Windows Phone 7 in Action the authors explain how a Silverlight page declares its supported orientations.
-
Taking the Single Responsibility Principle Seriously
by Ralf WestphalIn this article Ralf Westphal invesigates the Single Responsibility Principle, what it means in real-world scenarios and how that may translate into code
-
An Introduction To Practical AOP Using PostSharp
by Brady GasterIn this article, Brady Gaster introduces the concept of Aspect Oriented Programming and how it can reduce code smells in your work. He uses PostSharp to refactor out logging, timing, transaction and GUI update code into separate and automatically executing Aspects
-
An Introduction To FSharpx
by Dan MohlDan Mohl introduces FSharpx, a community-driven, open source set of extensions for the F# language
-
Web Testing with MbUnit and WatiN Part 3: Testing Asynchronous AJAX Calls
by Yann TrevinConcluding his look at combining MbUnit and Watin to produce clean web integration tests, Yann Trevin looks at testing asynchronous calls
-
Pattern Matching in F# Part 1 : Out of the Box
by Jessica KerrIn the first of a two part series, Jessica Kerr examines and demonstrates the powerful built-in pattern matching functionality in F# and reveals there's a lot more to it than a C# switch statement or a regular expression
-
Web Testing with MbUnit and WatiN Part 1: Keeping Your Tests Legible
by Yann TrevinGallio, MbUnit and WatiN are a good choice of tools for writing web integration tests. Not only are they powerful tools but they allow us to write much cleaner and more concise tests than you might think. In this article we'll see exactly how clean and concise you can get.