Skip to main content

Getting started with C# for TypeScript Devs

In this video CJ shows how to get started with C# as a TypeScript / JavaScript web developer.


00:00 Intro
00:30 Setup
00:53 Learning Plan
01:08 C Sharp Syntax First Look
01:31 var, arrays and foreach
02:07 Language-Integrated Query (LINQ)
02:32 Pattern Matching
03:09 Records
03:52 C# Learning Resources
04:36 ASP.NET Minimal API Example
06:22 Swagger / OpenAPI Documentation
07:04 TypeScript Client Code Generation
07:34 ASP.NET API / OpenAPI Example
09:21 OpenAPI TypeScript Client
10:12 .NET Versions
10:30 ASP.NET Razor, MVC, Blazor
11:08 What is Sentry?
11:36 Full Stack Error Tracing with Sentry
12:48 How to Add Sentry to your Apps
13:33 Thanks!

All links and notes: https://gist.github.com/w3cj/8f5d597c7aad19ceb1a59fbb070405f7

Set up your local environment | https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tutorials/local-environment Download / Install .NET | https://dotnet.microsoft.com/en-us/download C# Dev Kit for VSCode | https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csdevkit

C# | https://dotnet.microsoft.com/en-us/languages/csharp Learn X in Y Minutes | https://learnxinyminutes.com/docs/csharp/ Tour of C# | https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/overview Roadmap for JavaScript and TypeScript developers learning C# | https://learn.microsoft.com/en-us/dotnet/csharp/tour-of-csharp/tips-for-javascript-developers Learn C# | https://dotnet.microsoft.com/en-us/learn/csharp C# Beginner Video Series | https://www.youtube.com/playlist?list=PLdo4fOcmZ0oULFjxrOagaERVAMbmG20Xe

What is .NET | https://dotnet.microsoft.com/en-us/learn/dotnet/what-is-dotnet NET Implementations | https://learn.microsoft.com/en-us/dotnet/fundamentals/implementations NET Framework | https://en.wikipedia.org/wiki/.NET_Framework Mono | https://en.wikipedia.org/wiki/Mono_(software

Overview of ASP.NET Core | https://learn.microsoft.com/en-us/aspnet/core/introduction-to-aspnet-core?view=aspnetcore-8.0 Minimal APIs overview | https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/overview?view=aspnetcore-8.0 Minimal API Tutorial | https://learn.microsoft.com/en-us/aspnet/core/tutorials/min-web-api?view=aspnetcore-8.0&tabs=visual-studio OpenAPI / Swagger Integration | https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/openapi?view=aspnetcore-8.0 openapi-typescript-codegen | https://github.com/ferdikoomen/openapi-typescript-codegen openapi-typescript | https://github.com/drwpow/openapi-typescript openapi-client-axios | https://github.com/openapistack/openapi-client-axios Databases with Entity Framework Core | https://learn.microsoft.com/en-us/aspnet/core/data/entity-framework-6?view=aspnetcore-8.0 Authentication and Authorization | https://learn.microsoft.com/en-us/aspnet/core/fundamentals/minimal-apis/security?view=aspnetcore-8.0

Razor Pages | https://learn.microsoft.com/en-us/aspnet/core/razor-pages/?view=aspnetcore-8.0&tabs=visual-studio MVC | https://learn.microsoft.com/en-us/aspnet/core/mvc/overview?view=aspnetcore-8.0 Blazor | https://learn.microsoft.com/en-us/aspnet/core/blazor/?view=aspnetcore-8.0

Mobile Apps | https://dotnet.microsoft.com/en-us/apps/maui Desktop Apps | https://dotnet.microsoft.com/en-us/apps/desktop Game Engines | https://dotnet.microsoft.com/en-us/apps/games/engines

Add Sentry Error Tracking to ASP.NET App | https://docs.sentry.io/platforms/dotnet/guides/aspnetcore/ Add Sentry Error Tracking to your TypeScript Frontend | https://docs.sentry.io/platforms/javascript/tracing/trace-propagation/ View Distributed Traces in Sentry | https://docs.sentry.io/concepts/key-terms/tracing/distributed-tracing/