Preface

The book aims to help you learn the fundamentals of ASP.NET Core MVC and apply that knowledge to building applications using ASP.NET Core. This book also aims to serve as a solid guide for beginners who want to learn ASP.NET MVC. In detail, the following topics are going to be covered in the book:

  • Fundamentals and objectives of ASP.NET Core MVC
  • Philosophies (separation of concerns, convention over configuration) of ASP.NET Core
  • Components of ASP.NET Core MVC—Controllers, Models, and Views
  • Interacting with the database using Entity Framework
  • Validating the user’s input, both at the client-side and the server-side
  • Provide a face-lift to the application using Bootstrap
  • Making use of different deployment options provided by ASP.NET Core MVC

What this book covers

Chapter 1, Introduction to ASP.NET Core, covers the fundamentals of ASP.NET MVC and how it fits in the ASP.NET ecosystem. This chapter explains the basics of web development, including client-side components and server-side components and what a programmer can do and can’t do in either layer

Chapter 2, Setting up the Environment, shows the reader how to set up the development environment, including the installation of Visual Studio and ASP.NET Core. Hardware and software requirements for setting up the development environment is also discussed and the anatomy of ASP.NET MVC applications is presented.

Chapter 3, Controllers, explains about what constitutes a Controller and action method along with its roles and responsibilities. In this chapter, a simple Controller along with an action method will be created. It will explain to the readers what an action method and a Controller does from the perspective of an overall ASP.NET MVC application.

Chapter 4, Views, presents what the Razor View engine does and explains the various basic programming constructs (conditionals, loops, and so on) with the examples using Razor view engine.

Chapter 5, Models, presents the role of Models in ASP.NET Core application. The concept of ViewModel is discussed along with how it provides flexibility and data compartmentalization to your applications.

Chapter 6, Validation, explains client-side and server-side validation with JavaScript and by using the jQuery libraries.

Chapter 7, Routing, explains about the routing module, which selects the appropriate controller from the received request with an example. Various options and features of routing are presented. This chapter will also guide you through building a custom route for ASP.NET MVC application based on business logic or for SEO purposes.

Chapter 8, Beautifying ASP.NET Application with Bootstrap, teaches how to use Bootstrap, a responsive frontend framework, to prettify your applications. You will be guided through the creation of HTML form controls.

Chapter 9, Deployment of ASP.NET Core Application, explains how the project.json library handles all of the dependencies of ASP.NET Core applications, along with the versions. It also explains how the K runtime (the latest option in ASP.NET Core application) so that an ASP.NET MVC application could be deployed in a non-Windows environment as well.

Chapter 10, Building Web Services Using Web API, explains HTTP-based services and how to implement them using the Web API. It will also introduce you to the Fiddler, and to compose an HTTP request using it.

Chapter 11, Improving Performance of an ASP.NET Core Application, explains the approaches to analyzing of performance and measures for improvement in various layers of your application.

Chapter 12, ASP.NET Core Identity, explains the security aspects of your application and implementing security identity of an application using Entity Framework.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset