Want to learn how to build ASP.NET Core 1.1 Web APIs?
Prerequisites: * C# (Intermediate level; including Generics, Reflection and Object-Oriented Programming (OOP))
Need help? Feel free to contact me at: csharpschoolonline@gmail.com
Code: https: //github.com/csharpschool/AspNetCoreWebAPI
Errata: https: //github.com/csharpschool/AspNetCoreVideo/issues
This book is primarily aimed at developers who want to learn how to build ASP.NET Core 1.1 Web APIs; no user interface will be built; instead, you will use a tool called Postman to make requests and to receive responses from the Web API.
You should be an intermediate level C# developer with some experience in object-oriented programming (OOP), generics, and reflection. The book presupposes that you have a solid C# foundation since the language won't be explained in any detail.
You will learn ASP.NET Core 1.1 Web API by building three services that handle data used in four controllers. An empty template will be used to build the Web API application from the ground up. The goal is to get you familiar with ASP.NET Core 1.1 Web API by adding middleware and services one piece at a time, building a basic application.
The first service will use in-memory data stored in collections to make it easier for you to learn Web API basics. The second service will implement the same interface that the in-memory service uses to interact with a SQL Server database using Entity Framework. The third service will be generic, using reflection in one of its methods. Generics will make it possible to reuse the same methods when interacting with all tables in the database instead of creating a set of methods for each table.
The content in this book will get you started with Web APIs in a fast, no-fluff way.
It's important to mention that this book is practical and tactical, where you will learn as you progress through the modules and build a real Web API step-by-step. To spare you countless pages of fluff (filler material), only valuable information, pertinent to the task at hand, is discussed. The benefit is a shorter and more condensed book, which will save you time and give you a more enjoyable experience.
The goal is to learn ASP.NET Core 1.1 Web API by implementing three different scenarios in a Web API application from scratch using an empty project template. This experience is something you can put in your CV when applying for a job or a consultant position, or when negotiating a higher salary. Technologies, frameworks and languages you will use: * Postman (To send requests and receive responses from the Web API) * Visual Studio 2017 * ASP.NET Core 1.1 MVC/Web API (The framework that you will use) * Services (To provide you own functionality as a reusable service) * Middleware (To provide you own functionality to HTTP Request pipeline) * Entity Framework (To crate and communicate with a database) * LINQ (To query the database) * Dependency Injection (To inject objects into constructors) * NuGet (To install necessary libraries)
What you will implement: * A Web API application from an empty template. * Create a "real world" code-first database using Entity Framework Core. * Add and modify entity models to perform CRUD operations against the database.
I hope you love the book! Sincerely, Jonas Fagerberg
Now click the Buy button and start reading the book.
About the Author: Jonas started a company back in 1994 focusing on teaching Microsoft Office and the Microsoft operating systems. While still studying at the university of Skovde in 1995, he wrote his first book about Widows 95, as well as a number of course materials.
In the year 2000, after working as a Microsoft Office developer consultant for a couple of years, he wrote his second book about Visual Basic 6.0.
Between 2000 and 2004, he worked as a Microsoft instructor with two of the largest educational companies in Sweden teaching Visual Basic 6.0. When Visual Basic.NET and C# were released, he started teaching those languages, as well as the .NET Framework. He was also involved in teaching classes at all levels, from beginner to advanced developers.
From the year 2005, Jonas shifted his career towards consulting once again, working hands-on with the languages and framework he taught.
Jonas wrote his third book, C# Programming, aimed at beginner to intermediate developers in 2013, and in 2015 his fourth book C# for Beginners - The Tactical Guide was published. Shortly thereafter his fifth book, ASP.NET MVC 5 - Building a Website: The Tactical Guidebook, was published. In 2017 his sixth and seventh books, ASP.NET Core 1.1 - Building a Website for Beginners and ASP.NET Core 1.1 - Building a Web API for Beginners, were published.
Jonas has also produced a 24h+ video course titled Building a ASP.NET MVC 5 Membership Website (www.udemy.com/building-a-mvc-5-membership-website), showing in great detail how to build a membership website.
And a course on how to secure sensitive data in web applications titled Store Secret Data in a .NET Core Web App with Azure Key Vault is also available on Udemy.
All the books and video courses, including C# for Beginners - The Tactical Guide, MVC 5 - How to Build a Membership Website (book and video), Store Secret Data in a .NET Core Web App with Azure Key Vault, and this book, have been specifically written with the student in mind.