Learn Csharp

Stop doing endless tutorials and try thinking on your own. Avoid tutorial hell, puzzle heaven awaits!

csharp code challenges Puzzles

Here are links to comon parts of a C# Web API or WPF program.

(The plan is to grow this learning section as the channel grows...)


Official Microsft

Always start by reading the documentation.

C# Docs - The official Microsoft C# documentation.

.Net Docs - The official Microsoft .NET documentation.

Csharp Blog - Microsoft's official blog.


MVC

Model, View, Controller. The first and most important part of your app.

Microsoft Learn - Controllers in a MVC Style App.

Microsoft Learn - Controllers in a WebAPI style App.

ASP.NET MVC Pattern- Your first MVC app.


ORMs

All of the app's info is stored in a database, and we have frameworks that allow us to talk to the database.

We can use Object Relational Mapping (ORM) to allow us to write the database queries in C# code rather than SQL.

Entity Framework - Entity is the most popular ORMframework for.NET.

Dapper - A Micro-ORM. Very popular. Lighter-weight than Entity.


Databases

There are different kinds of databases, Relational and NoSQL are two popular kinds.

Microsoft SQL Server - Use MS SQL in Azure or as a stand alone server.

MySQL - A popular and free relational database.

Postgres - Open Source relational database.


Unit Tests

Write tests for individual modules so you know they still work if you make changes elsewhere in the app.

Faster and more complete than doing manual testing.

XUnit - The most recent and MS suggested framework.

NUnit - The most widely used framework, but is older.