DotNet Core Central
DotNet Core Central
  • 224
  • 2 489 869
An introduction to FusionCache [.NET 8]
This video covers a basic introduction to FusionCache.
In upcoming videos, I will cover more advanced topics of FusionCache.
Some of my popular videos:
Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html
Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html
ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPdurauaA/v-deo.html
Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1): ua-cam.com/video/1Fe7QD7Ovi8/v-deo.html
How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes): ua-cam.com/video/hlUGZ6Hmv6s/v-deo.html
My blog site: dotnetcorecentral.com
Переглядів: 445

Відео

Use CsvHelper for writing and reading CSV files
Переглядів 321Місяць тому
#csharp #dotnet #csharptutorial #csharpprogramming My blog site: dotnetcorecentral.com Channel: ua-cam.com/users/dotnetcorecentral
Generic WebSocket Client for .NET (.NET 8/C# 12)
Переглядів 8893 місяці тому
In this video, I cover how to use a generic Websocket client NuGet package for connecting and listening to WebSocket server messages. Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPd...
Lambda default parameter in C# 12/.NET 8
Переглядів 5574 місяці тому
#dotnet #csharp #dotnet8 #csharp12 #coding Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPdurauaA/v-deo.html Running Background tasks using IHostedService and BackgroundService (In A...
Primary Constructor in C# 12/.NET 8
Переглядів 5104 місяці тому
#csharp #dotnet #dotnet8 #csharp12 #primaryconstructor Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPdurauaA/v-deo.html Running Background tasks using IHostedService and BackgroundS...
NSubstitute Mocking framework for .NET [C#]
Переглядів 1,5 тис.6 місяців тому
#csharp #dotnet #unittesting #NSubstitute NSubstitute is a fluid and BDD-based mocking framework for .NET. Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPdurauaA/v-deo.html Running B...
Query multiple result sets using QueryMultiple in Dapper micro-ORM [C#/.NET]
Переглядів 1,2 тис.7 місяців тому
#csharp #dotnet #dapper #data My previous videos on Dapper: MySQL and Dapper: ua-cam.com/video/OEYxBjudH-w/v-deo.htmlsi=_XN-LBi7KfFBQ9sP SQLLite and Dapper: ua-cam.com/video/COMryDt9yPM/v-deo.htmlsi=J6ghf81RwRb-9nfW PostgreSQL and Dapper: ua-cam.com/video/pfaBA8RD9SU/v-deo.htmlsi=PTWHdjVG1igi0HMA ASP.NET Core and Dapper: ua-cam.com/video/F4faJc_mvII/v-deo.htmlsi=W2_yrTjH6gHqipAD
Example of Microservice to Microservice Authentication [C#/.NET]
Переглядів 7 тис.8 місяців тому
Previous video where I explained the theory: ua-cam.com/video/C_DtMXWnAPI/v-deo.htmlsi=ELmJkO19QbUriZ-y Video on Ocelot API Gateway: ua-cam.com/video/hlUGZ6Hmv6s/v-deo.html #csharp #dotnet #authentication #microservices My blog site: dotnetcorecentral.com
What is the security issue with Moq?
Переглядів 6339 місяців тому
#csharp #dotnet #moq #unittesting Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPdurauaA/v-deo.html Running Background tasks using IHostedService and BackgroundService (In ASP.NET Co...
Authentication between Microservices (HTTP and reactive microservices)
Переглядів 4,3 тис.9 місяців тому
#csharp #dotnet #microservices #authentication Previous video on Microservices Authentication: ua-cam.com/video/rpv997vSIaA/v-deo.html Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkP...
An example of real-life webhook implementation [C#/.NET]
Переглядів 8 тис.10 місяців тому
This video demonstrates a real-life scenario where webhook can be used. 00:00 - Introduction 00:30 - React Web Application for order submission 01:40 - Order API explanation 02:50 - Order notifier explanation 06:30 - Making a webhook call from the order notifier 08:35 - Webhook implementation #csharp #dotnet #webhook #webhooks Previous video on webhook introduction: ua-cam.com/video/fTvnM8roWjE...
What is a Webhook? [.NET/C# Implementation]
Переглядів 16 тис.10 місяців тому
00:00 - Introduction 00:20 - What is a webhook? 02:00 - Webhook workflow 05:30 - Create a webhook in ASP.NET Core 10:00 - Test webhook from Postman 11:20 - Webhook authentication 14:00 - Webhook authentication test #csharp #dotnet #webhook #webhooks Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: u...
Generate code using AI for microservice and UI using CoPilot extension for Visual Studio 2023
Переглядів 1,4 тис.10 місяців тому
Build a microservice and its UI using Github CoPilot prompts #ai #productivity #dotnet #csharp #visualstudio #artificialintelligence Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling an introduction: ua-cam.com/video/sQyY0xvJ4-o/v-deo.html ASP.NET Core Authentication with JWT (JSON Web Token): ua-cam.com/video/vWkPdu...
Use AI to increase programming productivity 10X (Github CoPilotX)
Переглядів 65910 місяців тому
AI is going to change and is changing the way everything around us works. In this video, I will explain how we can use one of the best AI tools for programmers to increase our productivity by at least 10X. #csharp #csharp11 #dotnet #dotnet7 #ai #artificialintelligence Some of my popular videos: Elasticsearch with .NET and introduction: ua-cam.com/video/9tkrDqMbFMg/v-deo.html Hangfire Scheduling...
How to benchmark a .NET application using BenchmarkDotNet
Переглядів 6 тис.11 місяців тому
How to benchmark a .NET application using BenchmarkDotNet
Notification pattern using MediatR [C# 11 / .NET 7]
Переглядів 2,5 тис.11 місяців тому
Notification pattern using MediatR [C# 11 / .NET 7]
Message between components using MediatR [C# 11 / .NET 7]
Переглядів 4,7 тис.11 місяців тому
Message between components using MediatR [C# 11 / .NET 7]
Creating ChatGPT stock broker persona using C#/.NET API
Переглядів 1 тис.Рік тому
Creating ChatGPT stock broker persona using C#/.NET API
Creating first ChatGPT prompt app using Open AI API in C#
Переглядів 5 тис.Рік тому
Creating first ChatGPT prompt app using Open AI API in C#
Machine Learning Introduction
Переглядів 790Рік тому
Machine Learning Introduction
Property Pattern Matching in C# 11 and .NET 7
Переглядів 1 тис.Рік тому
Property Pattern Matching in C# 11 and .NET 7
How to implement Basic Authentication client in C#/.NET
Переглядів 7 тис.Рік тому
How to implement Basic Authentication client in C#/.NET
How to implement Basic Authentication middleware in ASP.NET
Переглядів 10 тис.Рік тому
How to implement Basic Authentication middleware in ASP.NET
Create proper request/response contract for Swagger
Переглядів 3,4 тис.Рік тому
Create proper request/response contract for Swagger
How to setup security scheme in Swagger contract?
Переглядів 3,3 тис.Рік тому
How to setup security scheme in Swagger contract?
Microservices Authentication/Authorization architectural pattern
Переглядів 28 тис.Рік тому
Microservices Authentication/Authorization architectural pattern
How to pass test parameters to MSTest methods [C# 11/.NET 7]
Переглядів 1,6 тис.Рік тому
How to pass test parameters to MSTest methods [C# 11/.NET 7]
How to use Assert in MSTest for Unit Testing (C# 11/.NET 7)
Переглядів 2,1 тис.Рік тому
How to use Assert in MSTest for Unit Testing (C# 11/.NET 7)
How to pass input parameter to XUnit test methods
Переглядів 1,3 тис.Рік тому
How to pass input parameter to XUnit test methods
Parallel class of System.Threading.Tasks to run parallel functions
Переглядів 2,3 тис.Рік тому
Parallel class of System.Threading.Tasks to run parallel functions

КОМЕНТАРІ

  • @a1-24-diepvanthanh3
    @a1-24-diepvanthanh3 22 години тому

    From Việt Nam thank you because nice video about autheticate

  • @techno-mu4bd
    @techno-mu4bd 4 дні тому

    How to consume all this wonderful staff from a client application?

  • @tetley3737
    @tetley3737 5 днів тому

    Looks interesting, I'll keep an eye out for the follow-up video. Generally speaking, do you prefer this over Redis?

  • @rishavraj3127
    @rishavraj3127 5 днів тому

    Nice 😃😃😃😃😃

  • @sreenuksr
    @sreenuksr 5 днів тому

    Could you please give an video on closedxml to play with excel sheets in c#

  • @user-mo7hs1en8o
    @user-mo7hs1en8o 5 днів тому

    I think Masstransient library makes messing easier

  • @RohitSingh-go4ng
    @RohitSingh-go4ng 5 днів тому

    Rabbit MQ it is always send byte format it is possible to consume in the json format

  • @BandieraRossa87
    @BandieraRossa87 8 днів тому

    I really like the fact that you created a sepatare class (BenchmarkExecutor.cs) to avoid cluttering Calculator.cs with [Benchmark] attributes. But assuming Calculator.cs had some further dependencies, e.g. some interfaces to some services, repositories or whatever: how would you be able to inject these dependencies when you create Calculator-Instance in BenchmarkExecutor.cs ? I tried to use .NET Core's dependency injection but it looks as if it doesn't work when using BenchmarkDotNet.

  • @Christo-yq5fx
    @Christo-yq5fx 10 днів тому

    Bro I hosted the swagger site in ii's is there any problem in that I am always recieving the auth header as null

  • @chessmaster856
    @chessmaster856 12 днів тому

    Does it work? Or just fun stuff😊

  • @dfytq
    @dfytq 13 днів тому

    is there any way to attach this notification for every commands ? or we need to manually trigger mediatr.publish everytime?

  • @ravindranaths513
    @ravindranaths513 13 днів тому

    Dont you get CORS error while calling another site's end-point with POST methhod?

  •  14 днів тому

    Excuse me sr... do you have the implementation somewhere in your channel about webhook and notifications you mentioned at the end of the video? pleaseeee, I will be vert thanksfull

  • @kvelez
    @kvelez 23 дні тому

    var customers = new[] { new Customer { Name = "John", Phone = new Phone { Number = "123", PhoneType = PhoneType.Mobile } }, new Customer { Name = "Jane", Phone = new Phone { Number = "456", PhoneType = PhoneType.Home } } }; var items = new[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; var evenItems = items._newWhere(x => x % 2 == 0); Console.WriteLine(string.Join(" ", evenItems)); var clientPhones = customers._newSelect(x => x.Phone).ToList(); clientPhones.ForEach(x => Console.WriteLine(x.Number)); public static class IEnumerableExtension { public static IEnumerable<T> _newWhere<T>(this IEnumerable<T> items, Func<T, bool> predicate) { foreach (var item in items) { if (predicate(item)) { yield return item; } } } public static IEnumerable<TResult> _newSelect<T, TResult>(this IEnumerable<T> items, Func<T, TResult> selector) { foreach (var item in items) { yield return selector(item); } } public static IEnumerable<TResult> _newSelectMany<T, TResult>(this IEnumerable<T> items, Func<T, IEnumerable<TResult>> selector) { foreach (var item in items) { foreach (var result in selector(item)) { yield return result; } } } } public enum PhoneType { Mobile, Home } public class Phone { public string? Number { get; set; } public PhoneType PhoneType { get; set; } } class Customer { public string? Name { get; set; } public Phone? Phone { get; set; } }

  • @kvelez
    @kvelez 23 дні тому

    var items = new[] { 1, 2, 3, 4, 5 }; var elements = items; Console.WriteLine(string.Join(" ", items)); Console.WriteLine(string.Join(" ", elements)); items.ToList().ForEach(x => Console.Write(x + " ")); Console.WriteLine(); elements.ToList().ForEach(x => Console.Write(x + " ")); ======================== var items = new[] { 1, 2, 3, 4, 5 }; var elements = items; Console.WriteLine(string.Join(" ", items)); Console.WriteLine(string.Join(" ", elements)); items.ToList().ForEach(x => Console.Write(x + " ")); Console.WriteLine(); elements.ToList().ForEach(x => Console.Write(x + " ")); var evenItems = items._newWhere(x => x % 2 == 0); Console.WriteLine(); Console.WriteLine(string.Join(" ", evenItems)); public static class IEnumerableExtension { public static IEnumerable<T> _newWhere<T>(this IEnumerable<T> items, Func<T, bool> predicate) { foreach (var item in items) { if (predicate(item)) { yield return item; } } } }

  • @PrakashKumar-er5jo
    @PrakashKumar-er5jo 23 дні тому

    how do i add this webhook to opensearch dashboard. when i add it there, it says connection refused. but same as your it works in postman

  • @patrickizekor6463
    @patrickizekor6463 26 днів тому

    Many thanks for your video Sir. Please are you able to share the code of the Ecomm application as a monolith and when you break it up into a service. many thanks for your kind consideration and look forward to hearing from you.

  • @krishnachaturvedi
    @krishnachaturvedi 26 днів тому

    In case of direct exchange why messages go to only first instance of subscriber? whereas in case of default if was equally distributing the traffic

  • @nuwan099
    @nuwan099 Місяць тому

    Great content! thank you!

  • @aaronbcj
    @aaronbcj Місяць тому

    For IQueryable.Where , the where is converted to an expression and executed at datasource once, at the start of a client iteration (or ToList). LINQ provider determines how data arrives from DB to client (batch by batch or all) and provides a wrapper over retrieved data for the client to iterate through the batch, before getting the next batch of results from DB (usually DB don't send entire resultsets at one go to minimize network usage)

  • @mans80
    @mans80 Місяць тому

    Graet video. Can you make a video on implenting webhook to interact with Facebook Messenger? recieve real-time notifiations and send replies?

  • @avinashsharma5942
    @avinashsharma5942 Місяць тому

    what is the actual use of app.useauthentication() or app.useauthorization() middleware? Cant we use that for implementation? I am kind of confused on its role.

  • @rookieew
    @rookieew Місяць тому

    Junge, was hat dir die Tastatur getan? 😢

  • @joeycopperson
    @joeycopperson Місяць тому

    when we rollback an artifact in docker + kubernetes CICD, we simply rollback to previous image/artifact right? we don't necessarily get a chance to change the function MoveUp or MoveDown.. correct? Could you make a video about how that is addressed?

  • @javiersanchez8137
    @javiersanchez8137 Місяць тому

    Great video thanks!, just one thing that is not clear to me. The rate limit is applied to a single IP origin?. Or , if the API receives more than 5 requests, no matter where they come from, in the time window will start to answer 429?

  • @i.bharathikannan
    @i.bharathikannan Місяць тому

    Can we get the source code?

  • @aj.arunkumar
    @aj.arunkumar Місяць тому

    What are the advantages of using the mediator pattern with mediatr..?

  • @GET_YOUTUBE_VIEWS_m054
    @GET_YOUTUBE_VIEWS_m054 Місяць тому

    Now this is what I call good music

  • @venud1800
    @venud1800 Місяць тому

    After long time… please post videos regularly ❤

  • @maneeshdeepankar2984
    @maneeshdeepankar2984 Місяць тому

    great

  • @zeusmortegh7538
    @zeusmortegh7538 Місяць тому

    Is this not the decorator pattern? basically you did the same structure of decorator pattern Greetings

  • @RickardApps
    @RickardApps Місяць тому

    Wait how does it know that Test is "TestAttribute" ? that makes no sense

    • @maksymkintor4687
      @maksymkintor4687 4 дні тому

      cause when you define ABCDEFGAttribute you don't have to use the Attribute word, instead it's enough to type ABCDEFG

    • @RickardApps
      @RickardApps 4 дні тому

      @@maksymkintor4687 thank you

  • @sirbordas
    @sirbordas Місяць тому

    Fantastic! You helped me alot. Many thanks from Portugal!

  • @johnsonlin4940
    @johnsonlin4940 Місяць тому

    This explanation of web hook makes it no different than just calling an REST API endpoint as others suggested.

  • @sravs3054
    @sravs3054 Місяць тому

    Awesome

  • @user-lu7mm8bw1m
    @user-lu7mm8bw1m 2 місяці тому

    HI coud you share repo fron this video?

  • @dingelful
    @dingelful 2 місяці тому

    Great tutorial❤

  • @jaypawar412
    @jaypawar412 2 місяці тому

    Thanks for the video. Really helpful. Can you please explain me why did we create a variable 'relm' inside the handler?

  • @krunaljethva90
    @krunaljethva90 2 місяці тому

    I have some concerns about docker file can you explain which Image is used for which part. I basically want to remove unwanted images from it.

  • @JohnSmith-yr7ih
    @JohnSmith-yr7ih 2 місяці тому

    Please make a full course of 'aspNet web api identity' with 'Blazor wasm' and new 'Blazor app' template, show the difference, if any. there a many videos of 'identity' but all of them are just overview

  • @edcosta4466
    @edcosta4466 2 місяці тому

    Very good video! The most straightforward and effective implementation of webhooks in c# I have found. Helped a lot. Thank you for the great content!

  • @PadamAgrawal
    @PadamAgrawal 2 місяці тому

    I couldn't understand what is the role of Webhook! Same thing is achievable by normal API; please help me understand

  • @Botf-mg3jt
    @Botf-mg3jt 2 місяці тому

    Bro ini benar benar membantu terimakasih, meski bahasa inggris ku sangat buruk dan tidak mengetahui apa yang anda ucapkan tapi itu tersampaikan dengan baik

  • @vigneshv1909
    @vigneshv1909 2 місяці тому

    how can I get this source code?

  • @user-cl3kj4it5l
    @user-cl3kj4it5l 2 місяці тому

    It is awesome explanation done I hope you will do more vidios on Task

  • @user-eb6bm6xh1y
    @user-eb6bm6xh1y 2 місяці тому

    Your are doing great job.

  • @GeromeGuillemin
    @GeromeGuillemin 2 місяці тому

    Great and clear explanations (y)

  • @MahmoudMshref
    @MahmoudMshref 2 місяці тому

    Thanks bro

  • @saswatsanghivlogs6451
    @saswatsanghivlogs6451 2 місяці тому

    I dont think this is the correct implementation of Webhook. I could not understand why we need a message queue to call webhook. Infact the message queue should subscribe to the webhook.

  • @knightmarerip711
    @knightmarerip711 2 місяці тому

    Very nice video, however, this is just a web API with an endpoint called webhook. The actual webhook implementation would be an even driven type of setup where other systems subscribe to the event you expose. Still a very good video.

    • @DotNetCoreCentral
      @DotNetCoreCentral 2 місяці тому

      I am not sure what you mentioned is correct. Webhook is an API which will be called by someone when an event happen in their system. Or you can call a clients webhook when an event happen in your system and you want to communicate back. The caller is event driven, but webhook at the end of the day is just a web API, that will be invoked by someone when an event occur. Here are couple of references: zapier.com/blog/what-are-webhooks/#what www.redhat.com/en/topics/automation/what-is-a-webhook