Автор: Razvan Alexandru Mezei
Издательство: Springer
Год: 2023
Страниц: 321
Язык: английский
Формат: pdf (true)
Размер: 10.8 MB
This work is intended to be used as an introduction to Web applications development using ASP.Net (Core) MVC, primarily for undergraduate students. It assumes that our readers already have some experience with one programming language (ideally C#, but other similar languages, such as Java or C++, may suffice too). Readers will be introduced to various client-side languages and frameworks (such as HTML, CSS, jаvascript, and Bootstrap), learn about some server-side ones (C#, ASP.Net Core), and make use of an object relational mapper (the Entity Framework Core). The focus of this book is on the server-side development, in particular the MVC pattern.
There are several reasons why we believe students can greatly benefit from this content. First, it allows them to develop potentially medium to large-sized projects (web applications) that use multiple programming languages (both client and server side) all in one project, which can be particularly useful before working on a capstone project. It also provides a great playing ground for applying many of the object-oriented programming concepts (including classes, inheritance, interfaces, dynamic and static polymorphism, and many others), and also exposes students to important concepts (such as responsive design, authentication, object relational mapper, cookies, routing, session information, HTTP requests, CRUD operations, asynchronous programming, and cross-platform development) which should students gain confidence when preparing for software development-related job interviews.
This book starts (in Chap. 2) with preparing the development environment and it goes over the installation of the applications needed for the remaining chapters in this book. Then, in the following two chapters (Chaps. 3 and 4), we provide an introduction to client-side development and briefly go over HTML5, CSS, jаvascript, and Bootstrap 5. In the following chapter (Chap. 5), we attempt to provide a brief introduction to various C# language components. Then, we use the remaining chapters (Chaps. 6–14) to cover several topics related to web applications development using ASP.Net Core MVC such as routing, middleware pipeline, services and dependency injection, models, views, view models, controllers and actions, Razor syntax, model binding, HTML and tag helpers, model validation, layouts, entity framework core, connection strings, identity, authentication, and simple authorization.
In Chap. 6, we build a web application and add to it new functionality for the remaining chapters of the book. By the end of the book, our web application will store its data in a database, will allow us to create user accounts, and include login and logout functionality. We’ll mostly use an SQLite database but will also demonstrate how to use a Microsoft SQL Server database.
Скачать Introduction to the Development of Web Applications Using ASP .Net (Core) MVC