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

Project templates in Visual Studio 2015


The quickest way to expose yourself to the new project templates in Visual Studio 2015 is to start using them. For ASP.NET Core, there are currently three project templates that you can use.

Launch Visual Studio 2015, then click File | New | Project. Within Visual C# | Web templates, select a template for ASP.NET Core Web Application to proceed. As of the Core 1.0 release, there are two different versions: one that uses the all-new .NET Core runtime, and another that uses the full .NET Framework, as shown in the following screenshot:

In pre-release versions, there were other project types available as the Web templates. These are now listed under .NET Core instead, and are as follows:

  • ASP.NET Web Application

  • Class Library (Package)

  • Console Application (Package)

The project template for ASP.NET Core 1.0 creates a console application that has a Main method in a Program.cs file as its entry point. This is similar to other console applications you may already...