Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Build .NET applications with C#

Microsoft via Microsoft Learn

Overview

  • Module 1: Get started by writing tiny code examples to learn the basics of the C# syntax!
  • In this module, you will:

    • Write your first lines of C# code
    • Use two different techniques to print a message to a text console
    • Diagnose errors when you type code incorrectly
    • Identify different C# syntax elements like operators, classes, and methods
  • Module 2: Start learning about .NET. Understand what .NET is and how it works. Quickly build a small app in a web-based .NET environment.
  • By the end of this module, you'll be able to:

    • Describe the major parts of .NET and its ecosystem.
    • Explain how .NET languages and the .NET compiler, runtime, and libraries work together to produce a running application.
    • Choose when it makes sense to use .NET to build your applications.
  • Module 3: Create a .NET project and learn to add packages and manage package dependencies in your project. Use the .NET Core CLI and NuGet registry to add libraries and tools to your C# applications through Visual Studio Code.
  • After you complete this module, you'll be able to:

    • Initialize .NET projects
    • Add packages to and remove packages from a .NET project
    • Manage your package dependencies and update them in a predictable way
  • Module 4: Learn how to efficiently debug your .NET app by using Visual Studio Code to fix your bugs quickly. Use the interactive debugger within Visual Studio Code to analyze and fix your C# applications.
  • By the end of this module, you will be able to:

    • Use the Visual Studio Code debugger with a .NET program.
    • Create breakpoints and run your code step by step to find issues.
    • Inspect your program state at any execution step.
  • Module 5: Learn how to use .NET, C#, and System.IO to work with directories, paths, files, and the file system.
  • By the end of this module, you will be able to:

    • Work with directories.
    • Create and delete files.
    • Read from files.
    • Write to files.
    • Parse data in files.
  • Module 6: Create a RESTful service with ASP.NET Core Controllers that supports Create, Read, Update, Delete (CRUD) operations.
  • In this module, you will:

    • Create a web API project with ASP.NET Core Controllers.
    • Create an in-memory database for persisting products.
    • Add support for CRUD operations.
    • Test web API action methods from the command shell.

Syllabus

  • Module 1: Write your first C# code
    • Introduction
    • Exercise - "Hello World!"
    • How it works
    • Challenge
    • Solution
    • Knowledge Check
    • Summary
  • Module 2: Introduction to .NET
    • Introduction
    • What is .NET?
    • How to use .NET
    • Build your first app by using Try .NET
    • When to use .NET
    • Knowledge check
    • Summary
  • Module 3: Create a new .NET project and work with dependencies
    • Introduction
    • Add packages to your .NET project
    • Exercise - Install packages
    • Manage dependency updates in your .NET project
    • Exercise - Manage dependency updates in your .NET project
    • Knowledge check
    • Summary
  • Module 4: Interactively debug .NET apps with the Visual Studio Code debugger
    • Introduction
    • What's a debugger?
    • Understand the .NET debugger in Visual Studio Code
    • Exercise - Debug with Visual Studio Code
    • Logging and tracing in .NET applications
    • Exercise - Logging and tracing
    • Knowledge check
    • Summary
  • Module 5: Work with files and directories in a .NET app
    • Introduction
    • Work with the file system
    • Exercise - Work with the file system
    • Work with file paths in .NET
    • Exercise - Work with paths
    • Create files and directories
    • Exercise - Create files and directories
    • Read and write to files
    • Exercise - Read and write to files
    • Summary
  • Module 6: Create a web API with ASP.NET Core Controllers
    • Introduction
    • REST in ASP.NET Core
    • Exercise - Create a web API project
    • ASP.NET Core Web API Controllers
    • Exercise - Add a data store
    • Exercise - Add a controller
    • CRUD actions in ASP.NET Core
    • Exercise - Implement CRUD operations
    • Summary

Reviews

Start your review of Build .NET applications with C#

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.