"Practical Cross-Platform Charts and Graphics with ASP.NET Core MVC" presents a complete and comprehensive introduction to ASP.NET Core MVC chart and graphics capabilities of , and explains in great detail and depth how to create a variety of cross-platform graphics and charts with ASP.NET Core MVC. It provides all the tools you need to develop cross-platform chart and graphics web applications using C#, ASP.NET Core MVC, and JavaScript.
You can read the Introduction for an overview of the book, and the Table of Contents for more detailed information about the scope of the book. From this information, you can get a feeling of the way the book provides original and detailed materials to help you create sophisticated charts and graphics in your ASP.NET Cove MVC applications using C#, MVC Core, and JavaScript.
Download ✵✵✵ https://t.co/35ucw1OsU5
Examples in the book teach you how to create various popular cross-platform graphics and charts, including 2D graphics and charts based on SVG, 3D charts and graphics based on WebGL, and specialized charts based on open-source JAvaScript libraries. This book pays special attention to create suitable JSON interfaces for different JavaScript libraries, which allow you to create a variety of graphics and charts on the client browser using data from the server-side data sources, such as mathematical functions and database. Much of this book contains original work based on my own programming experience when I was developing commercial CAD packages and chart applications for quantitative analysis in the financial industry. With ASP.NET Core MVC Framework and various client-side JavaScript chart and graphics libraries, you will find how easy it is to create web applications with complex 2D and 3D charts and graphics. The ready-to-run sample programs provided in this book allows you to explore the cross-platform chart and graphics techniques with ASP.NET Core MVC described in the book. You can modify these sample codes or add new features to them to form the basis of your own chart and graphics packages. Some of the example programs are already sophisticated chart and graphics packages that can be used directly in your own real-world MVC Core Web applications.
Welcome to Practical Cross-Platform Charts and Graphics with ASP.NET Core MVC. This book will provide all the tools you need to develop cross-platform chart and graphics web applications using C#, ASP.NET Core MVC, JavaScript, and Visual Studio 2017. I hope this book will be useful for .NET programmers and web application developers of all skill levels.
APS.NET Core is a new web framework from Microsoft, which is an open source and cloud-optimized web platform for developing modern web applications that can run on Windows, Linux, and Mac. The platform includes the MVC Core framework, which combines the features of MVC and Web API into a single web-programming framework.
ASP.NET core is built on .NET Core, which is a cross-platform version of the .NET Framework without the Windows-specific API. It is a completely new framework, which is simper and easier to work with. ASP.NET Core MVC, built on the new ASP.NET Core platform, provides the functionality of the original ASP.NET MVC Framework. ASP.NET Core MVC applications can run on .NET Core or on the full .NET Framework. The platform provides an optimized development framework for applications that are deployed to the cloud or run on-premises. It consists of modular components with minimal overhead, so you can optimize your applications to include just the NuGet packages you need. The benefits of such a smaller platform include tighter security, reduced servicing, improved performance, and decreased maintenance costs.
The MVC pattern helps us create web applications that separate the different aspects of the application (input logic, business logic, and UI logic) while providing a loose coupling between these elements. It specifies where each kind of logic should be located in the application. It is clear that the UI logic belongs in the view, the input logic belongs in the controller, and the business logic belongs in the model. This separation helps us manage complexity when we build an application, because it enables us to focus on one aspect of the implementation at a time. The loose coupling between the three main components of an MVC application also promotes parallel development. For example, one developer can work on the view, a second developer can work on the controller logic, and a third developer can focus on the business logic in the model.
It is also important to distinguish between the MVC design pattern and the ASP.NET Core MVC implementation. ASP.NET Core MVC follows the standard MVC pattern, in doing so, provides a greatly improved separation of concerns when compared to Web Forms. In fact, ASP.NET Core MVC implements a variant of the MVC pattern that is especially suitable for web applications. Many of the ASP.NET Core MVC API methods and coding patterns follow a cleaner, more expressive composition than was possible with earlier platforms. With ASP.NET Core MVC, developing advanced web applications is easier than ever before.
D3.js is a JavaScript library for manipulating documents based on data. It helps you bring data to life using HTML, SVG, CSS, and JavaScript. D3.js allows you to bind arbitrary data to a document object model (DOM), and then apply data-driven transformations to the documents. It is one of the most powerful and flexible data visualization frameworks out there. It facilitates the generation and manipulation of web-based vector graphics with full access to the underlying SVG elements. Moreover, D3.js turns the static SVG graphics into feature-rich visualizations and offers everything you need to make a 2D visualization out of the box. In this book, I will describe the detailed procedure on how to use D3.js and SVG to create the interactive chart and graphics in web applications based on the cross-platform ASP.NET Core MVC Framework. In particular, with the client computers and browsers being powerful and fast enough, there really is no need any more to generate charts and graphics on the server. I will also walk you through creating various D3.js charts and graphics using the data from server side.
As I mentioned, most modern browsers also support for a technology that can be used to create beautiful 3D graphics and animations that use the GPU to achieve maximal performance. This technology is called WebGL and is supported by the latest web browsers. Traditionally, 3D graphics has been restricted to high-end computers or dedicated game consoles and required complex programming. However, as PC and mobile devices, and more importantly, web browsers have become more sophisticated, it has been possible to create and display 3D graphics in web applications. With WebGL, you can create 3D scenes that run directly in your browser without the need for any plugins or libraries. This book will provide an overview of WebGL and take you, step by step, through basics of creating 3D graphics applications based on ASP.NET Core MVC Framework.
In practice, creating 3D graphics using WebGL requires complex programming. If you want to do anything more than the most basic tasks with WebGL, you need to put series effort and literally hundreds of lines of code. This is unacceptable for rapidly developing applications on web time. Depending on the requirement of your project, you are faced a choice: creating your own helper library to ease the pain, or using libraries already out there. Fortunately, there are a number of JavaScript libraries available, which wrap the WebGL internally and provide a convenient JavaScript API. You can use these libraries directly to create 3D graphics for your web applications without having to understand the complex features of WebGL. One of the most mature and feature-rich of such libraries is Three.js. Three.js provides a large number of easy-to-use APIs that allow you quickly to create complex 3D charts and graphics in your browser. In this book, I will provide you various recipes that you can follow to create beautiful 3D charts and graphics with Three.js for your ASP.NET Core MVC applications. At the same time, I will also introduce a Google sponsored 3D chart package named Graph3d, which can be used to create simple 3D surface charts.
As you may have already noticed, a plethora of ASP.NET MVC programming books is currently available in bookstores. The vast majority of these books are general-purpose user guides and tutorials that explain the basics of ASP.NET MVC and how to use it to implement simple web applications. Users who want to develop web applications with advanced charts, graphics, and other interactive features, however, require a book that provides an in-depth introduction specifically to MVC Core cross-platform chart and graphics development.
I write this book with the intention of providing a complete and comprehensive explanation of ASP.NET Core MVC chart and graphics programming. This book pays special attention to create suitable JSON interfaces for different JavaScript libraries, which allow you to create a variety of graphics and charts on the client browser using data from the server-side data sources, such as mathematical functions and database. Much of this book contains original work based on my own programming experience when I was developing commercial Computer Aided Design (CAD) packages and chart applications for quantitative analysis in the financial industry. With ASP.NET Core MVC Framework and various client-side JavaScript chart and graphics libraries, you will find how easy it is to create web applications with complex 2D and 3D charts and graphics.
You do not have to be an experienced .NET programmer or an expert in web development to use this book. I designed this book to be useful to people of all levels of .NET and web programming experience. If you have some prior experience with the programming language C#, MVC, HTML, or JavaScript, you will be able to sit down in front of your computer, start up Microsoft Visual Studio Community 2017 with ASP.NET Core 1.1 MVC, follow the examples provided in this book, and quickly become proficient in web chart and graphics programming. For those of you who are already experienced .NET and web developers, I believe this book has much to offer as well. A great deal of the information about chart programming in this book is not available in other ASP.NET MVC tutorial and reference books. In addition, you can use most of the example programs directly in your own real-world application development. This book will provide you with a level of detail, explanation, instruction, and sample program code that will enable you to do just about anything related to web chart and graphics development based on ASP.NET Core MVC Framework.
795a8134c1