.NET Microservices Course - Full Tutorial (7 Hours)

In this beginner level course, you will learn the foundational elements of a microservices architecture by incrementally building a real microservices based application with the .NET platform, step by step.

⭐️ Course Contents ⭐️
00:00 Module 1: Welcome to the course!
04:38 Development environment setup
12:25 Customizing VS Code for C# Development
17:23 What's wrong with the monolith?
25:18 What are microservices?

35:04 Module 2: Your first microservice
35:39 Creating a microservice via the .NET CLI
45:32 Introduction to the REST API and DTOs
47:21 Adding the DTOs
50:38 Adding the REST API operations
01:15:43 Handling invalid inputs

01:26:50 Module 3: Adding database storage
01:27:37 Introduction to the repository pattern and MongoDB
01:29:59 Implementing a MongoDB repository
01:44:04 Using the repository in the controller
01:54:57 Introduction to Docker
01:56:43 Trying out the REST API with a MongoDB container
02:09:36 Introduction to Dependency Injection and Configuration
02:14:33 Implementing dependency injection and configuration

02:31:26 Module 4: Preparing for the next microservice
02:32:23 Using Postman
02:47:47 Reusing common code via NuGet
02:51:58 Refactoring into a generic MongoDB repository
03:02:48 Refactoring MongoDB registration into extension methods
03:09:53 Moving generic code into a reusable NuGet package
03:25:50 Introduction to Docker Compose
03:28:10 Moving MongoDB to docker compose

03:39:04 Module 5: Synchronous inter-service communication
03:39:58 Creating the Inventory microservice
04:06:33 Introduction to synchronous communication
04:10:15 Implementing synchronous communication via IHttpClientFactory
04:22:01 Understanding timeouts and retries with exponential backoff
04:25:31 Implementing a timeout policy via Polly
04:35:27 Implementing retries with exponential backoff
04:46:39 Understanding the circuit breaker pattern
04:49:45 Implementing the circuit breaker pattern

04:56:22 Module 6: Asynchronous inter-service communication
04:57:17 Introduction to asynchronous communication
05:07:09 Defining the message contracts
05:10:55 Publishing messages via MassTransit
05:22:07 Standing up a RabbitMQ docker container
05:29:50 Refactoring MassTransit configuration into the reusable NuGet package
05:40:57 Consuming messages for eventual data consistency
06:01:40 Removing the inter-service synchronous communication

06:16:18 Module 7: Initial Frontend Integration
06:16:48 Installing Node.js
06:19:59 Getting started with the frontend
06:34:41 Understanding CORS
06:40:36 Adding the CORS middleware
06:47:03 Exploring the frontend to microservices communication

07:05:04 Next Steps

#dotnet  #microservices #mongodb #visual-studio #docker #aspdotnet 

What is GEEK

Buddha Community

.NET Microservices Course - Full Tutorial (7 Hours)
Einar  Hintz

Einar Hintz

1602560783

jQuery Ajax CRUD in ASP.NET Core MVC with Modal Popup

In this article, we’ll discuss how to use jQuery Ajax for ASP.NET Core MVC CRUD Operations using Bootstrap Modal. With jQuery Ajax, we can make HTTP request to controller action methods without reloading the entire page, like a single page application.

To demonstrate CRUD operations – insert, update, delete and retrieve, the project will be dealing with details of a normal bank transaction. GitHub repository for this demo project : https://bit.ly/33KTJAu.

Sub-topics discussed :

  • Form design for insert and update operation.
  • Display forms in modal popup dialog.
  • Form post using jQuery Ajax.
  • Implement MVC CRUD operations with jQuery Ajax.
  • Loading spinner in .NET Core MVC.
  • Prevent direct access to MVC action method.

Create ASP.NET Core MVC Project

In Visual Studio 2019, Go to File > New > Project (Ctrl + Shift + N).

From new project window, Select Asp.Net Core Web Application_._

Image showing how to create ASP.NET Core Web API project in Visual Studio.

Once you provide the project name and location. Select Web Application(Model-View-Controller) and uncheck HTTPS Configuration. Above steps will create a brand new ASP.NET Core MVC project.

Showing project template selection for .NET Core MVC.

Setup a Database

Let’s create a database for this application using Entity Framework Core. For that we’ve to install corresponding NuGet Packages. Right click on project from solution explorer, select Manage NuGet Packages_,_ From browse tab, install following 3 packages.

Showing list of NuGet Packages for Entity Framework Core

Now let’s define DB model class file – /Models/TransactionModel.cs.

public class TransactionModel
{
    [Key]
    public int TransactionId { get; set; }

    [Column(TypeName ="nvarchar(12)")]
    [DisplayName("Account Number")]
    [Required(ErrorMessage ="This Field is required.")]
    [MaxLength(12,ErrorMessage ="Maximum 12 characters only")]
    public string AccountNumber { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Beneficiary Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BeneficiaryName { get; set; }

    [Column(TypeName ="nvarchar(100)")]
    [DisplayName("Bank Name")]
    [Required(ErrorMessage = "This Field is required.")]
    public string BankName { get; set; }

    [Column(TypeName ="nvarchar(11)")]
    [DisplayName("SWIFT Code")]
    [Required(ErrorMessage = "This Field is required.")]
    [MaxLength(11)]
    public string SWIFTCode { get; set; }

    [DisplayName("Amount")]
    [Required(ErrorMessage = "This Field is required.")]
    public int Amount { get; set; }

    [DisplayFormat(DataFormatString = "{0:MM/dd/yyyy}")]
    public DateTime Date { get; set; }
}

C#Copy

Here we’ve defined model properties for the transaction with proper validation. Now let’s define  DbContextclass for EF Core.

#asp.net core article #asp.net core #add loading spinner in asp.net core #asp.net core crud without reloading #asp.net core jquery ajax form #asp.net core modal dialog #asp.net core mvc crud using jquery ajax #asp.net core mvc with jquery and ajax #asp.net core popup window #bootstrap modal popup in asp.net core mvc. bootstrap modal popup in asp.net core #delete and viewall in asp.net core #jquery ajax - insert #jquery ajax form post #modal popup dialog in asp.net core #no direct access action method #update #validation in modal popup

Aayush Singh

Aayush Singh

1612866907

.Net Tutorial | .Net Framework Tutorial | Asp.net Tutorial | Learn Dot Net | Intellipaat

In this .Net Tutorial video, you will learn everything about .net from basic to advanced topics. This .Net Framework tutorial video covers all the basic concepts of dot net, OOPS, Parameters & How strings are stored in memory, Boxing & Unboxing, Static class, method & variables, the difference between String & String builder, Exception Handling, SQL command, Lambda Operators & Delegates, and Dot Net interview questions.

Why ASP.NET is important?

ASP.NET is an open-source, server-side web application framework created by Microsoft. ASP.NET allows developers to create web applications, web services, and dynamic content-driven websites.

Why should you opt for an ASP.NET career?

ASP.NET is a great framework to use when developing web sites and web applications. It is reliable, fast, easy to use, free, and widely known. ASP.NET gives you full control of your development and can be used on any project, big or small.

#.net tutorial #.net framework tutorial #asp.net tutorial

Python tutorial Full Course from scratch

Go to playlist and learn full Python Course in free. No charges are applied. 100% FREE course.

https://www.youtube.com/playlist?list=PLTUSGW0o2A2EWLA7ePmiz8brEwrR2R3Cq

subscribe for more #interesting tutorials and courses.

#python #full course #free #beginners #python full course #tutorial

Sival Alethea

Sival Alethea

1624316400

SQL Tutorial - Full Database Course for Beginners. DO NOT MISS!!!

In this course, we’ll be looking at database management basics and SQL using the MySQL RDBMS.
⭐️ Contents ⭐
⌨️ (0:00) Introduction
⌨️ (2:36) What is a Database?
⌨️ (23:10) Tables & Keys
⌨️ (43:31) SQL Basics
⌨️ (52:26) MySQL Windows Installation
⌨️ (1:01:59) MySQL Mac Installation
⌨️ (1:15:49) Creating Tables
⌨️ (1:31:05) Inserting Data
⌨️ (1:38:17) Constraints
⌨️ (1:48:11) Update & Delete
⌨️ (1:56:11) Basic Queries
⌨️ (2:08:37) Company Database Intro
⌨️ (2:14:05) Creating Company Database
⌨️ (2:30:27 ) More Basic Queries
⌨️ (2:26:24) Functions
⌨️ (2:45:13) Wildcards
⌨️ (2:53:53) Union
⌨️ (3:01:36) Joins
⌨️ (3:11:49) Nested Queries
⌨️ (3:21:52) On Delete
⌨️ (3:30:05) Triggers
⌨️ (3:42:12) ER Diagrams Intro
⌨️ (3:55:53) Designing an ER Diagram
⌨️ (4:08:34) Converting ER Diagrams to Schemas
📺 The video in this post was made by freeCodeCamp.org
The origin of the article: https://www.youtube.com/watch?v=HXV3zeQKqGY&list=PLWKjhJtqVAblfum5WiQblKPwIbqYXkDoC&index=8
🔥 If you’re a beginner. I believe the article below will be useful to you ☞ What You Should Know Before Investing in Cryptocurrency - For Beginner
⭐ ⭐ ⭐The project is of interest to the community. Join to Get free ‘GEEK coin’ (GEEKCASH coin)!
☞ **-----CLICK HERE-----**⭐ ⭐ ⭐
Thanks for visiting and watching! Please don’t forget to leave a like, comment and share!

#sql #sql tutorial #full database course for beginners #database management basics #sql using the mysql rdbms #sql tutorial - full database course for beginners

I am Developer

1597475640

Laravel 7 Full Text Search MySQL

Here, I will show you how to create full text search in laravel app. You just follow the below easy steps and create full text search with mysql db in laravel.

Laravel 7 Full Text Search Mysql

Let’s start laravel full-text search implementation in laravel 7, 6 versions:

  1. Step 1: Install Laravel New App
  2. Step 2: Configuration DB .evn file
  3. Step 3: Run Migration
  4. Step 4: Install Full Text Search Package
  5. Step 5: Add Fake Records in DB
  6. Step 6: Add Routes,
  7. Step 7: Create Controller
  8. Step 8: Create Blade View
  9. Step 9: Start Development Server

https://www.tutsmake.com/laravel-full-text-search-tutorial/

#laravel full text search mysql #laravel full text search query #mysql full text search in laravel #full text search in laravel 6 #full text search in laravel 7 #using full text search in laravel