𝔖 Scriptorium
✦   LIBER   ✦

📁

Introducing .NET 6: Getting Started with Blazor, MAUI, Windows App SDK, Desktop Development, and Containers

✍ Scribed by Nico Vermeir


Publisher
Apress
Year
2022
Tongue
English
Leaves
323
Edition
1
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Welcome to .NET 6, Microsoft’s unified framework that converges the best of the modern and traditional .NET Framework. This book will introduce you to the new aspects of Microsoft’s fully supported .NET 6 Framework and will teach you how to get the most out of it. You will learn about the progress to one unified .NET, including MAUI and the revival of desktop development. You will dive into Roslyn, Blazor, CLI, Containers, Cloud, and much more, using a “framework first” learning approach. You will begin by learning what each tool is, its practical uses, and how to apply it and then you will try it out on your own for learning reinforcement. And, of course, there will be plenty of code samples using C# 10.
Introducing .NET 6 is aimed at .NET developers, both junior developers and those coming from the .NET framework, who want to understand everything the modern framework has to offer, besides the obvious programming languages. While you will still see a lot of fabulous C# 10 throughout the book, the focus of this learning is all about .NET and its tooling.

What You Will Learn

  • Become a more versatile developer by knowing the variety of options available to you in the .NET 6 framework and its powerful tooling
  • Know the different front-end frameworks .NET offers, such as UWP, WPF, and WinForms, and how they stack up to each other
  • Understand the different communication protocols, such as REST and gRPC, for your back-end services
  • Discover the secrets of cloud-native development, such as serverless computing with Azure Functions and deploying containers to Azure Container Services
  • Master the command line, take your skill set to the cloud, and containerize your .NET 6 app


Who This Book Is For
Both students and more experienced developers, C# developers who want to learn more about the framework they use, developers who want to be more productive by diving deeper into the tooling that .NET 6 brings to the fold, developers who need to make technical decisions. A working knowledge of C# is recommended to follow the examples used in the book.


✦ Table of Contents


Table of Contents
About the Author
Acknowledgments
Introduction
Chapter 1: A Tour of .NET 6
.NET 6
Version Support
Supported Versions
A Unified Platform
Roadmap
Supported Operating Systems
Command Line Interface
Desktop Development
Blazor
MAUI
Wrapping Up
Chapter 2: Runtimes and Desktop Packs
.NET 6 Architecture
Runtimes
CoreCLR
Mono
WinRT
Managed Execution Process
Desktop Packs
Wrapping Up
Chapter 3: Command Line Interface
Dotnet New
Dotnet Restore
NuGet.config
Dotnet Build
Dotnet Publish
Dotnet Run
Dotnet Test
Using the CLI in GitHub Actions
Other Commands
Wrapping Up
Chapter 4: Desktop Development
WinAPI
WinForms
STAThread
WinForms Startup
DPI Mode
Responding to Scale Events
Visual Styles
Text Rendering
The Message Loop
The Form Designer
Responding to Events
WPF
WPF Startup
XAML Layout
Visual Tree
Data Binding
Windows App SDK
Building a Windows App SDK application
Using Windows APIs with Windows App SDK
Packaging
Migrating to .NET 6
Upgrade Assistant
Wrapping Up
Chapter 5: Blazor
Blazor WebAssembly
Creating a Blazor Wasm Project
Blazor Progressive Web Apps
Exploring the Blazor Client Project
Blazor in .NET 6
Blazor Component System
Creating Blazor Pages
Running a Blazor App
Blazor Server
SignalR
Blazor Desktop
Wrapping Up
Chapter 6: MAUI
Project Structure
Exploring MAUI
The Cross-Platform World
Application Lifecycle
MVVM
MVVM Toolkit
Wrapping Up
Chapter 7: ASP.NET Core
Model-View-Controller
Routing
Views
Controllers
Web API
Controller-Based APIs
Minimal APIs
Wrapping Up
Chapter 8: Microsoft Azure
Web Apps
Creating an App Service
Static Web Apps
Web App for Containers
Docker
Azure Functions
Deploying Azure Functions
Wrapping Up
Chapter 9: Application Architecture
Record Types
Monolith Architecture
Microservices
Container Orchestration
Kubernetes
Docker Compose
Dapr
Installing Dapr
Dapr State Management
Wrapping Up
Chapter 10: .NET Compiler Platform
Roslyn
Compiler API
Diagnostic API
Scripting API
Workspace API
Syntax Tree
Roslyn SDK
Creating an Analyzer
Source Generators
Writing a Source Generator
Debugging Source Generators
Wrapping Up
Chapter 11: Advanced .NET 6
Garbage Collector
The Heap
The Stack
Garbage Collection
A Look at the Threadpool
Async in .NET 6
Await/Async
Cancellations
WaitAsync
Conclusion
Index


📜 SIMILAR VOLUMES


Introducing .NET 6: Getting Started with
✍ Nico Vermeir 📂 Library 📅 2022 🏛 Apress 🌐 English

<span> Welcome to .NET 6, Microsoft’s unified framework that converges the best of the modern and traditional .NET Framework. This book will introduce you to the new aspects of Microsoft’s fully supported .NET 6 Framework and will teach you how to get the most out of it. You will learn about the pro

Introducing .NET 6: Getting Started with
✍ Nico Vermeir 📂 Library 📅 2022 🏛 Apress 🌐 English

<span> Welcome to .NET 6, Microsoft’s unified framework that converges the best of the modern and traditional .NET Framework. This book will introduce you to the new aspects of Microsoft’s fully supported .NET 6 Framework and will teach you how to get the most out of it. You will learn about the pro

Getting Started with Windows 8 Apps
✍ Dewey, Ben 📂 Library 📅 2012 🏛 O'Reilly Media 🌐 English

Get a head start on building apps for Windows 8. With a series of examples, this hands-on guide takes you through the process of creating complete touch-enabled apps that respond to native sensors. Through the course of the book, you'll learn how to work with the Windows Runtime application model wh

Android for Absolute - Beginners Getting
✍ Grant Allen 📂 Library 📅 2021 🏛 Apress 🌐 English

Get started as a mobile app developer and learn the art and science of Android app development. With no assumed knowledge about programming languages or Android required, you will gain the key skills for constructing fully functional Android apps for smartphones, tablets, and other devices. You w

Android for Absolute Beginners: Getting
✍ Grant Allen 📂 Library 📅 2021 🏛 Apress 🌐 English

Get started as a mobile app developer and learn the art and science of Android app development. With no assumed knowledge about programming languages or Android required, you will gain the key skills for constructing fully functional Android apps for smartphones, tablets, and other devices. You wil