Udemy

Platform

English

Language

Software Engineering

Category

Building Your First Microservice With .NET

Build your first microservice with C#, ASP.NET Core, VS Code, MongoDB, and Docker. Step by Step.

4.53 (72 reviews)

Students

2 hours

Content

Jul 2021

Last Update
FREE
Regular Price


What you will learn

What is a monolith and the typical issues it presents over time

What are microservices, the problems they solve and when to use them

A quick view of the building blocks of a .NET microservices based architecture

How to create a microservice from scratch using .NET 5 and Visual Studio Code

Use C# 9 record types to define Data Transfer Objects (DTOs)

How to implement a microservices REST API with ASP NET Core and Swagger UI

How to use the repository pattern to persist data into a MongoDB NoSQL database

What is Docker and how to run a MongoDB container in your box


Description

Is your team suffering the symptoms of the monolithic hell? Has your code base become so complex it's too hard to understand and modify? Does it take forever to build and deploy your system? Do you just want to know what's the latest in distributed systems architecture?

In this course you will learn why everyone is moving to microservices and how to get started with C# and the .NET platform.

Here for some of the things you will learn in this course:

  • What is a monolith and the typical issues it presents over time

  • What are microservices, the problems they solve and when to use them

  • A quick view of the building blocks of a .NET microservices based architecture

  • How to create a microservice from scratch using .NET 5 and Visual Studio Code

  • Use C# 9 record types to define Data Transfer Objects (DTOs)

  • How to implement a microservices REST API with ASP.NET Core and Swagger UI

  • How to use the repository pattern to persist data into a MongoDB NoSQL database

  • What is Docker and how to run a MongoDB container in your box

We will not jump straight to the ideal implementation, we will start with a very simple and "naïve" implementation, we will learn about common mistakes when implementing microservices, we will learn about multiple techniques and patterns in the microservices world and finally we will arrive to a nice implementation based on best practices.

This is a beginner level course, so I intentionally take my time to explain every new concept in a very didactic way to ensure you understand the purpose of the code you are about to write. You will find no magic code copied from external or hidden sources. We will start absolutely from scratch and I will explain every line of code as I add them to the projects.

You should have some basic C# knowledge and ideally some web development experience to make the most of this course. However, I make no assumptions on your previous knowledge of ASP.NET Core or of any of the other libraries, tools and techniques used during the course. As long as you are eager to learn by doing, I think you will really enjoy this course since I will explain everything I do as we write the code together.

By the end of this course, you will have a fully working .NET based microservice, but most importantly, you will understand every line of code and why we ended up with the final implementation.


Screenshots

Building Your First Microservice With .NET
Building Your First Microservice With .NET
Building Your First Microservice With .NET
Building Your First Microservice With .NET

Content

Welcome to the course!

Introduction

Getting the source code

Development environment setup

What are microservices?

Your first microservice

Introduction

Creating a microservice via the .NET CLI

Introduction to the REST API and DTOs

Adding the DTOs

Adding the REST API operations

Handling invalid inputs

Adding database storage

Introduction

Introduction to the repository pattern and MongoDB

Implementing a MongoDB repository

Using the repository in the controller

Introduction to Docker

Trying out the REST API with a MongoDB container

Next steps

Bonus lesson


4178158

Udemy ID

7/11/2021

Course created date

7/22/2021

Course Indexed date
Bot
Course Submitted by