Practical Multiple-Page Apps with ASP.NET Core and Angular Elements PDF Download

Are you looking for read ebook online? Search for your book and save it on your Kindle device, PC, phones or tablets. Download Practical Multiple-Page Apps with ASP.NET Core and Angular Elements PDF full book. Access full book title Practical Multiple-Page Apps with ASP.NET Core and Angular Elements by Jack Xu. Download full books in PDF and EPUB format.

Practical Multiple-Page Apps with ASP.NET Core and Angular Elements

Practical Multiple-Page Apps with ASP.NET Core and Angular Elements PDF Author: Jack Xu
Publisher: UniCAD
ISBN: 1080437002
Category : Computers
Languages : en
Pages : 422

Book Description
This book provides all the tools you need to develop ultra-modern multiple-page applications (MPAs) using ASP.NET Core Razor Pages, Angular elements, WebPack, RxJS, and mini-SPAs (Single-Page Applications). It will be useful for web programmers, business developers, and students of all skill levels who are interested in web-application developments.This book teaches you how to build a modern web site/application using a hybrid approach – the simplest being host one or more mini-SPAs within a larger multiple-page web application. It shows how to split a web application into functional parts, and convert each functional part into its own SPA. These mini-SPAs together form a complete multiple-page application. For each mini SPA, we use a simple JavaScript routing system to organize the states of the application and switch between different views by watching changes on the URL.The technical stack for backend consists of operating system, web server, database, and programming logic. This book chooses ASP.NET Core Razor Pages and SQL Server as the backend framework. A Razor page consists of a Razor view and a code behind file. Each Razor page is self-contained with its own view and code organized together, resulting in a simpler app, which makes coding page-focused scenarios easier and more productive. The front-end components enable the user's interaction with the web application. In this book, we choose TypeScript, npm, WebPack, RxJS, and Angular as our front-end technical stack. TypeScript is a modern JavaScript development language that provides optional static type checking, classes, and interfaces. It also offers advanced Intellisense, auto-completion, navigation, and refactoring, which makes code easier to read and understand. WebPack is a bundler and it comes in handy when you need to pack multiple assets together into a dependency graph. There is a rising tendency to use WebPack because it can fulfil nearly all tasks that you would perform through a task runner. RxJS is a library for reactive programming using observables, which make it easier to compose asynchronous or callback-based code. This book will explain how to use all of these technologies together to create a modern web application.Angular is a popular front-end JavaScript framework. Even though it is used for SPA development, we can still take advantage of this framework in building modern multiple-page web applications, i.e., we can use Angular in a non-SPA way via Angular elements. Angular elements are Angular components packaged as custom elements, a web standard for defining new HTML elements in a framework-agnostic way. This book shows how to embed Angular elements into our modern MPA project without having to migrate an entire application to Angular.This book also includes the other selected topics, including how to use Microsoft ML.NET to solve machine learning problems, such as classification, regression, and clustering; how to create various charts and graphics using ECharts; how to use SignalR to add real-time features to your web apps; how to use dependency injection, and how to create custom tag helpers and Razor Class Libraries in Razor Pages.

Practical Multiple-Page Apps with ASP.NET Core and Angular Elements

Practical Multiple-Page Apps with ASP.NET Core and Angular Elements PDF Author: Jack Xu
Publisher: UniCAD
ISBN: 1080437002
Category : Computers
Languages : en
Pages : 422

Book Description
This book provides all the tools you need to develop ultra-modern multiple-page applications (MPAs) using ASP.NET Core Razor Pages, Angular elements, WebPack, RxJS, and mini-SPAs (Single-Page Applications). It will be useful for web programmers, business developers, and students of all skill levels who are interested in web-application developments.This book teaches you how to build a modern web site/application using a hybrid approach – the simplest being host one or more mini-SPAs within a larger multiple-page web application. It shows how to split a web application into functional parts, and convert each functional part into its own SPA. These mini-SPAs together form a complete multiple-page application. For each mini SPA, we use a simple JavaScript routing system to organize the states of the application and switch between different views by watching changes on the URL.The technical stack for backend consists of operating system, web server, database, and programming logic. This book chooses ASP.NET Core Razor Pages and SQL Server as the backend framework. A Razor page consists of a Razor view and a code behind file. Each Razor page is self-contained with its own view and code organized together, resulting in a simpler app, which makes coding page-focused scenarios easier and more productive. The front-end components enable the user's interaction with the web application. In this book, we choose TypeScript, npm, WebPack, RxJS, and Angular as our front-end technical stack. TypeScript is a modern JavaScript development language that provides optional static type checking, classes, and interfaces. It also offers advanced Intellisense, auto-completion, navigation, and refactoring, which makes code easier to read and understand. WebPack is a bundler and it comes in handy when you need to pack multiple assets together into a dependency graph. There is a rising tendency to use WebPack because it can fulfil nearly all tasks that you would perform through a task runner. RxJS is a library for reactive programming using observables, which make it easier to compose asynchronous or callback-based code. This book will explain how to use all of these technologies together to create a modern web application.Angular is a popular front-end JavaScript framework. Even though it is used for SPA development, we can still take advantage of this framework in building modern multiple-page web applications, i.e., we can use Angular in a non-SPA way via Angular elements. Angular elements are Angular components packaged as custom elements, a web standard for defining new HTML elements in a framework-agnostic way. This book shows how to embed Angular elements into our modern MPA project without having to migrate an entire application to Angular.This book also includes the other selected topics, including how to use Microsoft ML.NET to solve machine learning problems, such as classification, regression, and clustering; how to create various charts and graphics using ECharts; how to use SignalR to add real-time features to your web apps; how to use dependency injection, and how to create custom tag helpers and Razor Class Libraries in Razor Pages.

Practical PayPal Integration in ASP.NET Core

Practical PayPal Integration in ASP.NET Core PDF Author: Jack Xu
Publisher: UniCAD
ISBN:
Category : Computers
Languages : en
Pages : 212

Book Description
Welcome to "Practical PayPal Integration in ASP.NET Core". This book will provide useful resources on PayPal Checkout and Subscriptions APIs and SDKs, as well as their applications in ASP.NET Core projects. I hope that this book will be useful for .NET programmers, software developers, and students of all skill levels, who are interested in integrating the PayPal REST APIs into their ASP.NET applications. You may often get confused with PayPal because there are so many frameworks and options to do the same thing. In fact, there are over 50 PayPal services, APIs, and SDKs out there – you just do not know which one is suitable for your applications. In this book, I will choose the latest PayPal products, services, APIs, and SDKs, and integrate them into your ASP.NET Core applications. Here are PayPal technologies that I plan to use: •PayPal Smart Payment Buttons – These new buttons, introduced in June 2018, provide a simplified and secure check out experience. They intelligently present the most relevant payment types to your shoppers automatically. •PayPal JavaScript SDK – This SDK integrates Smart Payment Buttons into your web site and renders them to a container DOM element. •PayPal Checkout .NET SDK – To simplify integrations, PayPal provides a .NET SDK for their Version 2 REST Payment API. Using the SDK over a direct integration allows the SDK to handle authentication on the server side for you. •PayPal Subscriptions API – I will implement a Subscriptions .NET SDK based on PayPal Version 1 Subscriptions REST API. This SDK allows you to easily integrate PayPal Subscriptions into .NET applications. In the first part of this book, I will explain how to use the PayPal Checkout .NET SDK to get start with the PayPal Version 2 Payments and Orders REST APIs. I will use various examples to demonstrate the procedures to complete a PayPal checkout transaction, including how to set up the development environment, how to integrate and render Smart Payment Buttons, how to create and manage orders, and how to capture and verify the transaction. In the second part of this book, I will switch to PayPal Subscriptions API. This API has not been ported to Version 2 yet, so we have to use Version 1 API for subscription. To make matters even worse, PayPal has never released a stable Subscriptions .NET SDK, which makes it difficult for .NET developers to integrate PayPal Subscriptions API into .NET and .NET Core applications. Therefore, I decide to implement a simple PayPal Subscriptions .NET SDK, which simply exposes various static methods that can be used to integrate PayPal Subscriptions API into .NET applications. I will use several examples to illustrate how to use this SDK to complete subscription transactions.

Practical WebGPU Graphics

Practical WebGPU Graphics PDF Author: Jack Xu
Publisher: UniCAD
ISBN:
Category : Computers
Languages : en
Pages : 445

Book Description
WebGPU is the next-generation graphics API and future web standard for graphics and compute, aiming to provide modern 3D graphics and computation capabilities with the GPU acceleration. This book provides all the tools you need to help you create advanced 3D graphics and GPU computing on the web with this new WebGPU API. The book starts by taking you through the WebPack-TypeScript template for building the WebGPU apps and then shows you the WebGPU basics, shader program, GPU buffer, and rendering pipeline. Next, you will learn how to create primitives and simple objects in WebGPU. As you progress through the chapters, you will get to grips with advanced WebGPU topics, including 3D transformation, lighting calculation, colormaps, and textures. At the same time, you will learn how to create advanced 3D WebGPU objects, including various 3D wireframes, 3D shapes, simple and parametric 3D surfaces with colormaps and textures, as well as 3D surface plots and fractal graphics described by complex functions. In addition, you will explore new WebGPU features, such as compute shader and storage buffer, and how to use them to simulate large particle systems. By the end of this book, you will have the skill you need to build your own GPU-accelerated graphics and computing on the web with the WebGPU API. The book includes: - Template based on WebPack and TypeScript for developing WebGPU apps. - WebGPU basics, GLSL and WGSL shaders, and rendering pipeline. - Create primitives and simple shapes in WebGPU. - 3D transformations, model, viewing, projection, and various coordinate systems. - GPU buffers, uniform buffer objects, animation, and camera controls. - Normal vectors, lighting model, ambient, diffuse, and specular light calculations. - UV coordinates, texture mapping.- Color model, colormaps, and color interpolation. - Create 3D shapes, wireframes, surfaces, and 3D charts. - Create 3D plots and fractal graphics using complex functions. - Compute shaders, storage buffers, and large particle system simulation.

Practical C# Charts and Graphics (Second Edition)

Practical C# Charts and Graphics (Second Edition) PDF Author: Jack Xu
Publisher: UniCAD
ISBN: 1088773133
Category :
Languages : en
Pages : 564

Book Description
The book "Practical C# Charts and Graphics (Second Edition) - Advanced Chart and Graphics Programming for Real-World .NET Applications" provides all the tools you need to create professional C# chart and graphics applications for .NET developers. The book "Practical C# Charts and Graphics " is a perfect guide to learning all the basics for creating your advanced chart and graphics applications in C#. The book clearly explains practical chart and graphics methods and their underlying algorithms. The book contains: - Overview of GDI+ graphics capabilities and mathematical basics of computer charting and graphics - Step-by-step procedures to create a variety of 2D and 3D charts and graphics with complete ready-to-run C# code for each application. - Powerful 2D and 3D chart packages and user controls that can be directly used in your C# applications or can be easily modified to create your own sophisticated chart and graphics packages. - Detailed procedures to embed JavaScript charting library into your WIndows Forms applications. - Introductions to embed Gincker Graphics into your C# applications and demonstration how to use Gincker Graphics to create a variety charts and graphics without the need to write a single line of code.

Practical Quantitative Finance with ASP.NET Core and Angular

Practical Quantitative Finance with ASP.NET Core and Angular PDF Author: Jack Xu
Publisher: UniCAD
ISBN: 0979372569
Category : Business & Economics
Languages : en
Pages : 652

Book Description
This book provides comprehensive details of developing ultra-modern, responsive single-page applications (SPA) for quantitative finance using ASP.NET Core and Angular. It pays special attention to create distributed web SPA applications and reusable libraries that can be directly used to solve real-world problems in quantitative finance. The book contains: Overview of ASP.NET Core and Angular, which is necessary to create SPA for quantitative finance. Step-by-step approaches to create a variety of Angular compatible real-time stock charts and technical indicators using ECharts and TA-Lib. Introduction to access market data from online data sources using .NET Web API and Angular service, including EOD, intraday, real-time stock quotes, interest rates. Detailed procedures to price equity options and fixed-income instruments using QuantLib, including European/American/Barrier/Bermudan options, bonds, CDS, as well as related topics such as cash flows, term structures, yield curves, discount factors, and zero-coupon bonds. Detailed explanation to linear analysis and machine learning in finance, which covers linear regression, PCA, KNN, SVM, and neural networks. In-depth descriptions of trading strategy development and back-testing for crossover and z-score based trading signals.

ASP.NET Core Razor Pages

ASP.NET Core Razor Pages PDF Author: Robert E Beasley, PhD
Publisher:
ISBN:
Category :
Languages : en
Pages : 460

Book Description
Audience This book was written for anyone interested in learning one of the most effective and widely-used technology stacks for developing highly-interactive, professional-grade, database-driven Web applications-ASP.NET Core Razor Pages, C#.NET, HTML, Bootstrap, CSS, JavaScript, and Entity Framework Core-including novice software developers, professional software developers, and college or university students enrolled in a one-semester course or two-semester sequence of courses in Web application development. Organization Part I provides an overview of some of the major concepts and technologies associated with ASP.NET Core Web application development as well as ASP.NET Core solutions and projects. Part II describes how to develop an ASP.NET Core Web application, including how to create and use HTML elements and how to perform model validation to keep bad data out of the system. The concepts in this part of the book will lay the foundation required for learning the C# programming language in the context of an ASP.NET Core Web application. Part III describes how to program in the C# programming language, including how to perform assignment, conversion, control, string, arithmetic, date and time, array, collection, and file system operations and how to create custom C# classes-in the context of an ASP.NET Core Web application. Part IV describes how to develop a multiple-page ASP.NET Core Web application, including how to maintain the application's state and how to use layout pages to give the pages of the application a consistent look. Part V describes how to improve the user experience of an ASP.NET Core Web application, including how to use Bootstrap to make the application responsive and attractive when displayed on a phone, tablet, laptop, and desktop, how to use Cascading Style Sheets to style HTML elements consistently across all the pages of the application, and how to use JavaScript to write code that needs to be executed in the browser. Part VI describes how to connect an ASP.NET Core Web application to a SQL Server database, including how to install and use Entity Framework Core, how to perform database query operations, and how to perform database table maintenance. Part VII describes how to create an ASP.NET Core Web application service, including a NetMail email service and a MailKit email service. Features Real-Life Examples A significant proportion of the examples in the text are drawn from the real-life experiences of the author's own software development practice that began in 1987. Clear-Minded, Consistent, and Concise Prose Every effort has been made to present concepts clearly and logically, utilize consistent language and terminology across all chapters, and articulate concepts fully yet concisely. Accessible Language Although the subject matter of this book is highly technical and specialized, trendy and/or arcane language that is inaccessible to the average learner is either clearly defined or replaced in favor of clear and generalizable terminology.

Apps and Services with .NET 8

Apps and Services with .NET 8 PDF Author: Mark J. Price
Publisher: Packt Publishing Ltd
ISBN: 1837634076
Category : Computers
Languages : en
Pages : 799

Book Description
Bestselling author Mark Price is back to guide you through the latest and most common technologies a .NET developer should know: Blazor Full Stack, ASP.NET Core MVC, ASP.NET Core Minimal APIs, .NET MAUI, gRPC, GraphQL, SQL Server, Cosmos DB, SignalR, Azure Functions, and more! Purchase of the print or Kindle book includes a free eBook in PDF format. Key Features Use specialized libraries to improve all aspects of your apps, including performance, security, and localization Harness the full potential of .NET using cloud-native data stores like Cosmos DB, and unlock scalability, performance, and resilience in your service implementations Unleash the capabilities of Blazor Full Stack and.NET MAUI to develop stunning, truly cross-platform apps for web and mobile Book DescriptionElevate your practical C# and .NET skills to the next level with this new edition of Apps and Services with .NET 8. With chapters that put a variety of technologies into practice, including Web API, gRPC, GraphQL, and SignalR, this book will give you a broader scope of knowledge than other books that often focus on only a handful of .NET technologies. You’ll dive into the new unified model for Blazor Full Stack and leverage .NET MAUI to develop mobile and desktop apps. This new edition introduces the latest enhancements, including the seamless implementation of web services with ADO.NET SqlClient's native Ahead-of-Time (AOT) support. Popular library coverage now includes Humanizer and Noda Time. There’s also a brand-new chapter that delves into service architecture, caching, queuing, and robust background services. By the end of this book, you’ll have a wide range of best practices and deep insights under your belt to help you build rich apps and efficient services.What you will learn Familiarize yourself with a variety of technologies to implement services, such as gRPC and GraphQL Store and manage data locally and cloud-natively with SQL Server and Cosmos DB Use ADO.NET SqlClient to implement web services with native AOT publish support Leverage Dapper for improved performance over EF Core Implement popular third-party libraries such as Serilog, FluentValidation, Humanizer, and Noda Time Explore the new unified hosting model of Blazor Full Stack Who this book is forThis book is for .NET developers interested in exploring more specialized libraries and implementation fundamentals behind building services and apps. You’ll need to know your way around .NET and C# quite well before you can dive in, so if you want to work your way up to this book, you can pick up Mark’s other .NET book, C# 12 and .NET 8 – Modern Cross-Platform Development Fundamentals, first.

C# 10 and .NET 6 – Modern Cross-Platform Development

C# 10 and .NET 6 – Modern Cross-Platform Development PDF Author: Mark J. Price
Publisher: Packt Publishing Ltd
ISBN: 1801076960
Category : Computers
Languages : en
Pages : 825

Book Description
Publisher’s Note: Microsoft will stop supporting .NET 6 from November 2024. The newer 8th edition of the book is available that covers .NET 8 (end-of-life November 2026) with C# 12 and EF Core 8. Purchase of the print or Kindle book includes a free PDF eBook Key Features Explore the newest additions to C# 10, the .NET 6 class library, and Entity Framework Core 6 Create professional websites and services with ASP.NET Core 6 and Blazor Build cross-platform apps for Windows, macOS, Linux, iOS, and Android Book DescriptionExtensively revised to accommodate all the latest features that come with C# 10 and .NET 6, this latest edition of our comprehensive guide will get you coding in C# with confidence. You’ll learn object-oriented programming, writing, testing, and debugging functions, implementing interfaces, and inheriting classes. The book covers the .NET APIs for performing tasks like managing and querying data, monitoring and improving performance, and working with the filesystem, async streams, and serialization. You’ll build and deploy cross-platform apps, such as websites and services using ASP.NET Core. Instead of distracting you with unnecessary application code, the first twelve chapters will teach you about C# language constructs and many of the .NET libraries through simple console applications. In later chapters, having mastered the basics, you’ll then build practical applications and services using ASP.NET Core, the Model-View-Controller (MVC) pattern, and Blazor.What you will learn Build rich web experiences using Blazor, Razor Pages, the Model-View-Controller (MVC) pattern, and other features of ASP.NET Core Build your own types with object-oriented programming Write, test, and debug functions Query and manipulate data using LINQ Integrate and update databases in your apps using Entity Framework Core, Microsoft SQL Server, and SQLite Build and consume powerful services using the latest technologies, including gRPC and GraphQL Build cross-platform apps using XAML Who this book is forDesigned for both beginners and C# and .NET programmers who have worked with C# in the past and want to catch up with the changes made in the past few years, this book doesn’t need you to have any C# or .NET experience. However, you should have a general understanding of programming before you jump in.

ASP.NET Core 8 and Angular

ASP.NET Core 8 and Angular PDF Author: Valerio De Sanctis
Publisher: Packt Publishing Ltd
ISBN: 180512210X
Category : Computers
Languages : en
Pages : 805

Book Description
Build robust, scalable web applications using ASP.NET Core 8, Angular, and Entity Framework Core Purchase of the print or Kindle book includes a free PDF eBook Key Features Combine ASP.NET Core and Angular to build highly versatile web applications Create a production-ready Single-Page Application (SPA) or Progressive Web Application (PWA) Adopt a full-stack approach to handle data management, API documentation, Web APIs, end-to-end testing, security, and deployment Book DescriptionIf you want to learn how to use ASP.NET Core with Angular effectively, this hands-on guide is for you. Improve the way you create, debug, and deploy web applications while keeping up to date with the latest developments in .NET 8 and modern Angular, including .NET Minimal APIs and the new Angular standalone API defaults. You’ll begin by setting up SQL Server 2022 and building a data model with Entity Framework Core. You’ll progress to fetching and displaying data, handling user input with Angular reactive forms, and implementing front-end and back-end validators for maximum effect. After that, you will perform advanced debugging and explore unit testing features with xUnit for .NET, and Jasmine and Karma for Angular. You’ll use Identity API endpoints in ASP.NET Core and functional route guards in Angular to add authentication and authorization to your apps. Finally, you’ll learn how to deploy to Windows, Linux, and Azure. By the end of this book, you will understand how to tie together the front-end and back-end to build and deploy secure and robust web applications.What you will learn Explore the new Angular and ASP.NET Core template with Visual Studio 2022 Use modern interfaces and patterns such as the HTML5 pushState API, webhooks, and UI data bindings Add real-time capabilities to Angular apps with SignalR and gRPC Implement authentication and authorization using JWTs Perform DBMS structured logging using providers such as SeriLog Convert a standard web application to a progressive web application (PWA) Deploy an Angular app to Azure Static Web Apps Add GraphQL support to back-end and front-end using HotChocolate and Apollo Angular Who this book is for This book is for developers who have some familiarity with ASP.NET Core and Angular and want to learn how to use them effectively together.

Apps and Services with .NET 7

Apps and Services with .NET 7 PDF Author: Mark J. Price
Publisher: Packt Publishing Ltd
ISBN: 1801810583
Category : Computers
Languages : en
Pages : 815

Book Description
Bestselling author Mark Price is back to guide you through the coolest and most common technologies a .NET developer should know: Blazor, .NET MAUI, gRPC, GraphQL, SQL Server, Cosmos DB, OData, SignalR, Azure Functions, and more! Purchase of the print or Kindle book includes a free eBook in PDF format. Key FeaturesBuild services using a variety of technologies including Web API, OData, gRPC, GraphQL, SignalR, and Azure FunctionsLearn how to use specialized libraries to improve all aspects of your applications, including performance and localizationLeverage .NET MAUI to develop cross-platform desktop and mobile apps with easeBook Description Apps and Services with .NET 7 is for .NET 6 and .NET 7 developers who want to kick their C# and .NET understanding up a gear by learning the practical skills and knowledge they need to build real-world applications and services. It covers specialized libraries that will help you monitor and improve performance, secure your data and applications, and internationalize your code and apps. With chapters that put a variety of technologies into practice, including Web API, OData, gRPC, GraphQL, SignalR, and Azure Functions, this book will give you a broader scope of knowledge than other books that often focus on only a handful of .NET technologies. It covers the latest developments, libraries, and technologies that will help keep you up to date. You'll also leverage .NET MAUI to develop mobile apps for iOS and Android as well as desktop apps for Windows and macOS. What you will learnLearn how to build more efficient, secure, and scalable apps and servicesLeverage specialized .NET libraries to improve your applicationsImplement popular third-party libraries like Serilog and FluentValidationBuild cross-platform apps with .NET MAUI and integrate with native mobile featuresGet familiar with a variety of technologies for implementing services like gRPC and GraphQLExplore Blazor WebAssembly and use open-source Blazor component librariesStore and manage data locally and in the cloud with SQL Server and Cosmos DBWho this book is for This book is for .NET developers interested in exploring more specialized libraries and implementation fundamentals behind building services and apps. You'll need to know your way around .NET and C# quite well before you can dive in, so if you want to work your way up to this book, pick up Mark's other .NET book, C# 11 and .NET 7 – Modern Cross-Platform Development Fundamentals, first.