Foundations
First Steps in C#
Types, operators, statements and the shape of a first program, with lab exercises you repeat yourself until the ideas stick.
The search runs entirely in your browser over the published lesson list.
A free study desk for web developers
CSharpUniversity is a written course library for people who want to make real, working web applications on the Microsoft stack. Every lesson is short enough to finish in one sitting and specific enough to reuse the same day.
The material starts from the very beginning, assumes no prior .NET experience, and moves in a straight line from installing your tools to querying a database and publishing a small web service.
// a first look at the language
string learner = "new developer";
int lessonsDone = 0;
while (lessonsDone < 12)
{
lessonsDone++;
}
System.Console.WriteLine(
learner + " finished " + lessonsDone);
Where to begin
If you are new to programming, follow the tracks in order. If you already write code and only need the web layer, start with server controls. If you came for data work, the ADO.NET track is the shortest path to a working query.
Foundations
Types, operators, statements and the shape of a first program, with lab exercises you repeat yourself until the ideas stick.
ASP.NET
Server controls, page events, reading form input and validation, so your pages react to the person using them.
Data
Connect to SQL Server and read, insert, change and remove rows with parameterised commands that stay safe.
The full library
Install the editor, open a sample project and understand what a dynamic web application actually does.
5 lessons
Walk the windows, panels and debugging tools of the free Microsoft editor.
15 lessons
Branch with if and switch, repeat with for and while, and practise each idea.
4 lessons
Hold many values in one place and choose the right collection for the job.
3 lessons
Group data and behaviour into types and learn how the runtime cleans up after them.
11 lessons
Bind live database results to GridView and FormView controls, then sort, page and search them.
10 lessons
Expose database logic through a web service and keep client pages in step when it changes.
3 lessons
Install, secure, back up and restore the free database engine behind the data lessons.
6 lessons
Beyond the lessons
Downloadable kit
Fully working sample applications with source code, database files and written setup notes, built for practice rather than theory.
Open source
A small library and viewer that records exceptions from your web application and lets you search them later.
Short reading
Short written briefings that explain one concept well, starting with how data sources and data binding fit together.
Leave your address and get a short note whenever a fresh lesson is published. No account needed and you can stop at any time.