Learning ASP.NET Core MVC Programming

Learn the fundamentals of ASP.NET MVC and build real-world web applications using ASP.NET Core MVC
Preview in Mapt

Learning ASP.NET Core MVC Programming

Mugilan T. S. Ragupathi

6 customer reviews
Learn the fundamentals of ASP.NET MVC and build real-world web applications using ASP.NET Core MVC
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning ASP.NET Core MVC Programming Book Cover
Learning ASP.NET Core MVC Programming
$ 35.99
$ 25.20
ASP.NET MVC Core Cookbook Book Cover
ASP.NET MVC Core Cookbook
$ 43.99
$ 30.80
Buy 2 for $35.00
Save $44.98
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781786463838
Paperback326 pages

Book Description

ASP.NET Core MVC helps you build robust web applications using the Model-View-Controller design. This guide will help you in building applications which can be deployed on non-windows platforms such as Linux. In today’s age, it is crucial that you possess the ability to separate the programming and business logic, and this is exactly what ASP.NET Core MVC application will help you achieve. This version comes with a number of improvements that enable fast, TDD-friendly development to create sophisticated applications. You would also learn the fundamentals of Entity framework and on how to use the same in ASP.NET Core web applications.

The book presents the fundamentals and philosophies of ASP.NET Core. Starting with an overview of the MVC pattern, we quickly dive into the aspects that you need to know to get started with ASP.NET. You will learn about the core architecture of model, view, and control.

Integrating your application with Bootstrap, validating user input, interacting with databases, and deploying your application are some of the things that you will be able to execute with this fast-paced guide. The end of the book will test your knowledge as you build a fully working sample application using the skills you’ve learned throughout the book.

Table of Contents

Chapter 1: Introduction to ASP.NET Core
How web applications work
Client-side and server-side
HTTP methods
What is ASP.NET?
Features of ASP.NET MVC
ASP.NET 5
Summary
Chapter 2: Setting Up the Environment
Purpose of IDE
Visual Studio offerings
Installing Visual Studio Community
Installing ASP.NET 5
Project structure in ASP.NET 5 application
Summary
Chapter 3: Controllers
Role of the Controller in ASP.NET MVC applications
Introduction to routing
Creating ASP.NET 5 application
Installing the ASP.NET Core NuGet package in your application
Our first Controller
Adding Views
Adding Models
Passing data from Controller to View
Filters
Summary
Chapter 4: Views
The View engine and the Razor View engine
Layout
Generating HTML
Partial View
View components
Tag Helpers
Summary
Chapter 5: Models
Models
Model binding
The Entity Framework
Using the Entity Framework in ASP.NET MVC applications
Database migration
Summary
Chapter 6: Validation
Client-side and server-side validation
Server-side validation
Client-side validation
Implementation
Summary
Chapter 7: Routing
Convention-based routing
Attribute-based routing
Route attribute at the controller level
Passing routing values in HTTP action verbs in the Controller
Route Constraints
Summary
Chapter 8: Beautifying ASP.NET MVC Applications with Bootstrap
Knowing HTML and CSS
Bootstrap
Using Bootstrap in your ASP.NET MVC application
Installing with Bower
HTML doctype
Summary
Chapter 9: Deployment of ASP.NET Core Application
The project.json file
Microsoft Azure
Deploying the ASP.NET Core application in Azure
Deploying the ASP.NET Core web application in the Linux environment
Creating a new ASP.NET 5 project
Configuring the Nginx server
Summary
Chapter 10: Building HTTP-based Web Services Using ASP.NET Web API
HTTP basics
Dependency Injection
Summary
Chapter 11: Improving Performance of an ASP.NET Core Application
The UI layer
Reducing the number of HTTP requests
Minification of JavaScript and CSS files and their combination
The caching process
The web/application layer
Generic performance improvement tips
Summary
Chapter 12: ASP.NET Core Identity
Authentication
Authorization
Adding the relevant dependencies to the project.json file
Configuring the application to use Identity
Creating ViewModels
Creating Controllers and associated action methods
Creating Views
E-mail and SMS services
Securing an action method in a Controller
Summary

What You Will Learn

  • Get to know the concepts of ASP.Net MVC and build a new static web page using HTML, CSS, and jQuery
  • Set up a development environment and run a sample application using the template
  • Create a Controller with action methods
  • Build a view using several features of the Razor View engine
  • Construct a Model for ASP.NET Core MVC application
  • Devise a custom mechanism to provide maximum flexibility to your application through routing
  • Validate the user input on the client side using jQuery
  • Enhance your applications using Bootstrap
  • Explore new configuration and deployment scenarios—step by step guide to deploying ASP.NET Core web application in Linux

Authors

Table of Contents

Chapter 1: Introduction to ASP.NET Core
How web applications work
Client-side and server-side
HTTP methods
What is ASP.NET?
Features of ASP.NET MVC
ASP.NET 5
Summary
Chapter 2: Setting Up the Environment
Purpose of IDE
Visual Studio offerings
Installing Visual Studio Community
Installing ASP.NET 5
Project structure in ASP.NET 5 application
Summary
Chapter 3: Controllers
Role of the Controller in ASP.NET MVC applications
Introduction to routing
Creating ASP.NET 5 application
Installing the ASP.NET Core NuGet package in your application
Our first Controller
Adding Views
Adding Models
Passing data from Controller to View
Filters
Summary
Chapter 4: Views
The View engine and the Razor View engine
Layout
Generating HTML
Partial View
View components
Tag Helpers
Summary
Chapter 5: Models
Models
Model binding
The Entity Framework
Using the Entity Framework in ASP.NET MVC applications
Database migration
Summary
Chapter 6: Validation
Client-side and server-side validation
Server-side validation
Client-side validation
Implementation
Summary
Chapter 7: Routing
Convention-based routing
Attribute-based routing
Route attribute at the controller level
Passing routing values in HTTP action verbs in the Controller
Route Constraints
Summary
Chapter 8: Beautifying ASP.NET MVC Applications with Bootstrap
Knowing HTML and CSS
Bootstrap
Using Bootstrap in your ASP.NET MVC application
Installing with Bower
HTML doctype
Summary
Chapter 9: Deployment of ASP.NET Core Application
The project.json file
Microsoft Azure
Deploying the ASP.NET Core application in Azure
Deploying the ASP.NET Core web application in the Linux environment
Creating a new ASP.NET 5 project
Configuring the Nginx server
Summary
Chapter 10: Building HTTP-based Web Services Using ASP.NET Web API
HTTP basics
Dependency Injection
Summary
Chapter 11: Improving Performance of an ASP.NET Core Application
The UI layer
Reducing the number of HTTP requests
Minification of JavaScript and CSS files and their combination
The caching process
The web/application layer
Generic performance improvement tips
Summary
Chapter 12: ASP.NET Core Identity
Authentication
Authorization
Adding the relevant dependencies to the project.json file
Configuring the application to use Identity
Creating ViewModels
Creating Controllers and associated action methods
Creating Views
E-mail and SMS services
Securing an action method in a Controller
Summary

Book Details

ISBN 139781786463838
Paperback326 pages
Read More
From 6 reviews

Read More Reviews

Recommended for You

C# 6 and .NET Core 1.0: Modern Cross-Platform Development Book Cover
C# 6 and .NET Core 1.0: Modern Cross-Platform Development
$ 39.99
$ 28.00
ASP.NET Core and Angular 2 Book Cover
ASP.NET Core and Angular 2
$ 35.99
$ 25.20
Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Software Testing using Visual Studio 2012 Book Cover
Software Testing using Visual Studio 2012
$ 29.99
$ 21.00
Mastering C# and .NET Framework Book Cover
Mastering C# and .NET Framework
$ 35.99
$ 25.20
Bootstrap for ASP.NET MVC - Second Edition Book Cover
Bootstrap for ASP.NET MVC - Second Edition
$ 31.99
$ 22.40