Software Architecture with C# 10 and .NET 6
eBook - ePub

Software Architecture with C# 10 and .NET 6

Gabriel Baptista, Francesco Abbruzzese

Partager le livre
  1. 714 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Software Architecture with C# 10 and .NET 6

Gabriel Baptista, Francesco Abbruzzese

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

Design scalable and high-performance enterprise applications using the latest features of C# 10 and.NET 6Key Features‱ Gain comprehensive software architecture knowledge and the skillset to create fully modular apps‱ Solve scalability problems in web apps using enterprise architecture patterns‱ Master new developments in front-end architecture and the application of AI for software architectsBook DescriptionSoftware architecture is the practice of implementing structures and systems that streamline the software development process and improve the quality of an app. This fully revised and expanded third edition, featuring the latest features of.NET 6 and C# 10, enables you to acquire the key skills, knowledge, and best practices required to become an effective software architect. Software Architecture with C# 10 and.NET 6, Third Edition features new chapters that describe the importance of the software architect, microservices with ASP.NET Core, and analyzing the architectural aspects of the front-end in the applications, including the new approach of.NET MAUI. It also includes a new chapter focused on providing a short introduction to artificial intelligence and machine learning using ML.NET, and updated chapters on Azure Kubernetes Service, EF Core, and Blazor. You will begin by understanding how to transform user requirements into architectural needs and exploring the differences between functional and non-functional requirements. Next, you will explore how to choose a cloud solution for your infrastructure, taking into account the factors that will help you manage a cloud-based app successfully. Finally, you will analyze and implement software design patterns that will allow you to solve common development problems. By the end of this book, you will be able to build and deliver highly scalable enterprise-ready apps that meet your business requirements.What you will learn‱ Use proven techniques to overcome real-world architectural challenges‱ Apply architectural approaches such as layered architecture‱ Leverage tools such as containers to manage microservices effectively‱ Get up to speed with Azure features for delivering global solutions‱ Program and maintain Azure Functions using C# 10‱ Understand when it is best to use test-driven development (TDD)‱ Implement microservices with ASP.NET Core in modern architectures‱ Enrich your application with Artificial Intelligence‱ Get the best of DevOps principles to enable CI/CD environmentsWho this book is forThis book is for engineers and senior software developers aspiring to become architects or looking to build enterprise applications with the.NET Stack. Basic familiarity with C# and.NET is required to get the most out of this book.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Software Architecture with C# 10 and .NET 6 est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Software Architecture with C# 10 and .NET 6 par Gabriel Baptista, Francesco Abbruzzese en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Programming in C#. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2022
ISBN
9781803245959
Édition
3

17

Blazor WebAssembly

In this chapter, you will learn how to implement a presentation layer with Blazor WebAssembly. Blazor WebAssembly applications are C# applications that can run in any browser that supports the WebAssembly technology. They can be accessed by navigating to a specific URL and are downloaded in the browser as standard static content, made of HTML pages and downloadable files.
Blazor applications use many technologies we already analyzed in Chapter 15, Presenting ASP.NET Core MVC, such as dependency injection and Razor. Therefore, we strongly recommend studying Chapter 15, Presenting ASP.NET Core MVC, and Chapter 16, Implementing Frontend Microservices with ASP.NET Core, before reading this chapter.
More specifically, in this chapter, you will learn about the following subjects:
  • Blazor WebAssembly architecture
  • Blazor pages and components
  • Blazor forms and validation
  • Blazor advanced features, such as globalization, authentication, and JavaScript interoperability
  • Third-party tools for Blazor WebAssembly
  • Use case – implementing a simple application in Blazor WebAssembly
While there is also server-side Blazor, which runs on the server like ASP.NET Core MVC, this chapter discusses just Blazor WebAssembly, which runs entirely in the user’s browser, since the main purpose of the chapter is to furnish a relevant example of how to implement a presentation layer with client-side technology. Moreover, server-side Blazor can’t furnish a performance that is comparable with other server-side technologies, like ASP.NET Core MVC, which we analyzed in Chapter 15, Presenting ASP.NET Core MVC.
The first section gives a sketch of the general Blazor WebAssembly architecture, while the remaining sections describe specific features. When needed, concepts are clarified by analyzing and modifying the example code that Visual Studio generates automatically when one selects the Blazor WebAssembly project template. The last section shows how to use all the concepts learned in practice with the implementation of a simple application based on the WWTravelClub book use case.

Technical requirements

This chapter requires the free Visual Studio 2022 Community edition or better with all the database tools installed. All concepts are clarified with a simple example application based on the WWTravelClub book use case. The code for this chapter is available at https://github.com/PacktPublishing/Software-Architecture-with-C-10-and-.NET-6-3E.

Blazor WebAssembly architecture

Blazor WebAssembly uses the new WebAssembly browser feature to execute the .NET runtime in the browser. This way, it enables all developers to use the whole .NET code base and ecosystem in the implementation of applications capable of running in any WebAssembly-compliant browser. WebAssembly was conceived as a high-performance alternative to JavaScript. It is an assembly capable of running in a browser and obeying the same limitations as JavaScript code. This means that WebAssembly code, like JavaScript code, runs in an isolated execution environment that has very limited access to all machine resources.
WebAssembly differs from similar options of the past, like Flash and Silverlight, since it is an official W3C standard. More specifically, it became an official standard on December 5, 2019, so it is expected to have a long life. As a matter of fact, all mainstream browsers already support it.
However, WebAssembly doesn’t bring just performance with it! It also creates the opportunity to run whole code bases associated with modern and advanced object-oriented languages such as C++ (direct compilation), Java (bytecode), and C# (.NET) in browsers.
At the moment Microsoft offers two frameworks that run .NET on top of WebAssembly, Blazor WebAssembly and Unity WebAssembly, which is the WebAssembly port of the Unity 3D graphic framework. Unity WebAssembly’s main purpose is the implementation of online videogames that run in the browser, while Blazor WebAssembly is a single-page applicatio...

Table des matiĂšres