Practical Multiple Page Apps with ASP NET Core and Angular Elements

Practical Multiple Page Apps with ASP NET Core and Angular Elements
Author: Jack Xu
Publsiher: UniCAD
Total Pages: 422
Release: 2019-07-16
Genre: Computers
ISBN: 9781080437009

Download Practical Multiple Page Apps with ASP NET Core and Angular Elements Book in PDF, Epub and Kindle

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
Author: Jack Xu
Publsiher: UniCAD
Total Pages: 212
Release: 2024
Genre: Computers
ISBN: 9798615671036

Download Practical PayPal Integration in ASP NET Core Book in PDF, Epub and Kindle

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
Author: Jack Xu
Publsiher: UniCAD
Total Pages: 445
Release: 2021-06-11
Genre: Computers
ISBN: 9798725062625

Download Practical WebGPU Graphics Book in PDF, Epub and Kindle

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
Author: Jack Xu
Publsiher: UniCAD
Total Pages: 564
Release: 2019-08-10
Genre: Electronic Book
ISBN: 9781088773130

Download Practical C Charts and Graphics Second Edition Book in PDF, Epub and Kindle

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.

ASP NET Core Razor Pages

ASP NET Core Razor Pages
Author: Robert E Beasley, PhD
Publsiher: Unknown
Total Pages: 460
Release: 2020-12-05
Genre: Electronic Book
ISBN: 9798576495870

Download ASP NET Core Razor Pages Book in PDF, Epub and Kindle

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.

ASP NET Core Application Development

ASP NET Core Application Development
Author: James Chambers,David Paquette,Simon Timms
Publsiher: Microsoft Press
Total Pages: 1006
Release: 2016-11-29
Genre: Computers
ISBN: 9781509304097

Download ASP NET Core Application Development Book in PDF, Epub and Kindle

This is the eBook of the printed book and may not include any media, website access codes, or print supplements that may come packaged with the bound book. Through four complete sprints, this book takes you through every step needed to build brand new cross-platform web apps with ASP.NET Core, and make them available on the Internet. You won't just master Microsoft's revolutionary open source ASP.NET Core technology: you'll learn how to integrate the immense power of MVC, Docker, Azure Web Apps, Visual Studio and Visual Studio Code, C#, JavaScript, TypeScript, and Entity Framework. Working through the authors' carefully designed sprints, you'll start with a blank canvas, move through software architecture and design, adjusting to user feedback, recovering from mistakes, builds, testing, deployment, maintenance, refactoring, and more. Along the way, you'll learn techniques for delivering state-of-the-art software to users more rapidly and repeatably than ever before.

Practical Quantitative Finance with ASP NET Core and Angular

Practical Quantitative Finance with ASP NET Core and Angular
Author: Jack Xu
Publsiher: UniCAD
Total Pages: 652
Release: 2019-03
Genre: Business & Economics
ISBN: 9780979372568

Download Practical Quantitative Finance with ASP NET Core and Angular Book in PDF, Epub and Kindle

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.

Building Single Page App Using ASP NET Core and Angular

Building Single Page App Using ASP NET Core and Angular
Author: RAHUL. SAHAI
Publsiher: Unknown
Total Pages: 380
Release: 2018-03-25
Genre: Information technology
ISBN: 938655190X

Download Building Single Page App Using ASP NET Core and Angular Book in PDF, Epub and Kindle

Building Single Page App using ASP.NET Core and Angular is not at all meant for freshers or for those who just started programming. This Book covers tons of client-server side technologies. For exampleitusesASP.NETCore, Entity FrameworkCore, WebAPI, Repository Pattern, UnitofWork Pattern, Angular, Responsive design principles, HTML 5, Solid Principles, Design Patterns, etc. to name a few. Now to illustrate each and every concept right from the scratch is fairly impossible as it kills the purpose of writing this book. This book is for my readers who regularly ask me to write something combining all these principles. There are tons of developers and professionals around the world who know these concepts in bits and pieces but don't know how to connect the dots to build as an application. This book is entirely written around industry & coding standard, design principles. Hence, if you are fresher or just started your job, I would recommend to understand basics first and then refer this book. Otherwise, this will appear overwhelming at the beginning. From the second chapter, you will find questions section at the end of every chapter. If you are following this book precisely, you should be able to answer these questions on your own. These are project specific questions which are generally asked in any technical interviews. CONTENTS Chapter 1: Getting Started Chapter 2: Creating Solution From The Blank Slate Chapter 3: Creating Data Context Chapter 4: Implementing Web API Chapter 5: Getting Started with Angular Chapter 6: Deeper into Angular Chapter 7: Adding More Features Using Angular Chapter 8: Adding More Features to the App Chapter 9: Authentication & Authorisation Chapter 10: Introduction to Azure and CosmosDb