Book Image

ASP.NET Core Essentials

By : Shahed Chowdhuri
Book Image

ASP.NET Core Essentials

By: Shahed Chowdhuri

Overview of this book

<p>ASP.NET Core is the latest collection of Microsoft’s web application development technologies. When you’re trying to reach a broad spectrum of users with a robust web application, ASP.NET Core is there to help you build that application. With the ability to cater to users on desktop, tablet, or smartphone platforms, you can put together a solution that works well anywhere.</p> <p>This book is what you need to get started developing ASP.NET Core applications was quickly as possible; starting by introducing the software and how it can be used in today’s modern world of web applications and smartphone apps. Walking you through the benefits of a Web API to support both applications and mobile apps to give you a solid understanding of the tech to build upon as you see what ASP.NET Core can do for you.</p> <p>The book wraps up with practical guidelines for the use of database technologies, unit tests, security best practices, and cloud deployments for the real world.</p>
Table of Contents (15 chapters)
ASP.NET Core Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Models, views, and controllers - an MVC refresher


For those of you not familiar with MVC, here's a quick refresher that also includes information that is new to ASP.NET Core. The following figure shows a simple architecture diagram that represents the MVC software architectural pattern:

Even though the figure shows one of each item, you can have multiple models, views, and controllers in your figure. Each request gets routed through a specific controller to determine the result that will be displayed in the user's web browser.

MVC itself wasn't a new concept when Microsoft first released ASP.NET MVC. But it immediately introduced .NET developers to a new way of developing web applications. The benefits over Web Forms became apparent to early adopters: clearer separation of concerns, better testability, and lightweight client output that can be customized.

Some developers weren't tempted away from Web Forms for a variety of reasons: a new learning curve, personal preference, corporate requirements...