
Author(s): Marcelo Guerra Hahn (Author)
- Publisher finelybook 出版社: Packt Publishing
- Publication Date 出版日期: February 27, 2026
- Language 语言: English
- Print length 页数: 212 pages
- ISBN-10: 1835882544
- ISBN-13: 9781835882542
Book Description
Learn the basics of GUI programming in C# through clear, step-by-step examples using Blazor, .NET MAUI, and WinUI 3. Build simple web and desktop interfaces while understanding core UI concepts, event handling, and data binding.
Key Features
- Understand core GUI principles in C# through simple, guided examples
- Build introductory apps with Blazor, .NET MAUI, and WinUI 3
- Learn data binding and foundational MVVM concepts
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Developing graphical user interfaces in C# can feel overwhelming with so many frameworks and tools to choose from. This book simplifies the journey by teaching GUI fundamentals through small, structured, and practical examples.
You start with core GUI concepts, event driven programming, and basic interface design. Then you build simple web apps using Blazor and WebAssembly, learning about components, rendering, and data binding. Next, you explore cross platform development with .NET MAUI, working with XAML, layouts, controls, and basic app logic. Finally, you create Windows desktop applications with WinUI 3, using common controls and foundational patterns such as MVVM and data binding.
Rather than focusing on complex enterprise architecture, the book builds your skills step by step. Each chapter reinforces key ideas through clear examples designed to build confidence and practical understanding.
Written by Marcelo, a developer with over 18 years of experience in C#, C++, Azure, and data driven systems, this book helps you gain clarity in GUI development. By the end, you will be able to create simple, well structured web and desktop interfaces in C# and understand the core concepts behind them.
What you will learn
- Understand core GUI concepts and event-driven programming in C#
- Create beginner-friendly web interfaces using Blazor components
- Build simple cross-platform apps with .NET MAUI and XAML
- Handle user input, events, and basic UI logic in your applications
- Develop Windows desktop interfaces with WinUI 3 controls
- Apply data binding and introductory MVVM patterns
Who this book is for
This book is for C# developers who want a beginner-friendly introduction to GUI programming. It is suitable for junior developers, backend developers expanding into UI work, and learners who want to understand the foundations before exploring more advanced UI architecture.
You should be comfortable with basic C# syntax, classes, and object-oriented programming concepts. No prior experience with Blazor, .NET MAUI, WinUI 3, XAML, or MVVM is required.
Table of Contents
- Introduction to GUI development in C#
- Introduction to Blazor and WebAssembly
- Building Your First Blazor Web Application
- Using Razor Components and Data Binding
- Introduction to .NET MAUI
- Creating Native, Cross-Platform Apps with .NET MAUI
- Implementing MVVM and Data Binding in .NET MAUI
- Getting Started with WinUI 3 and Visual Studio
- Building a Modern Desktop App with WinUI 3
- Advanced WinUI
Editorial Reviews
Editorial Reviews
About the Author
Marcelo Guerra Hahn, With over 18 years of experience in software development and data analysis, Marcelo Guerra Hahn is a seasoned expert in C++, C#, and Azure. As an Engineering Manager at Microsoft C++ Team and former leader of SoundCommerce’s engineering team, Marcelo’s passion for data and informed decision-making shines through. He shares his knowledge as a lecturer at esteemed institutions like Lake Washington Institute of Technology and University of Washington. Through this book, Marcelo aims to empower readers with advanced C++ techniques, honed by real-world experience, to become proficient programmers and skilled data analysts.
finelybook
