Programming · ADC-03-08

Programming with .NET 10 and Visual Studio 2026

Programming with .NET 10 and Visual Studio 2026 is a course in building n-tier applications on .NET with C#, from architecture design, LINQ and EF Core to debugging, unit testing, security, Web API, WPF and migrating apps from the .NET Framework. It suits developers who already write C# and teams that maintain older .NET systems.

Updated
From 10,350 THB / person 11,500 −10% excl. VAT 7% · group rates available
PDFDownload the course outline
  • Duration30 hours · 5 days
  • FormatOnsite / live online
  • Next roundOn request
  • CertificateIncluded

Course overview

A good business application needs more than code that runs. It has to be layered so it is easy to maintain, validate its data, be testable, log enough to trace problems, stay secure and be easy to deliver to users. On today's Microsoft platform this is done with .NET 10, a long-term support release, and Visual Studio 2026 in place of the .NET Framework and older Visual Studio versions, and many tools and practices have changed a great deal.

This course gives a thorough grounding in building n-tier applications on .NET 10. It covers architecture design, object-oriented programming in C# 14 with dependency injection, LINQ, EF Core 10 and data validation, then debugging, profiling, logging, unit testing and configuration. It goes on to security, cryptography, network programming, Web API and gRPC in place of web services and WCF, desktop apps with WPF, migrating apps from the .NET Framework and publishing, and finishes with a workshop that builds a sales system across every tier. (5 days, 6 hours per day, 30 hours in total, Intermediate level.)

What you’ll gain

  • Understand how .NET 10 differs from the .NET Framework and use Visual Studio 2026 effectively
  • Design n-tier applications with OOP, class libraries and dependency injection
  • Use LINQ with objects, XML, JSON and databases through EF Core 10
  • Validate data with data annotations and validation in desktop and web apps
  • Debug, profile, log and write unit tests
  • Configure apps, store secrets safely, and apply cryptography and authorisation
  • Build Web API and gRPC services and call them through HttpClient
  • Build WPF apps with MVVM and publish applications to users

Who this course is for

  • Developers who know some C# and want a thorough grounding in building business apps on .NET
  • Developers who maintain .NET Framework systems and want to move to .NET 10
  • Staff who develop or improve in-house applications for their organisation
  • Anyone preparing for advanced .NET training such as Web API, microservices or cloud

Prerequisites

  • Basic C# programming, including variables, conditions, loops and methods
  • A basic understanding of classes and objects
  • Familiarity with databases and basic SQL
  • A Windows 11 laptop that can run Visual Studio 2026, with rights to install software

Curriculum

Course Details

This course is the 2026 edition of Programming with the Microsoft .NET Framework Using Microsoft Visual Studio 2012, rewritten for .NET 10 (LTS), C# 14 and Visual Studio 2026. It runs for 5 days, 6 hours per day (30 hours in total, 09:00-16:00), as lectures with labs built around a sample sales system that grows throughout the course. Intermediate level. Day one

covers the platform and application design, day two LINQ, EF Core 10 and data validation, day three debugging, logging, unit testing and configuration, day four security, networking, Web API and gRPC, and day five WPF, migrating from the .NET Framework, publishing and an n-tier sales system workshop. Classroom tools are free, and learners take home the source code for every lab and a migration checklist.

Day 1 The .NET 10 Platform and Application Design

Section 1: Lab: Getting Started with .NET 10 and Visual Studio 2026

  • How .NET 10 differs from the .NET Framework, and the LTS support cycle
  • Install Visual Studio 2026 and choose the workloads you need
  • Solutions, projects and SDK-style .csproj files
  • The dotnet CLI, NuGet and Hot Reload
  • Lab: create a first solution with several projects

Section 2: Software Design and N-Tier Architecture

  • The software development lifecycle and agile working
  • Types of application on .NET: desktop, web, services and cloud
  • Separating presentation, business logic and data access tiers
  • SOLID principles that keep code maintainable
  • Workshop: propose an architecture for a sales system and discuss it

Section 3: Lab: Object-Oriented Programming in C# 14

  • Classes, records and creating instances
  • Inheritance, interfaces and abstract classes
  • Delegates, events and lambdas
  • Generics and collections
  • Lab: build customer, person and product classes with the class diagram and code editor

Section 4: Lab: Class Libraries and Dependency Injection

  • Move business logic and data access into class libraries
  • Dependency injection and service lifetimes
  • The generic host for console and desktop apps
  • Manage project references and NuGet packages
  • Lab: a data access layer that passes data between tiers in classes
Day 2 LINQ, Data and Validation

Section 5: Lab: LINQ to Objects

  • Language features LINQ relies on: var, object initialisers, anonymous types and extension methods
  • Query syntax and method syntax
  • Where, Select, OrderBy, GroupBy and Join
  • Newer methods such as CountBy, AggregateBy and LeftJoin in .NET 10
  • Lab: filter and sort orders by customer

Section 6: Lab: LINQ to XML and JSON

  • Create and query XML trees with LINQ to XML
  • Convert data between XML and objects
  • System.Text.Json for serialising and deserialising
  • Useful JSON options and handling data that does not match
  • Lab: replace an old XSLT file conversion with LINQ to XML

Section 7: Lab: EF Core 10 and LINQ to Entities

  • DbContext, entities and migrations
  • Scaffold models from an existing database
  • Query and update data with LINQ to Entities
  • Transactions and basic concurrency
  • Lab: a data access layer on EF Core 10 with a sample database

Section 8: Lab: Data Validation

  • Validating data in each tier of an application
  • Data annotations and IValidatableObject
  • Validation in WPF apps through binding
  • Validation in ASP.NET Core and the Microsoft.Extensions.Validation package
  • Lab: add validation to the sales entry screen
Day 3 Application Quality: Debugging, Logging, Testing and Configuration

Section 9: Lab: Debugging and Profiling

  • Conditional breakpoints, watches and the call stack
  • Debugging multi-project apps and exception settings
  • Diagnostic Tools and the Performance Profiler in Visual Studio 2026
  • Find CPU and memory bottlenecks
  • Lab: find out why the report screen loads slowly

Section 10: Lab: Logging and Monitoring

  • Instrumentation concepts and log levels
  • ILogger and structured logging
  • Log to the console, files and the Windows Event Log
  • Metrics and traces with OpenTelemetry and dotnet-counters
  • Lab: add logging so problems can be traced after delivery

Section 11: Lab: Unit Testing and Code Coverage

  • Software testing concepts and the test pyramid
  • Write unit tests with MSTest or xUnit
  • Isolate dependencies with interfaces and mocks
  • Test Explorer, dotnet test and code coverage
  • Lab: a test suite for the sales system's business logic

Section 12: Lab: Application Configuration

  • appsettings.json and per-environment settings
  • The options pattern for strongly typed settings
  • Store connection strings and secrets with user secrets and environment variables
  • Comparison with web.config and app.config in the .NET Framework
  • Lab: move connection strings and system settings out of the code
Day 4 Security, Networking and Distributed Applications

Section 13: Lab: Security and Cryptography

  • Security in .NET 10, and why code access security no longer exists
  • Role-based and claims-based authorisation
  • Encrypt data with AES and hash with SHA-256
  • Store passwords safely and use the Data Protection API
  • Lab: restrict features by role and encrypt sensitive data

Section 14: Lab: Network Programming

  • HttpClient and IHttpClientFactory
  • Handle timeouts, retries and errors in network calls
  • Handle credentials and tokens safely
  • Send email over SMTP with the MailKit library
  • Lab: send a confirmation email automatically when an order arrives

Section 15: Lab: Distributed Applications with Web API

  • Options for building distributed apps on .NET 10
  • Build an ASP.NET Core Web API in place of XML web services
  • Built-in OpenAPI documents and testing with .http files
  • Call the API from a client app
  • Lab: expose the data access layer through a Web API

Section 16: Lab: gRPC and Alternatives to WCF

  • gRPC and Protocol Buffers
  • Build a gRPC service and client on .NET 10
  • Choosing between Web API and gRPC
  • CoreWCF for migrating existing WCF systems
  • Lab: a stock-check service with gRPC
Day 5 Desktop Apps, Migration and Delivery

Section 17: Lab: Desktop Apps with WPF

  • WPF on .NET 10 and XAML basics
  • Layouts, controls and styles
  • Data binding and the MVVM pattern
  • Call a Web API asynchronously from a desktop app
  • Lab: a sales screen connected to the Web API

Section 18: Migrating Apps from the .NET Framework to .NET 10

  • Assess existing apps and technologies missing from modern .NET
  • Convert project files to SDK style and update packages
  • GitHub Copilot modernization, which replaces the .NET Upgrade Assistant
  • Windows Forms on .NET 10 for existing apps
  • Workshop: plan the migration of a sample app step by step

Section 19: Lab: Build, Publish and Deploy

  • Assemblies, MSBuild and build configurations
  • dotnet publish as framework-dependent, self-contained and single-file
  • Deploy desktop apps with ClickOnce and MSIX
  • Publish a Web API to IIS or a container
  • Lab: deliver the desktop app and Web API to users

Section 20: Workshop: A Complete N-Tier Sales System

  • Bring every tier together: WPF, Web API, business logic and EF Core 10
  • Add validation, logging, unit tests and security
  • Workshop: publish the whole system and test it in use
  • Present the result and next steps towards advanced .NET

Schedule & training options

For individuals — public rounds

No public rounds are open right now. Join the waiting list and we will contact you first when the next round opens, or ask us on LINE. Or call 02-570-8449 or 088-807-9770

For organisations — in-house / private

  • Tailor the content to your team’s tools and projects
  • Your dates, at your office or live online
  • Quotation with tax ID for procurement
Corporate training quote

Instructors

Frequently asked questions

What is LINQ, and what kinds of data can it work with?

LINQ (Language-Integrated Query) is a C# feature that lets you search, filter, sort and group data with the same syntax whatever the source. LINQ to Objects works with in-memory collections, LINQ to XML with XML, and EF Core with databases by translating queries into SQL. .NET 10 also adds methods such as LeftJoin and RightJoin, while the old LINQ to SQL is not available in modern .NET.

What is an n-tier architecture?

N-tier means splitting an application into tiers by responsibility, typically presentation, business logic and data access, with each tier talking to the others through clearly defined interfaces. On .NET 10 each tier is usually a class library connected through dependency injection, so one tier can change without affecting the others, testing is easier and the tiers can run on different machines.

How do you move an app from the .NET Framework to .NET 10?

Start by assessing whether the app uses technologies missing from modern .NET, such as code access security, AppDomains, remoting or server-side WCF. Then convert project files to SDK style, update NuGet packages, move settings from app.config or web.config to appsettings.json, and replace unsupported parts with alternatives such as CoreWCF or gRPC. Microsoft now recommends GitHub Copilot modernization in Visual Studio, which replaces the deprecated .NET Upgrade Assistant, and unit tests should check each step.

Who is the Programming with .NET 10 and Visual Studio 2026 course for, and what should I know beforehand?

It suits developers who know some C# and want a thorough grounding in building business apps on .NET, developers maintaining .NET Framework systems who want to move to .NET 10, and anyone preparing for advanced .NET training. You should be able to write basic C#, understand classes and objects, and know basic SQL.

What will I be able to do after the Programming with .NET 10 and Visual Studio 2026 course?

You will be able to design and build n-tier applications on .NET 10 with Visual Studio 2026, use LINQ and EF Core 10, validate data, debug, profile, log and unit test, configure and secure applications, build Web API and gRPC services, build WPF apps with MVVM, plan migrations from the .NET Framework and publish apps to users. Participants who complete the training receive a Certificate of Completion with its own number, which can be verified online.

Can the Programming with .NET 10 and Visual Studio 2026 course be run in-house for our team?

Yes. It can be run in-house for your team, with examples adapted to your own work, such as using a .NET Framework app your team maintains as a case study for migration planning. You can request a quotation from this page, or contact us on LINE @itgenius or by phone on 02-570-8449.