ENGLISH

Beginning gRPC with ASP.NET Core 6: Build Applications using ASP.NET Core Razor Pages, Angular, and Best Practices in .NET 6

Book information

Year
2022
ISBN
9781484280072, 9781484280089
Language
english
Format
PDF
Filesize
10 MB (10849487 bytes)
Pages
489\489
Time added
2022-04-02 22:41:20

Description

Table of Contents About the Author About the Technical Reviewer Acknowledgments Introduction Part I: Getting Started with .NET 6 Chapter 1: Welcome to Modern .NET A Brief History of .NET .NET Framework .NET Core .NET Standard Modern .NET: A Unified Platform Mono and CoreCLR Differences and Commonalities JIT AOT The Best of Both Worlds .NET Schedule and What It Means How to Explore .NET 6 .NET 5 and 6 Improvements Get Started with .NET 6 Recap of C# 9 and Introduction to C# 10 Recap of C# 9 Init-Only Properties Records Improved Pattern Matching Improved Target Typing Covariant Returns Static Anonymous Functions Top-Level Programs Introduction to C# 10 Global Usings File-Scoped Namespaces Record struct Summary Chapter 2: Introducing ASP.NET Core 6 ASP.NET Core Fundamentals ASP.NET Core Web API ASP.NET Core MVC ASP.NET Core Razor Pages ASP.NET Core Blazor ASP.NET Core SignalR ASP.NET Core gRPC ASP.NET Core Minimal APIs Summary Part II: gRPC Fundamentals Chapter 3: Understanding the gRPC Specification Introduction to Remote Procedure Calls gRPC Concepts Protocol Buffers gRPC Channel Types of gRPC Services Unary Calls Server-Streaming Calls Client-Streaming Calls Bidirectional Streaming Calls Trailers gRPC Status Deadline and Cancellation gRPC Requests and Responses over HTTP/2 Introduction to the HTTP/2 Protocol Multiplexing Compression and Binary Data Transport Flow Control Server Push Benefits, Drawbacks, and Use Cases Benefits Drawbacks Use Cases Summary Chapter 4: Protobufs About Protocol Buffers Individual Declarations Services Declaration Messages Declaration Scalar Type Values Collections Lists Dictionaries Enumerations Nested Types Import Types Any, Value, Struct, Wrappers, Dates, and  Times (Well-Known Types) Any Wrappers Value Dates and Times Bytes One of Empty Messages Comments Summary Part III: gRPC and ASP.NET Core Chapter 5: Creating an ASP.NET Core gRPC Application Create an ASP.NET Core gRPC Application Create and Compile Protobuf Files Write, Configure, and Expose gRPC Services Test Using gRPCurl and gRPCui Tools gRPCurl gRPCui TLS Certificates Manage Errors, Handle Responses, and Perform Logging Perform Message Validation Support of ASP.NET Core gRPC on Microsoft Azure Summary Chapter 6: API Versioning Version gRPC Services Expose the Versions of Your Protobuf with ASP.NET Core Minimal APIs Summary Chapter 7: Create a gRPC Client Create a Console Application Compile Protobuf Files and Generate gRPC Clients Consume gRPC Services with .NET 6 Optimize Performance Take Advantage of Compression Define a Limit to Message Size Keep HTTP/2 Connections Open Increase HTTP/2 Maximum Connections Get Message Validation Errors from the Server Summary Chapter 8: From WCF to gRPC Differences and Similarities Between WCF and gRPC What and What Not to Migrate from WCF to gRPC Summary Chapter 9: Import and Display Data with ASP.NET Core Razor Pages, Hosted Services, and gRPC Scenario Explanation Create and Layer the ASP.NET Core gRPC Application Set Up a SQL Server Database and Use Entity Framework Core to Access Data Set Up a SQL Server Database Using Entity Framework Core to Access Data Design the Database by Code Seed the Database by Code Query the Database with LINQ Queries Write the Business Logic and Expose the Country gRPC Microservice Write the Business Logic into the CountryService.BLL Layer Write the Country gRPC Service Create and Layer the ASP.NET Core Razor Application Create the Application Skeleton Define Contracts and Domain Objects Implement the Data Access Layer with the gRPC Client Implement the Business Logic Layer Configure the ASP.NET Core Razor Pages Application Create a Background Task for Handling Uploaded File Data and Create a Channel to Store Data Create and Configure the gRPC Client with the IHttpClientFactory and Register All Dependencies in the Program.cs File Upload a Data File with a Form, Display and Manage Data on Razor Pages Summary Part IV: gRPC-web and ASP.NET Core Chapter 10: The gRPC-web Specification History and Specification of gRPC-web History of gRPC-web The gRPC-web Specification The gRPC-web JavaScript Libraries gRPC-web vs. REST APIs Summary Chapter 11: Create a gRPC-web service from a gRPC-service with ASP.NET Core Working with gRPC-web and the .NET Ecosystem gRPC-web and ASP.NET Core 6 gRPC-web and All .NET Clients gRPC-web and ASP.NET Core 3+ Clients Reworking the CountryService gRPC service for Browser Apps Support of ASP.NET Core gRPC-web on Microsoft Azure Summary Chapter 12: Import and Display Data with Angular 12 and gRPC-web Introduction to SPAs Generate TypeScript Stubs with Protoc Download the Correct Version of Protoc and Protobuf Well-Known Types Download the ts-protoc-gen Plug-in Download Improbable’s gRPC-web Library and Google Protobufs Library Executing the Protoc Command Write Data Access with Improbable’s gRPC-web Client Upload a Data File and Display Data with TypeScript, a Web Worker, and gRPC-web Manage Data with TypeScript and gRPC-web Summary Part V: Security Chapter 13: Secure Your Application with OpenId Connect Introduction to OpenId Connect Configure ASP.NET Core Use gRPCurl and gRPCui with a JWT gRPCurl gRPCui Use a C# Client with a JWT Use a gRPC-web Client with a JWT Get User Identity Server Side Summary Index

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

2008 · PDF