ASP.NET Core.

Ragupathi, Mugilan T. S.

ASP.NET Core. - Birmingham : Packt Publishing, 2017. - 1 online resource (1047 pages)

Chapter 7: Routing.

Cover; Credits; Table of Contents; Preface; Module 1: Learning ASP.NET Core MVC Programming; Module 1; Learning ASP.NET Core MVC Programming; Chapter 1: Introduction to ASP.NET Core; How web applications work; So what is an HTTP protocol?; Request-response pattern; Stateless nature of HTTP; Client-side and server-side; HTTP methods; GET method; POST method; What is ASP.NET?; ASP.NET Web Forms; ASP.NET Web Pages; ASP.NET MVC; Features of ASP.NET MVC; Convention over configuration; Separation of concerns; Control over the generated HTML; Better support for unit testing; ASP.NET 5. Features of ASP.NET 5Summary; Chapter 2: Setting Up the Environment; Purpose of IDE; Visual Studio offerings; System requirements; Visual Studio Community 2015; Visual Studio Professional; Visual Studio Enterprise; Visual Studio Test Professional; Installing Visual Studio Community; Installing ASP.NET 5; Project structure in ASP.NET 5 application; File-based project; Support for full .NET and .NET core; The Project.json package; Controllers; Models; Views; Migrations; The wwwroot folder; Other files; Summary; Chapter 3: Controllers; Role of the Controller in ASP.NET MVC applications. Introduction to routingCreating ASP.NET 5 application; Installing the ASP.NET Core NuGet package in your application; Our first Controller; IActionResult; Adding Views; Adding Models; Passing data from Controller to View; Filters; Authorization filters; Resource filters; Action filters; Exception filters; Result filters; Summary; Chapter 4: Views; The View engine and the Razor View engine; Razor View engine; Programming in Razor View engine; Variables in Razor View; The for loop; The while loop; The foreach loop; The if condition; Layout; Creating _ViewStart.cshtml; Creating _Layout.cshtml. Adding a page-specific ViewGenerating HTML; HTML Helpers; Partial View; Calling the Partial View; View components; Creating a View component; Tag Helpers; Creating custom Tag Helpers; Summary; Chapter 5: Models; Models; Models specific to a View component; Note on ViewModels; Data flow with respect to a Model; Model binding; The Entity Framework; The Entity Framework is independent of ASP.NET MVC; Creating console applications with the Entity Framework; Installing the Entity Framework 7 NuGet package; Using the NuGet Package Manager; Using the Package Manager Console. Installing Entity Framework commandsCreating Model classes; Creating the DbContext class; Create a migration; How the SaveChanges method works; Updating the record; Deleting the record; Using the Entity Framework in ASP.NET MVC applications; Database migration; Summary; Chapter 6: Validation; Client-side and server-side validation; Server-side validation; Updating View models with the Data Annotation attribute; Updating the View model to display the validation error message; Updating the controller action method to verify the model state; Client-side validation; Implementation; Summary.

9781788293204 1788293207


Internet programming.
Web sites--Design.
Cloud computing.
Programmation Internet.
Sites Web--Conception.
Infonuagique.
Cloud computing.
Internet programming.
Web sites--Design.


Electronic books.

QA76.585 / .R348 2017

005.276

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library