
- Видео 39
- Просмотров 91 488
Remigiusz Zalewski
Польша
Добавлен 24 ноя 2021
Hi .NET Professionals! I make videos about .NET, React and Azure to make your software engineer learning path easier!
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...
• 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
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
CRUD with React, Typescript & .NET 8 Web API, EF Core, SQLite
Просмотров 8 тыс.8 месяцев назад
CRUD with React, Typescript & .NET 8 Web API, EF Core, SQLite
How to mock dependencies in .NET unit tests
Просмотров 1 тыс.10 месяцев назад
How to mock dependencies in .NET unit tests
Using Hangfire to manage the jobs in .NET
Просмотров 9 тыс.Год назад
Using Hangfire to manage the jobs 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
Nice video
@@SurekhaNawale-wt4wy Thanks 🙏
dzięki!
Nie ma za co! 😎
How do you handle multiole table joins?
thanks. useful topic
I’m glad to hear that 😁
Very Helpfull
I’m very pleased to hear that! 😁
Finally a tutorial that would show you signalR in something else than a chat
I’m glad that you’ve noticed that! 🫡😁
The first video of yours that I watch, and it's exactly what I was looking for. New subscriber. Thanks!
@@JonathanMarin-d5v Thanks Jonathan 😁 That’s good to hear!
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
@@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! 😄
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
@@TuCominek Thank you 🙏 you should definitely check it out on your own 😎
Great stuff.
Thanks! 🙏
IMHO its overengineered...
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 😁
Hi! Great video, just a question for now ¿What is the code editor your are using for .NET? Thanks!
Hi 😁 I’m glad that you’ve liked it! I’m using the Rider IDE from JetBrains for most of my videos 😉
Can you help me, how to add Login and Register ?
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
Can you recomend tutorial about docker?
You can check my video about docker and docker compose right there 😁 ruclips.net/video/XTqwvQAv9Lg/видео.html
I came from the Facebook group. thank you for your efforts, you are a treasure my friend
I’m very glad to hear that Raouf 😁 thanks for these words!
Thanks for the video Remik, I will consider Singal R eveytime when handling between machines / processes communication, keep good work <3
You’re welcome and thanks as well Marek for your feedback! 😎
Thanks Can you add pagination ?
You’re welcome 😁 I have already created a video about applying pagination in .NET Web API + React: ruclips.net/video/BnYwi3Iv_nA/видео.htmlsi=MFUh1QDjJIuuU6Ft
@@remigiuszzalewski I was talking about pagination using stored procedure.
@@cissemy I get your point, there’s a chance that I will create video about that in the future 😁
@@remigiuszzalewski Thanks
Thanks a lot for the useful video. Can we use bulk operations with transaction?
@@Tamer_Ali thanks for the feedback, yes, we can use multiple bulk operations inside of the transaction 😁
thank you so much for this video
You’re welcome! I’m glad that you liked it 😁
Thanks for the video Remik, nice way to squeeze another precious seconds to boost performance, nice video and keep good work <3
Thanks a lot Marek as always for your feedback 😁
Hey friend this is good video Is this work for mongodb atlas
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 😁
Thanks for the vid Remik, keep good work
Thanks Marek! 😁 you’re the most present subscriber in the comment section and always very welcome to watch the video 😎
Please make a toturial about Dynamic Role-based Access Contro Asp net Core MVC net 8.0 and Errolog display expected Error in Traceback
I will try to cover that topic in one of my future videos :)
Can you make more projects of .net 8. ?
Of course, in the future I will create more videos related to building .net 8 projects 😁
Thanks for the video, it helped me a lot !
You're very welcome! I'm glad the video was helpful to you. Thanks for watching! 😁
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!
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); } }
I've been looking for an explainer with more recent versions than VS2017 et al, so thank you!
@@ChiakiNanami736 You’re welcome! I’m glad that it was helpful for you 😁
Thanks for the video Remik, looking at your face it seems there was a horrible lampa in your room while you were recording :D
@@TuCominek Thanks, It was around 10 pm when I started to record the introduction and yes it was veeery bright in the room 😄
Thanks for the video Remik, Aspire 0 must be for every new app development
You’re welcome my friend! 😀
thanks for the video Remik, keep good work <3
@@TuCominek thanks for the feedback ❤️💪
thanks for the explanation Remik, nice restaurant photo btw :D
I’m happy that you’ve noticed that photo 😄
Horrible video, horrible voice. Dislike
Great Thanks. Working.
That’s perfect 👍😁
It is official - you are Genius!!! Many thanks, great stuff
I’m very glad to hear that! 😁
great!!!! the github?
Thanks 😄 I will add the link to the GitHub repo after my vacation
It's easy to implement but I still have gray areas
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
Helpfull, thanks
I'm glad to hear that 😁
Thanks for the video Remik <3
You're welcome Marek 😁
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?
@@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 😊
@@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 😊
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? 😅
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 😀
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.
Áre You going to Code it in one video or Will do it in many videos xplaining every part...
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 😁
That's a great guide... Excelent video
I’m glad to hear that 😁
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?
Thanks. Te quiero mucho.
De nada señor, me alegra que te haya gustado eso 😛
1) You don't need two fields.... IsDeleted = DeletedAtUTC is not null 2) Also recomend to implement an interface not inherit from a baseclass
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
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!
Thanks a lot for your awesome video
You’re welcome 😎😁
Thanks a lot for the video. How to load Origins dynamically from database?
You will have to access the dbContext and get the origins from the specific table that you keep your origins in 😉
Thanks a million! Your explanation is easy to understand, and it's cool how you follow every naming convention and best practice!
Thanks a lot for your insights 😇 I’m glad to hear that ☺️