Learn to build HTTP APIs with .NET

Jon Galloway

ASP.NET makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. Whether you’re new to .NET or an old pro, we’ve got a lot of fresh videos, tutorials, and documentation to help you learn how to build great HTTP APIs.

Getting Started

If you’re just getting started with building Web APIs on .NET, we’ve got some great content to get you started!

Get a quick start Microsoft Learn

You can get a quick start on Web API fundamentals and building your first web API with ASP.NET Core using the self guided, interactive learning modules at Microsoft Learn.

First, learn the fundamental concepts with the Explore the art world by using RESTful APIs module – and have some fun exploring museum APIs while you’re doing it! This is a brand new course from Jen Looper, with .NET contributions from Matthew Soucoup, and it’ll have you started with web APIs in minutes.

Next, move on to the Create a web API with ASP.NET Core module to learn how to add data operations to an ASP.NET Core Web API and test the HTTP responses.

Let’s Learn .NET: Web API

We just launched Let’s Learn .NET, a new monthly series of beginner friendly courses to teach you the basics. Cecil Phillip and Jayme Singleton walk through the above two tutorials in two hours, with simple explanations and Q&A from live viewers.

Beginner’s Series to: Web APIs

We’ve also got a brand new Beginner’s Series to: Web APIs video series from Cecil Phillip. This introductory video series will walk you through the fundamental concepts you need to know to get started with building Web APIs using ASP.NET Core. We will cover topics such as routing, validation, working with data, and much more.

Going Deeper

ASP.NET Core makes it easy to get started with HTTP APIs, but there’s a lot more to learn to optimize your API design and usage. Fortunately, Brady Gaster’s got you covered with a fantastic blog post series:

Brady covers a treasure trove of information in this series, showing how to build great HTTP APIs, then publish and consume them from a variety of client applications including low-code solutions like Azure Functions, Power Apps, and Logic Apps.

After wrapping up the blog series, Brady came on the ASP.NET Community Standup to walk through the code with us.

Putting your Web APIs to Work

The great thing about building Web APIs is that they’re so versatile. You can consume them from a variety of clients, and integrate with your favorite open source tools.

James and Brady chatted about Web APIs for Xamarin Developers on the Xamarin Show. It’s a great conversation between a Xamarin expert and a Web API expert.

Luis Quintanilla posted about how to Serve ML.NET Models as HTTP APIs with minimal configuration. This blog post shows how to build a highly scalable machine learning web services in about 60 lines of code.

Cecil Phillip had two guests on the On .NET Live Show in February to talk to creators of some popular community projects:

And Brady (quite busy this month!) also joined Mads Kristensen for Visual Studio Remote Office Hours to discuss .NET Web API tooling in Visual Studio.

Looking Forward

If you’ve kept up with all of that, you’re now an expert on .NET HTTP APIs, and you want to see what’s coming next! Cory Neslson joined us on the ASP.NET Community Standup to review a proposal for a Flexible HTTP APIs feature to allow you to build lightweight, high performance HTTP clients with .NET.

Closing

ASP.NET makes it easy to build services that reach a broad range of clients, including browsers and mobile devices. It’s easy to get started and learn, and it scales up to work with open standards and clients. We hope these resources will help you, wherever you are on your development journey!

0 comments

Discussion is closed.

Feedback usabilla icon