Book description
Learn how web applications can be built efficiently using ASP.NET Core 2.0 and related frameworks
About This Book
- Get to grips with the new features and APIs introduced in ASP.NET Core 2.0
- Leverage the MVC framework and Entity Framework Core 2 to build efficient applications
- Learn to deploy your web applications in new environments such as the cloud and Docker
Who This Book Is For
This book is for developers who would like to build modern web applications with ASP.NET Core 2.0. No prior knowledge of ASP.NET or .NET Core is required. However, basic programming knowledge is assumed. Additionally, previous Visual Studio experience will be helpful but is not required, since detailed instructions will guide through the samples of the book.This book can also help people, who work in infrastructure engineering and operations, to monitor and diagnose problems during the runtime of ASP.NET Core 2.0 web applications.
What You Will Learn
- Set up your development environment using Visual Studio 2017 and Visual Studio Code
- Create a fully automated continuous delivery pipeline using Visual Studio Team Services
- Get to know the basic and advanced concepts of ASP.NET Core 2.0 with detailed examples
- Build an MVC web application and use Entity Framework Core 2 to access data
- Add Web APIs to your web applications using RPC, REST, and HATEOAS
- Authenticate and authorize users with built-in ASP.NET Core 2.0 features
- Use Azure, Amazon Web Services, and Docker to deploy and monitor your applications
In Detail
The ability to develop web applications that are highly efficient but also easy to maintain has become imperative to many businesses. ASP.NET Core 2.0 is an open source framework from Microsoft, which makes it easy to build cross-platform web applications that are modern and dynamic. This book will take you through all of the essential concepts in ASP.NET Core 2.0, so you can learn how to build powerful web applications.
The book starts with a brief introduction to the ASP.NET Core framework and the improvements made in the latest release, ASP.NET Core 2.0. You will then build, test, and debug your first web application very quickly. Once you understand the basic structure of ASP.NET Core 2.0 web applications, you'll dive deeper into more complex concepts and scenarios.
Moving on, we'll explain how to take advantage of widely used frameworks such as Model View Controller and Entity Framework Core 2 and you'll learn how to secure your applications. Finally, we'll show you how to deploy and monitor your applications using Azure, AWS, and Docker.
After reading the book, you'll be able to develop efficient and robust web applications in ASP.NET Core 2.0 that have high levels of customer satisfaction and adoption.
Style and approach
Start an exciting journey to building high performance web applications using ASP.NET Core 2.0 and MVC
Table of contents
- Preface
- What is ASP.NET Core 2.0?
- Setting Up the Environment
- Creating a Continuous Integration Pipeline in VSTS
-
Basic Concepts of ASP.NET Core 2.0 - Part 1
- Building the Tic-Tac-Toe game
- Targeting different .NET Framework versions in the .csproj files of your projects
- Using the Microsoft.AspNetCore.All metapackage
- Working with the Program class
- Working with the Startup class
- Giving your web pages a more modern look by using Bower and layout pages
- Using dependency injection for encouraging loose coupling within your applications
- Working with middlewares
- Working with static files
- Using routing, URL redirection, and URL rewriting
- Adding error handling to your applications
- Summary
-
Basic Concepts of ASP.NET Core 2.0 - Part 2
- Client-side development using JavaScript
- Optimizing your web applications and using bundling and minification
- Working with WebSockets for real-time communication scenarios
- Taking advantage of session and user cache management
- Applying globalization and localization for multi-lingual user interfaces
- Configuring your applications and services
- Using logging
- Implementing advanced dependency injection concepts
- Building once and running on multiple environments
- Summary
- Creating MVC Applications
- Creating Web API Applications
- Accessing Data using Entity Framework Core 2
- Securing ASP.NET Core 2.0 Applications
- Hosting and Deploying ASP.NET Core 2.0 Applications
- Managing and Supervising ASP.NET Core 2.0 Applications
Product information
- Title: Learning ASP.NET Core 2.0
- Author(s):
- Release date: December 2017
- Publisher(s): Packt Publishing
- ISBN: 9781788476638
You might also like
book
ASP.NET Core 5 for Beginners
Learn how to build web applications efficiently using ASP.NET Core 5 with the C# programming language …
book
Pro ASP.NET Core MVC 2
Now in its 7th edition, the best selling book on MVC is updated for ASP.NET Core …
book
C# 7 and .NET Core 2.0 High Performance
Improve the speed of your code and optimize the performance of your apps About This Book …
book
Hands-On RESTful Web Services with ASP.NET Core 3
Get up to speed with the latest features of C# 8, ASP.NET Core 3 and .NET …