Book Image

Learning ASP.NET Core 2.0

By : Jason De Oliveira, Michel Bruchet
Book Image

Learning ASP.NET Core 2.0

By: Jason De Oliveira, Michel Bruchet

Overview of this book

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.
Table of Contents (19 chapters)
Title Page
Credits
Foreword
About the Authors
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Client-side development using JavaScript


In the previous chapter, you created a home page and a user registration page using the MVC pattern. You implemented a controller (UserRegistrationController) as well as a corresponding view for processing user registration requests. You then added a service (UserService) and middleware (CommunicationMiddleware), but we have just started, so they are not finished yet.

When comparing with the initial workflow of the Tic-Tac-Toe application, we can see that there are still multiple things missing, such as the whole client-side part, really working with the Communication Middleware, as well as multiple other features we still need to implement.

Let's start by working on the client-side part and see how to apply more advanced techniques. Then, you will learn how to optimize everything as best as possible.

If you remember, last time, we stopped after a user had submitted his data to the registration form, which was sent to the UserService. We then just displayed...