Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Building Minimal APIs with ASP.NET Core 9 and Dapper
Rating: 4.7 out of 5(89 ratings)
575 students

Building Minimal APIs with ASP.NET Core 9 and Dapper

ASP.NET Core, Web APIs, SQL Server, Stored Procedures, User System, Redis, REST, and more!
Created byFelipe Gavilán
Last updated 1/2025
English

What you'll learn

  • Build Web APIs with .NET Core and Dapper
  • Publish Web APIs in Azure
  • Use Azure DevOps to configure continuous integration and continuous delivery (CI/CD)
  • Develop a Web API using Minimal APIs

Course content

10 sections162 lectures11h 31m total length
  • Introduction0:26

    Explore what a web API is, compare different web API architecture styles, and preview the technologies used to build web APIs with minimal APIs in ASP.NET Core.

  • Web APIs2:33

    learn how web APIs standardize communication between programs over the internet using http protocol, enabling mobile apps and web apps to exchange data through a defined interface.

  • Architecture of Our Solution1:27

    Design a central web api for a movie application that powers user interactions, movie details, comments, admin tasks, and a database, with frontends like Angular and Maui, and external services.

  • Web APIs Architectural Styles - REST6:35

    Compare REST with Soap and GraphQL, and apply REST principles like client-server separation, statelessness, caching, and a uniform interface for scalable web APIs.

  • SOAP1:36

    Explain soap, an XML-based protocol, and the WSDL standard, contrast its limitations with REST which supports XML, JSON, and CSV, and state that this course will not cover soap.

  • GraphQL2:48

    Explore GraphQL as an alternative to REST in web APIs, focusing on client queries and avoiding endpoint proliferation, with examples fetching movie id, title, and comments.

  • What is .NET?3:01

    Explore the dotnet development platform, a cross-platform environment for desktop, web, and mobile apps using C# as the primary language, and trace its evolution from the framework to dotnet five.

  • What is C#?2:18

    Explore how C#, a multi-paradigm, strongly typed language, powers web APIs with ASP.NET Core and supports object-oriented and functional programming.

  • What is ASP.NET Core?1:56

    Discover how ASP.NET Core is a cross-platform framework for building dynamic web applications. Explore routing, a user system, and a dependency injection framework that supports the Dependency Inversion principle.

  • Controllers vs Minimal APIs2:52

    Compare controllers and minimal APIs for web APIs in net core. Actions map to endpoints, with controllers grouping logic and optional global behavior; minimal APIs offer faster, leaner code.

  • Summary0:40

    Explore web APIs with REST and GraphQL, showing how REST architecture simplifies API creation and lets clients decide data, built with ASP.NET Core for fast, multi-platform web apps.

  • Github Repository0:01

Requirements

  • Basic knowledge of C# (know what a class is, invoking functions, if statements, loops)

Description

Learn how to develop Minimal APIs with ASP.NET Core from scratch with this amazing course.

We are going to see the entire life cycle of developing a Web API, from creating the solution, developing the endpoints, working on resource manipulation, to putting it into production in Azure and IIS.

In this course we will do a project which you will be able to publish and show as part of your portfolio.

We will also learn how to use Azure DevOps to configure a Continuous Integration and Continuous Delivery pipeline, to be able to publish your projects from their source code in Github, Bitbucket, or any other GIT repository provider.

Some of the topics we will see are:

  • Creation of REST Web APIs

  • Create a database

  • Use Dapper to read, insert, update, and delete records from a database

  • Create a user system so that our clients can register and log in to the Web API

  • We will use Json Web Tokens (JWT) for authentication

  • Claims-based authorization, so that only some users can use certain endpoints

  • Using cache to have a faster application

  • Using Redis for distributed cache

Web APIs are fundamental in modern web development. Since they allow us to centralize and protect the logic of our solutions. In addition, it is in a Web API that we typically have access to a central database with which all your users can communicate. Whether you build a social network, a delivery application, or even an office app, a Web API allows you to work on the back-end of mobile applications (Android, iOS, MAUI, etc.), web (React, Angular, Blazor, Vue, etc.), desktop, among others.

Who this course is for:

  • .NET developers who wish to learn how to build Web APIs