Skip to main content
Top

31. MVC Applications with ASP.NET Core

  • 2021
  • OriginalPaper
  • Chapter
Published in:

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

This chapter delves into the construction of web applications using the MVC pattern with ASP.NET Core. It begins by laying the foundation for ASP.NET Core, briefly recapping the RESTful service built in the previous chapter. The focus then shifts to the creation of web applications using the MVC pattern, with a particular emphasis on the 'V' in MVC—introducing views and the Razor view engine. The chapter explores the Razor syntax in detail, demonstrating how to render views from action methods and use the Razor view engine to create clean and maintainable HTML. Additionally, it covers the integration of HTML helpers and tag helpers to enhance the development experience. The chapter also touches on the management of client-side libraries, including bundling and minification techniques to optimize performance. Finally, it introduces view components as a powerful tool for encapsulating server-side logic within views, and concludes with a practical example of adding dealer information using the options pattern in ASP.NET Core.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Business + Economics & Engineering + Technology"

Online-Abonnement

Springer Professional "Business + Economics & Engineering + Technology" gives you access to:

  • more than 102.000 books
  • more than 537 journals

from the following subject areas:

  • Automotive
  • Construction + Real Estate
  • Business IT + Informatics
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Mechanical Engineering + Materials
  • Insurance + Risk


Secure your knowledge advantage now!

Springer Professional "Engineering + Technology"

Online-Abonnement

Springer Professional "Engineering + Technology" gives you access to:

  • more than 67.000 books
  • more than 390 journals

from the following specialised fileds:

  • Automotive
  • Business IT + Informatics
  • Construction + Real Estate
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Mechanical Engineering + Materials





 

Secure your knowledge advantage now!

Springer Professional "Business + Economics"

Online-Abonnement

Springer Professional "Business + Economics" gives you access to:

  • more than 67.000 books
  • more than 340 journals

from the following specialised fileds:

  • Construction + Real Estate
  • Business IT + Informatics
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Insurance + Risk



Secure your knowledge advantage now!

Title
MVC Applications with ASP.NET Core
Authors
Andrew Troelsen
Phillip Japikse
Copyright Year
2021
Publisher
Apress
DOI
https://doi.org/10.1007/978-1-4842-6939-8_31

Premium Partner

    Image Credits
    Neuer Inhalt/© ITandMEDIA, Nagarro GmbH/© Nagarro GmbH, AvePoint Deutschland GmbH/© AvePoint Deutschland GmbH, AFB Gemeinnützige GmbH/© AFB Gemeinnützige GmbH, USU GmbH/© USU GmbH, Ferrari electronic AG/© Ferrari electronic AG