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

Web configuration with project.json


In the project.json file, you may find the following information:

  • userSecretsId: A GUID-like value used for working with user secrets

  • dependencies: A list of server-side dependencies

  • version: The project version

  • frameworks: .NET Core framework name and version

  • build/runtime/publish options: Build/runtime configuration and a list of files/folders to include when publishing the web app

  • scripts: A list of scripts for actions that can be triggered by specific events, such as prepublish, postpublish, and others

The following screenshot of the project.json file shows the contents of a typical project configuration file, collapsed to fit all top-level items:

Dependencies and frameworks

Within the dependencies section of your configuration file, you will find a list of all your server-side dependencies, such as ASP.NET MVC, Entity Framework, and many others. These are also visible as your project references in Solution Explorer.

The preceding screenshot shows...