Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Apps and Services with .NET 10
  • Table Of Contents Toc
Apps and Services with .NET 10

Apps and Services with .NET 10 - Third Edition

By : Mark J. Price
5 (2)
close
close
Apps and Services with .NET 10

Apps and Services with .NET 10

5 (2)
By: Mark J. Price

Overview of this book

Building modern apps and services with C# and .NET isn’t just about knowing the syntax—it’s about knowing the right tools for the job. Whether you’re building for web, desktop, or mobile, the .NET ecosystem offers a vast range of technologies. But with so many choices, it’s easy to get stuck in a narrow skillset. Apps and Services with .NET 10 helps you build real-world experience across the breadth of what .NET has to offer. This edition covers practical implementations across a diverse set of technologies. You'll build APIs with ASP.NET Core Minimal API, gRPC, GraphQL, and SignalR, and create user-facing applications using Blazor for the web, Avalonia for desktop, and .NET MAUI for mobile. You’ll also explore native AOT (Ahead-of-Time) compilation for high-performance web services, along with caching, messaging, and long-running background tasks. Each chapter provides hands-on projects and real-world context for when and why to use each tool. By the end, you’ll have a full-stack command of modern .NET. You’ll know how to select the right UI tech for your target platform, build APIs that scale, architect reliable backend services, and confidently adopt newer patterns. You won’t just understand the tools—you’ll know how to put them together to deliver robust, user-friendly, cross-platform apps in production environments. *Email sign-up and proof of purchase required
Table of Contents (4 chapters)
close
close

Using shared resources

When building graphical UIs, you will often want to use a resource, such as a brush to paint the background of controls or an instance of a class to perform custom conversions. Resources can be defined at the following levels and shared with everything at that level or lower:

  1. Application
  2. Page
  3. Control

Defining resources to share across an app

A good place to define shared resources is at the app level, so let’s see how to do that:

  1. In the Resources folder, in the Styles folder, add a new .NET MAUI Resource Dictionary (XAML) project item named Northwind.xaml.

VS Code and Rider do not have project item templates for MAUI. You can create this item using the CLI, as shown in the following command:

dotnet new maui-dict-xaml --name Northwind.xaml

  1. Add markup inside the existing ResourceDictionary element to define a linear gradient brush with a key of Rainbow, as shown highlighted in the following markup:
<?xml version="1.0" encoding="utf...
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Apps and Services with .NET 10
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon