Workshop: Building and Architecting Web APIs with ASP.NET Core 2.1

Location: Bayview A

Duration: 1:00pm - 4:00pm

Day of week: Thursday

Level: Beginner

Key Takeaways

  • Learn about ASP.NET Core, where it came from and how to start using it for web and API development

  • Learn how to use ASP.NET Core Web API's built-in dependency injection for more robust and easier to maintain projects.

  • Learn how to create routes for your API calls with the MVC pattern.

  • Learn how to work with domain models and data in your API along with caching.

  • Learn how to test and debug your ASP.NET Core Web API solution.

  • Learn advanced architecture techniques in ASP.NET Core Web API

Prerequisites

Strongly recommended that you have some knowledge of the following:

  • C# and .NET Core or .NET Framework
  • LINQ
  • Entity Framework
  • Microsoft SQL Server
  • ASP.NET MVC

You will need the following software installed on your machine.

  • Your favorite .NET IDE
  • .NET Core 2.1
  • Microsoft SQL Server or Windows Azure or AWS account for MSSQL
  • An HTTP debugging tool like Fiddler or Postman
  • Git

Web APIs drive the most popular and powerful web and mobile apps—making the developer who can build a robust web API a developer that's in demand. Get started creating your own with ASP.NET Core, the open-source framework for Windows, macOS, and Linux.

You know you have to have a great experience when you develop your apps, right? The greatest experience for your user's centers around their data. That’s why developing a great set of Web APIs is so important. Using ASP.NET Core Web API is a modern framework for the modern web. The secret to it all is knowing how to architect your Web APIs for the best experience.

Using the architectures (N-Tier and Hexagonal) taught in this talk allows your APIs specifically to work better due to:

  • Allowing a clear decoupling of the API endpoints, Data Access (Synthetic or Production) and finally the Data Domain classes.
  • The API Endpoints (Controllers) have no knowledge or responsibility of Data Domain and behind it Data Access
  • Because of the decoupling and separation of responsibilities testing can be done easily and without issues.
  • Data Access segments of the architecture can easily be switched out without impacting the Domain or API Endpoints.

By using these architectures not only does the development story become easier but your end users get a much more stable API set to consume. The talk will explain and get you started on using these concepts with your ASP.NET Core 2.1 Web API solutions.

We will be building an API for an online music store during this workshop.

Speaker: Chris Woody Woodruff

Developer Advocate @Jetbrains

Chris Woodruff (or Woody as he is commonly known as) has a degree in Computer Science from Michigan State University’s College of Engineering. Woody has been developing and architecting software solutions for over 20 years and has worked in many different platforms and tools. He is a community leader, helping such events as GRDevNight, GRDevDay, West Michigan Day of .NET and Beer City Code. He was also instrumental in bringing the popular Give Camp event to Western Michigan where technology professionals lend their time and development expertise to assist local non-profits. As a speaker and podcaster, Woody has spoken and discussed a variety of topics, including database design and open source. He has been a Microsoft MVP in Visual C#, Data Platform and SQL and was recognized in 2010 as one of the top 20 MVPs world-wide. Woody is a Developer Advocate for JetBrains and evangelizes .NET, .NET Core and JetBrains' products in North America.

Find Chris Woody Woodruff at

Tracks

Monday, 5 November

Tuesday, 6 November

Wednesday, 7 November