Remigiusz Zalewski
Remigiusz Zalewski
  • Видео 39
  • Просмотров 91 488
Implementing Concurrency Control in ASP .NET Core (Step-by-Step)
Master optimistic concurrency control in EF Core with this comprehensive step-by-step tutorial! Learn how to implement a robust concurrency control mechanism using RowVersion as a concurrency token. Perfect for C# developers working with Entity Framework Core and looking to enhance their database management skills. In this video, you'll discover:
• How to set up RowVersion in your EF Core models
• Implementing optimistic concurrency checks in your code
• Handling concurrency conflicts effectively
• Best practices for concurrent data access in EF Core
Whether you're a beginner or an experienced developer, this guide will help you prevent data inconsistencies and improve your application's reli...
Просмотров: 767

Видео

How to deploy .NET Web API to Kubernetes
Просмотров 65321 день назад
In this video, we walk through the complete process of deploying a .NET Web API to Kubernetes. We start by containerizing the application into a Docker image, then push it to Docker Hub, and finally, we create a deployment.yaml file for Kubernetes deployment. I’ll guide you step by step through the whole journey-from building the image to deploying and scaling your app in Kubernetes. This is pe...
Building Real-time application with .NET SignalR and Angular
Просмотров 1,2 тыс.Месяц назад
Feel free to support my work on Patronite from the bottom of my heart 🙏. Your contribution will help me continue creating valuable content for the community 🚀: www.patreon.com/remigiuszzalewski In this video, we dive into SignalR in .NET 8 combined with Angular to create a real-time shopping list application. I’ll guide you through adding users to SignalR groups and sending notifications for re...
Insane performance boost in EF core using bulk operations
Просмотров 663Месяц назад
In this video, I dive into the insane performance boost you can achieve in .NET by leveraging bulk operations with ExecuteUpdateAsync and ExecuteDeleteAsync from EF Core. I demonstrate two approaches for updating and deleting records: the traditional method that loads entities into memory and processes them using foreach loops, and the optimized bulk operation method. The difference? 6 seconds ...
How to deploy a .NET Web API in IIS
Просмотров 1,1 тыс.Месяц назад
In today's vidIn this video, I'll guide you through the entire process of deploying a .NET Web API to IIS (Internet Information Services) on a virtual machine in Azure, setting up MSSQL Server, and exposing your API to the public. We’ll walk through everything from configuring IIS and deploying your app, to setting up MSSQL in the virtual machine, opening ports, and making the API accessible fr...
.NET Saving Logs In Azure Application Insights - Serilog
Просмотров 515Месяц назад
In today's video we will connect our API with Azure Application Insights using Serilog as the logger provider in .NET 8 Web API. Application insights is the place in Azure cloud, where you can store the logs from multiple applications and by using proper filtering you can extract the logs associated with your app. We will use special key in Serilog configuration that will be attached to each lo...
.NET Aspire basics with Azure deployment
Просмотров 5482 месяца назад
Discover the essentials of .NET Aspire and learn how to deploy your applications to Azure in this informative video! In this tutorial, we will cover: - Introduction to .NET Aspire: Understand the basics of .NET Aspire, a powerful framework designed for building distributed applications. We'll explore its features and how it simplifies the development of cloud-native applications. - Setting Up Y...
Azure Functions with .NET - Timer tiggered
Просмотров 3092 месяца назад
In this video, I will demonstrate how to create a timer-triggered Azure Function using .NET. Azure Functions is a serverless compute service that allows you to run code on-demand without managing infrastructure. We will create a functionality to receive the email notification when the price of bitcoin will drop below the certain threshold. Our Azure Function will be triggered every 5 minutes to...
Building a Dapper CRUD API with generic repository from scratch
Просмотров 1,3 тыс.3 месяца назад
Comprehensive tutorial on building a Dapper CRUD application using a Generic Repository pattern from scratch! In this video, I will guide you through the entire process of setting up and implementing efficient CRUD (Create, Read, Update, Delete) operation system using Dapper, a high-performance micro-ORM for .NET. We will use Dapper and generic repository pattern in the scenario, that our datab...
Auth guard in Angular with .NET Identity and Refresh tokens
Просмотров 6853 месяца назад
Auth guard in Angular with .NET Identity and Refresh tokens
How to Implement Soft Delete in EF Core
Просмотров 3974 месяца назад
How to Implement Soft Delete in EF Core
How to send an email in .NET
Просмотров 4844 месяца назад
How to send an email in .NET
How to setup CORS in .NET Web API
Просмотров 2715 месяцев назад
How to setup CORS in .NET Web API
Stored Procedures with Entity Framework Core in .NET 8
Просмотров 2,2 тыс.5 месяцев назад
Stored Procedures with Entity Framework Core in .NET 8
How to EASILY read and create CSV Files in .NET
Просмотров 1,1 тыс.5 месяцев назад
How to EASILY read and create CSV Files in .NET
.NET 8 Angular Authentication with Identity and Refresh Tokens
Просмотров 2,4 тыс.6 месяцев назад
.NET 8 Angular Authentication with Identity and Refresh Tokens
Mastering EF Core Relationships: One-to-One, One-to-Many, and Many-to-Many in .NET
Просмотров 1,6 тыс.6 месяцев назад
Mastering EF Core Relationships: One-to-One, One-to-Many, and Many-to-Many in .NET
Master Web Scraping in .NET: Extract Data from Any Website
Просмотров 5647 месяцев назад
Master Web Scraping in .NET: Extract Data from Any Website
Docker Compose with .NET 8, React, and MSSQL
Просмотров 3,8 тыс.7 месяцев назад
Docker Compose with .NET 8, React, and MSSQL
.NET logging to database - Serilog
Просмотров 1,9 тыс.7 месяцев назад
.NET logging to database - Serilog
Pagination in .NET 8 & React
Просмотров 9738 месяцев назад
Pagination in .NET 8 & React
CRUD with React, Typescript & .NET 8 Web API, EF Core, SQLite
Просмотров 8 тыс.8 месяцев назад
CRUD with React, Typescript & .NET 8 Web API, EF Core, SQLite
Options pattern in .NET
Просмотров 72010 месяцев назад
Options pattern in .NET
How to mock dependencies in .NET unit tests
Просмотров 1 тыс.10 месяцев назад
How to mock dependencies in .NET unit tests
API Versioning in ASP .NET Core
Просмотров 2,7 тыс.11 месяцев назад
API Versioning in ASP .NET Core
Fault handling in .NET with Polly
Просмотров 2,6 тыс.Год назад
Fault handling in .NET with Polly
Exception middleware in .NET
Просмотров 1,9 тыс.Год назад
Exception middleware in .NET
Using Hangfire to manage the jobs in .NET
Просмотров 9 тыс.Год назад
Using Hangfire to manage the jobs in .NET
Azure App Configuration in .NET
Просмотров 2,9 тыс.Год назад
Azure App Configuration in .NET
How to create the job using Quartz.NET and set up Entity Framework Core
Просмотров 13 тыс.Год назад
How to create the job using Quartz.NET and set up Entity Framework Core

Комментарии

  • @SurekhaNawale-wt4wy
    @SurekhaNawale-wt4wy 4 дня назад

    Nice video

  • @nadoleus
    @nadoleus 5 дней назад

    dzięki!

  • @diamondbacktip
    @diamondbacktip 6 дней назад

    How do you handle multiole table joins?

  • @RoyZASTEROiD
    @RoyZASTEROiD 7 дней назад

    thanks. useful topic

  • @MshayiWeZinqa
    @MshayiWeZinqa 11 дней назад

    Very Helpfull

  • @Kackowaty
    @Kackowaty 12 дней назад

    Finally a tutorial that would show you signalR in something else than a chat

  • @JonathanMarin-d5v
    @JonathanMarin-d5v 12 дней назад

    The first video of yours that I watch, and it's exactly what I was looking for. New subscriber. Thanks!

    • @remigiuszzalewski
      @remigiuszzalewski 12 дней назад

      @@JonathanMarin-d5v Thanks Jonathan 😁 That’s good to hear!

  • @musazulu7013
    @musazulu7013 13 дней назад

    Nice video, it's what i was looking for, thank you very much, can you please when you find time explain the outbound rules and how i can use a custom domain with ssl instead of an ip address

    • @remigiuszzalewski
      @remigiuszzalewski 12 дней назад

      @@musazulu7013 For now I have 2/3 topics on the top of my list to create the videos about, but I’ve written it down and for sure I will cover that topic as well in the future! 😄

  • @TuCominek
    @TuCominek 15 дней назад

    Thanks for the video Remik, from now it will be easier for me to manage my docker images in the kubernetes system, keep good work

    • @remigiuszzalewski
      @remigiuszzalewski 14 дней назад

      @@TuCominek Thank you 🙏 you should definitely check it out on your own 😎

  • @SathishKumar-zg6tp
    @SathishKumar-zg6tp 16 дней назад

    Great stuff.

  • @I-PixALbI4-I
    @I-PixALbI4-I 18 дней назад

    IMHO its overengineered...

    • @remigiuszzalewski
      @remigiuszzalewski 17 дней назад

      For the single/couple of operations using dapper library it is overengineered (then it’s better to just write everything on your own), but when you are dealing with repeatable crud operations on multiple entities then this approach will reduce the amount of your code 😁

  • @angelicatovar3206
    @angelicatovar3206 19 дней назад

    Hi! Great video, just a question for now ¿What is the code editor your are using for .NET? Thanks!

    • @remigiuszzalewski
      @remigiuszzalewski 18 дней назад

      Hi 😁 I’m glad that you’ve liked it! I’m using the Rider IDE from JetBrains for most of my videos 😉

  • @aleksandarstankovic3719
    @aleksandarstankovic3719 19 дней назад

    Can you help me, how to add Login and Register ?

    • @remigiuszzalewski
      @remigiuszzalewski 18 дней назад

      I’ve created a video about using .NET 8 Identity in order to handle authentication, you can check if it will be helpful for you 😁 ruclips.net/video/f71Ee_f-yLY/видео.html

  • @frightone
    @frightone 21 день назад

    Can you recomend tutorial about docker?

    • @remigiuszzalewski
      @remigiuszzalewski 21 день назад

      You can check my video about docker and docker compose right there 😁 ruclips.net/video/XTqwvQAv9Lg/видео.html

  • @raoufsnowden2988
    @raoufsnowden2988 Месяц назад

    I came from the Facebook group. thank you for your efforts, you are a treasure my friend

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      I’m very glad to hear that Raouf 😁 thanks for these words!

  • @TuCominek
    @TuCominek Месяц назад

    Thanks for the video Remik, I will consider Singal R eveytime when handling between machines / processes communication, keep good work <3

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      You’re welcome and thanks as well Marek for your feedback! 😎

  • @cissemy
    @cissemy Месяц назад

    Thanks Can you add pagination ?

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      You’re welcome 😁 I have already created a video about applying pagination in .NET Web API + React: ruclips.net/video/BnYwi3Iv_nA/видео.htmlsi=MFUh1QDjJIuuU6Ft

    • @cissemy
      @cissemy Месяц назад

      @@remigiuszzalewski I was talking about pagination using stored procedure.

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      @@cissemy I get your point, there’s a chance that I will create video about that in the future 😁

    • @cissemy
      @cissemy Месяц назад

      @@remigiuszzalewski Thanks

  • @Tamer_Ali
    @Tamer_Ali Месяц назад

    Thanks a lot for the useful video. Can we use bulk operations with transaction?

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      @@Tamer_Ali thanks for the feedback, yes, we can use multiple bulk operations inside of the transaction 😁

  • @kidsworld_mh
    @kidsworld_mh Месяц назад

    thank you so much for this video

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      You’re welcome! I’m glad that you liked it 😁

  • @TuCominek
    @TuCominek Месяц назад

    Thanks for the video Remik, nice way to squeeze another precious seconds to boost performance, nice video and keep good work <3

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      Thanks a lot Marek as always for your feedback 😁

  • @tuannguyen-pt2ph
    @tuannguyen-pt2ph Месяц назад

    Hey friend this is good video Is this work for mongodb atlas

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      The whole concept of putting your .net web api into IIS will work as expected, but only the part with MSSQL installation and configuration has to be changed to Mongodb installation + configuration 😁

  • @TuCominek
    @TuCominek Месяц назад

    Thanks for the vid Remik, keep good work

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      Thanks Marek! 😁 you’re the most present subscriber in the comment section and always very welcome to watch the video 😎

  • @abdallaboss23
    @abdallaboss23 Месяц назад

    Please make a toturial about Dynamic Role-based Access Contro Asp net Core MVC net 8.0 and Errolog display expected Error in Traceback

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      I will try to cover that topic in one of my future videos :)

  • @Vishnubhandarge1
    @Vishnubhandarge1 Месяц назад

    Can you make more projects of .net 8. ?

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      Of course, in the future I will create more videos related to building .net 8 projects 😁

  • @martinb.r2180
    @martinb.r2180 Месяц назад

    Thanks for the video, it helped me a lot !

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      You're very welcome! I'm glad the video was helpful to you. Thanks for watching! 😁

  • @DaniLearnsIT
    @DaniLearnsIT Месяц назад

    Dude, this is super cool! I just have a small question. If I wanted to stop a Job, would I just throw some Exception? I am just wondering it is possible to do something like: if x happens, stop the job. Make it so the job runs again in a shorter amount of time than we set up with the settings. If x happens again, stop the job completely and do not reschedule!

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      Thanks for the feecback :) Regarding your question - there's an option to reschedule the job or to stop the job based on some condition that you are referring to :) Rescheduling the job: public async Task Execute(IJobExecutionContext context) { if (yourCondition) { var newTrigger = TriggerBuilder.Create() .StartAt(<When>) .WithIdentity(context.Trigger.Key) .Build(); await context.Scheduler.RescheduleJob(context.Trigger.Key, newTrigger); } } Stopping the job: public async Task Execute(IJobExecutionContext context) { if (yourCondition && <for instance rescheduling was already done variable>) { await context.Scheduler.UnscheduleJob(context.Trigger.Key); } }

  • @ChiakiNanami736
    @ChiakiNanami736 Месяц назад

    I've been looking for an explainer with more recent versions than VS2017 et al, so thank you!

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      @@ChiakiNanami736 You’re welcome! I’m glad that it was helpful for you 😁

  • @TuCominek
    @TuCominek Месяц назад

    Thanks for the video Remik, looking at your face it seems there was a horrible lampa in your room while you were recording :D

    • @remigiuszzalewski
      @remigiuszzalewski Месяц назад

      @@TuCominek Thanks, It was around 10 pm when I started to record the introduction and yes it was veeery bright in the room 😄

  • @TuCominek
    @TuCominek 2 месяца назад

    Thanks for the video Remik, Aspire 0 must be for every new app development

  • @TuCominek
    @TuCominek 2 месяца назад

    thanks for the video Remik, keep good work <3

    • @remigiuszzalewski
      @remigiuszzalewski 2 месяца назад

      @@TuCominek thanks for the feedback ❤️💪

  • @TuCominek
    @TuCominek 2 месяца назад

    thanks for the explanation Remik, nice restaurant photo btw :D

    • @remigiuszzalewski
      @remigiuszzalewski 2 месяца назад

      I’m happy that you’ve noticed that photo 😄

  • @franciscooteiza
    @franciscooteiza 2 месяца назад

    Horrible video, horrible voice. Dislike

  • @furkanfatihsafak3422
    @furkanfatihsafak3422 2 месяца назад

    Great Thanks. Working.

  • @solaoladejo7421
    @solaoladejo7421 2 месяца назад

    It is official - you are Genius!!! Many thanks, great stuff

  • @tidianediallo6199
    @tidianediallo6199 2 месяца назад

    great!!!! the github?

    • @remigiuszzalewski
      @remigiuszzalewski 2 месяца назад

      Thanks 😄 I will add the link to the GitHub repo after my vacation

  • @berthold9582
    @berthold9582 3 месяца назад

    It's easy to implement but I still have gray areas

    • @remigiuszzalewski
      @remigiuszzalewski 18 дней назад

      That’s the easiest way to cache results in .NET, in the future I will create a video about implementing caching with the usage of Redis - it will be described more deeply

  • @DevelopZone
    @DevelopZone 3 месяца назад

    Helpfull, thanks

  • @TuCominek
    @TuCominek 3 месяца назад

    Thanks for the video Remik <3

  • @StormBreaker-fw1ww
    @StormBreaker-fw1ww 3 месяца назад

    But…store the access token in the session storage is a very bad practice. The recommended way is to use a Http only cookie. Why doing tutorials with potential dangerous bad practices?

    • @remigiuszzalewski
      @remigiuszzalewski 3 месяца назад

      @@StormBreaker-fw1ww for your information the access token is stored there because it is only valid 60 seconds. You cannot do nothing with it after it will expire. I agree that if it will be ONLY the access token valid for for example 7 days in local storage is not a good practice. Anyway, I have the plan to create next video with only using HTTP only cookies + different states of navbar based on authenticated user, so it will be covered 😊

    • @StormBreaker-fw1ww
      @StormBreaker-fw1ww 3 месяца назад

      @@remigiuszzalewski I’ve never seen an access token with 60 seconds lifetime…I think that the short expiration time is an excuse to not use a safer approach like the http only cookie. If you make the new video with http only cookie it will be very interesting and really helpful for everyone here because it can be applied in real world projects 😊

  • @fritzjimenez9109
    @fritzjimenez9109 3 месяца назад

    Oh nice! It automatically mapped the relationships. I thought you were going to do it via Configuration in the DB context. 🤔 Is there any difference if you do it via the OnModelCreating method? 😅

    • @remigiuszzalewski
      @remigiuszzalewski 3 месяца назад

      Actually it depends on your needs and preferences 😁 if you have a simple relationship without any conditions and you would like to keep everything in models then there’s a way to go. If you need more advanced configurations that data annotations cannot handle or you need to apply configurations conditionally or through conventions that apply across multiple entity types then it’s better to set this up in OnModelCreating 😀

  • @Tymonello
    @Tymonello 3 месяца назад

    Have you noticed that you have config wrong? app.Configuration.GetSection("HangfireConfiguration:User").Value at 8:42 returns null, and then at 33:03 you opened dashboard and didn't get the prompt to login, it just opened, because you set user and password to null.

  • @raymundopena1706
    @raymundopena1706 3 месяца назад

    Áre You going to Code it in one video or Will do it in many videos xplaining every part...

    • @remigiuszzalewski
      @remigiuszzalewski 3 месяца назад

      The first part is available in the description of the video. There’s a detailed walkthrough up to the state that I’ve started this video 😉 Maybe in the future I will continue to code something more in this repository that will be interesting 😁

  • @raymundopena1706
    @raymundopena1706 3 месяца назад

    That's a great guide... Excelent video

  • @eladkhil9979
    @eladkhil9979 3 месяца назад

    Your explanation was very clear and helpful. thank you so much ! Would it be possible for you to share the code you demonstrated in this video on GitHub?

  • @mrflush5387
    @mrflush5387 4 месяца назад

    Thanks. Te quiero mucho.

    • @remigiuszzalewski
      @remigiuszzalewski 4 месяца назад

      De nada señor, me alegra que te haya gustado eso 😛

  • @MarceloDesarrollo
    @MarceloDesarrollo 4 месяца назад

    1) You don't need two fields.... IsDeleted = DeletedAtUTC is not null 2) Also recomend to implement an interface not inherit from a baseclass

    • @remigiuszzalewski
      @remigiuszzalewski 4 месяца назад

      1) Two fields are present for audit purposes, to check when actually the soft deletion has taken place 😁 2) It could be an interface as well - good that you are pointing this out, it’s totally up to the personal preference. As a reference in eShopOnWeb (Microsoft application architecture samples) BaseEntity is an abstract class too: github.com/dotnet-architecture/eShopOnWeb/blob/main/src/ApplicationCore/Entities/BaseEntity.cs

  • @remigiuszzalewski
    @remigiuszzalewski 4 месяца назад

    Hi everyone! 🎉 If you have a specific topic that you’d like me to create a tutorial about, please share it in the comments below. 😊 I’m looking forward to your ideas for new videos!

  • @Tamer_Ali
    @Tamer_Ali 4 месяца назад

    Thanks a lot for your awesome video

  • @Tamer_Ali
    @Tamer_Ali 4 месяца назад

    Thanks a lot for the video. How to load Origins dynamically from database?

    • @remigiuszzalewski
      @remigiuszzalewski 4 месяца назад

      You will have to access the dbContext and get the origins from the specific table that you keep your origins in 😉

  • @lauwwulan861
    @lauwwulan861 4 месяца назад

    Thanks a million! Your explanation is easy to understand, and it's cool how you follow every naming convention and best practice!

    • @remigiuszzalewski
      @remigiuszzalewski 4 месяца назад

      Thanks a lot for your insights 😇 I’m glad to hear that ☺️