Open Source Tutorials & Articles
-
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.
-
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.
-
SQL Injection Attacks by Example
by Stephen J. FriedlSteve Friedl takes a look at how your site could be vulnerable to SQL injection attacks - complete with numerous examples - and the action you can take to prevent them.
-
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.
-
Retrieving HTTP content in .NET
by Rick StrahlThis article discusses the .NET WebRequest and WebResponse classes used to retrieve HTTP content over the Web in detail. In the process a number of related .NET development issues are described including stream handling, string encoding, using delegates, implementing events and creating new threads to run HTTP requests simultaneously.
-
Wired for sound
by Sing LiThere are lots of reasons for wanting to control your PC's sound hardware, but Sing Li just wants to sing-along with his favourite tracks.
-
How to PING
by Randy Charles MorinIntroduces Internet Control Message Protocol (ICMP) and how to generate ICMP packets to send a "ping" in C++.
-
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++.
-
How to NNTP in C#
by Randy Charles MorinThe third in a series of articles on Internet programming with C#. Here, we cover the NNTP protocol, which is used to access newsgroups.
-
Business logic processing in a socket server
by Len HolgateTo maintain performance a socket server shouldn't make any calls that should block from its IO thread pool. In this article we develop a business logic thread pool and add this to the server developed in the previous article.
-
Wireless Markup Language (WML) Tutorial
by Gez LemonGez Lemon introduces WML - the markup language used to make sites suitable for viewing using a WAP (Wireless Application Protocol) device - covering cards, timers, tasks, getting user input and creating dynamic pages.
-
Test-driven development with NUnit
by Roy OsheroveAn introduction to test-driven development with NUnit and the NUnit-Add-in
-
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
-
Handling multiple socket read & write operations
by Len Holgate"How do you handle the problem of multiple pending WSARecv() calls?" is a common question on the Winsock news groups. It seems that everyone knows that it's often a good idea to have more than one outstanding read waiting on a socket and everyone's equally aware that sometimes code doesn't work right when you do that. This article explains the potential problems with multiple pending recvs.
-
DeviceIoControl & USB using Managed C++ & C#
by Bill BurrisLow level I/O is not part of the .NET framework, so information on how its done is difficult to find. Since I am using some specialized hardware, which won't be available to most C# developers, my comments will focus on interoperability with unmanaged code.
-
The Quick & Dirty .NET Guide to C#/VB OOP
by Dimitrios MarkatosAlthough this article won't be an exhaustive OOP treatise, its objective nevertheless is to present in a quick and dirty manner C#/VB Object-Oriented Programming. Moreover, even though this article may be slightly geared more towards C#, all important VB assessments or similarities are addressed and demonstrated. By the way, keep in mind C# is very case sensitive. Incidentally, don't be put off at the length of this article, a lot of it is simply repeated code examples for both languages.
-
.NET Threading Part II
by Randy Charles MorinThis is the second article of two parts on .NET threading. In this second part, I will discuss further the synchronization objects in the System.Threading .NET namespace, thread local storage, COM interoperability and thread states.
-
C# Threading in .NET
by Randy Charles MorinThe first in a two part series on C# threads, introducing how to create and manipulate threads with the .NET framework, including creating a thread, thread pools, syncronization, race conditions and timers.
-
How to POP3 in C#
by Randy Charles MorinAn introduction to retrieving email from a POP3 server using the .NET socket classes.