- 9
- 38 337
Code Overdose
United States
เข้าร่วมเมื่อ 18 ก.พ. 2016
Welcome to Code Overdose!
Dive deep into the world of programming and technology with us. Whether you're a seasoned developer or just starting out, our channel offers something for everyone.
From coding tutorials and tech reviews to industry insights and project showcases, we bring you a steady stream of content to fuel your passion for tech. Subscribe and overdose on code with us-let's push the limits of what's possible, together!
By Dose Hieu
Dive deep into the world of programming and technology with us. Whether you're a seasoned developer or just starting out, our channel offers something for everyone.
From coding tutorials and tech reviews to industry insights and project showcases, we bring you a steady stream of content to fuel your passion for tech. Subscribe and overdose on code with us-let's push the limits of what's possible, together!
By Dose Hieu
.NET 8 Localization in Blazor + Web API
Learn how to implement localization the right way in your Blazor web app! This step-by-step tutorial covers everything you need to support multiple languages using resource files. We'll explore best practices for managing language-specific content, setting up culture-specific resources, and dynamically switching between languages to create a seamless multilingual user experience. Whether you're building a global app or just want to add a few language options, this guide has you covered! 💻🌍
00:00 Fix Refresh Token Issue
02:36 Create Resource Files
04:57 Localize Blazor Web App
07:05 Create Culture Selector
10:58 Set Culture in API
13:38 Localize Web API
Link play list for CRUD Blazor Web App & Web API in REAL project:
th-cam.com/play/PLNn06NGB6PTgymNp3PbptkeZYG5jZCAwK.html
Link download source code : github.com/hieudose/BlazorApp
Create by: Dose Hieu
#Blazor #BlazorLocalization #BlazorWebAssembly #BlazorServer #MultiLanguageApp #LocalizationTutorial #ResourceFiles #Globalization #DotNetCore #DotNetDevelopers #BlazorDevelopment #WebDevelopment #CSharpProgramming #AspNetCore #FullStackDevelopment #BlazorComponents #LocalizationBestPractices #WebAppTutorial #SoftwareLocalization #DynamicLanguages #localization
00:00 Fix Refresh Token Issue
02:36 Create Resource Files
04:57 Localize Blazor Web App
07:05 Create Culture Selector
10:58 Set Culture in API
13:38 Localize Web API
Link play list for CRUD Blazor Web App & Web API in REAL project:
th-cam.com/play/PLNn06NGB6PTgymNp3PbptkeZYG5jZCAwK.html
Link download source code : github.com/hieudose/BlazorApp
Create by: Dose Hieu
#Blazor #BlazorLocalization #BlazorWebAssembly #BlazorServer #MultiLanguageApp #LocalizationTutorial #ResourceFiles #Globalization #DotNetCore #DotNetDevelopers #BlazorDevelopment #WebDevelopment #CSharpProgramming #AspNetCore #FullStackDevelopment #BlazorComponents #LocalizationBestPractices #WebAppTutorial #SoftwareLocalization #DynamicLanguages #localization
มุมมอง: 866
วีดีโอ
Design Patterns - Singleton pattern in C#
มุมมอง 184หลายเดือนก่อน
In this video, we take an in-depth look at the Singleton Design Pattern in C#. You'll learn what the Singleton pattern is, why it's useful, and how to implement it effectively in your C# projects. We'll cover real-world use cases, potential pitfalls to watch out for, and best practices to ensure your code remains robust and maintainable. Whether you're a beginner wanting to understand design pa...
Microservices with Kafka: Handle Distributed Transactions with Saga Pattern
มุมมอง 6652 หลายเดือนก่อน
In this video, we explore how to handle distributed transactions in a microservices architecture using Kafka and the Saga pattern. We'll introduce the Saga pattern, explaining its importance in maintaining data consistency across services. Through real-world demos, we’ll showcase both the choreography-based approach and the orchestrator-based approach, highlighting their differences, benefits, ...
.NET 8 Refresh Token using JWT in Blazor + Web API
มุมมอง 3.6K4 หลายเดือนก่อน
In this project, I will use Blazor Web App frontend Web API backend in .NET 8, using Entity Framework Core code first, database using SQL Server. In this Part 4, I will show you how to implement Refresh Token using Json Web Token (JWT) 00:00 Create Refresh Token 02:41 Handle Token Expiry 09:36 Save Refresh Token 13:44 Verify User Info 19:01 Test Refresh Token Link play list for CRUD Blazor Web ...
Difference between ToList() and ToListAsync()
มุมมอง 7014 หลายเดือนก่อน
In this video, we’re diving into asynchronous programming with async await keywords and exploring the differences between ToList and ToListAsync. 00:00 Introduction 02:03 Difference Between ToList and ToListAsync 03:45 Demo: ToList vs. ToListAsync 06:50 Performance Improvement Link play list for CRUD Blazor Web App & Web API in REAL project: th-cam.com/play/PLNn06NGB6PTgymNp3PbptkeZYG5jZCAwK.ht...
.NET 8 Role-Based Authorization with JSON Web Tokens (JWT) in Blazor + Web API
มุมมอง 6K4 หลายเดือนก่อน
In this project, I will use Blazor Web App frontend Web API backend in .NET 8, using Entity Framework Core code first, database using SQL Server. In Part 3, I will show you how to implement Role-Based Authentication and Authorization using JWT 00:00 Intro and flow explanation 01:27 Create Login API 04:40 Setup JWT validation 08:26 Build login form 10:32 Implement AuthenticationStateProvider 14:...
CRUD Blazor Web App & Web API in a Real Project (.NET 8) - Part 2 CRUD operations
มุมมอง 3.3K4 หลายเดือนก่อน
In this project, I will use Blazor Web App frontend Web API backend in .NET 8, using Entity Framework Core code first, database using SQL Server. 00:00 Create Function 03:00 Install Toast Message 07:30 Update Function 13:00 Modal Component 14:00 Delete Function Link play list for CRUD Blazor Web App & Web API in REAL project: th-cam.com/play/PLNn06NGB6PTgymNp3PbptkeZYG5jZCAwK.html Link to Part ...
Microservices with Kafka: ECommerce Example (.NET 8)
มุมมอง 12K5 หลายเดือนก่อน
In this project, I will create a sample e-commerce app using .NET 8. The frontend will be built with Blazor Web App, and the backend services will be developed using Web API. Entity Framework Core with a code-first approach will be used for database interactions, with SQL Server as the database. Additionally, two services will use Kafka as a message broker to send and receive messages 0:00 Intr...
Blazor Web App & Web API in REAL project (.NET 8) - Part 1
มุมมอง 11K6 หลายเดือนก่อน
In this project, I will use Blazor Web App frontend Web API backend in .NET 8, using Entity Framework Core code first, database using SQL Server. 00:00 Introduce, Create project 02:40 Service-oriented architecture (SOA) 04:00 Implement SOA 09:39 Entity Framework Core 14:42 Create Controller 16:58 Create Service 18:16 Create Repository 20:38 Create Blazor frontend Link play list for CRUD Blazor ...
what is an microservice?
this is very good. more example please like an invoice.
So good 🔥! Please cover other design patterns too 😊
Thank you. I will make it soon 🥰🥰
You can skip first TWENTY FIVE minutes - content starts after it...
Thanks for your remind😊😊
Nice and easy!
Thank you 🥰🥰
this demo as very good and excellent, i would say the best on the web.
Thanks for your kind words 🥰🥰
Upvoted ! Your presentation of these topics is great, in particular the Aspire framework ....many thanks 👍
Thank you for watching🥰🥰
Deployment?
It will be the last video of this series. I want to include the most of common topics first. 😊🥰🥰
@@dosehieu How long will it take?
We Want Big tutorial like react tutorial FaceBook Clone , Big Ecommerce to enlarge commnunity of blazor
This is big topics. I will make it in the future 😊🥰🥰
Your works are very beautiful. How can I control authentication and authorization from the user interface in this project, and how can I control the access of any page through the page? Can you please make a video on this?
Thank you! I've already created videos for Authen and Author in this project. Check this out: th-cam.com/video/oqpNQxEfz_Y/w-d-xo.html
great thanks i want tutorial for social login with google and facebook with jwt in blazor webassembly
Yeah, I will make it soon 🥰🥰
Great video, So usefull. Thanks
Thanks for your support 🥰🥰
When I installed the two swagger packages, I only installed them in the blazerApp.ApiService. Should I have installed them in all the project files? Thank you.
Thank you for informative tutorial. I do have a problem, when I run the BlazorApp.ApiService I get the following error: Unable to connect to webserver https.
Great job thank you!
Thanks for your support🥰🥰
Thank you! I would like the part 2 🙂
Hi @antgod76, Full play list here 🥰🥰th-cam.com/play/PLNn06NGB6PTgymNp3PbptkeZYG5jZCAwK.html
Thanks! AN
Thanks for your support 🥰🥰
Hello, I would like to add a token in a DelegatingHandler for an HTTP client, but I am encountering a "JavaScript interop calls" error. What solution would you suggest?
I had the same issue and any of the solutions out there works for me :(, if you find a solution please share it with us :)
Hi @whisperman4902 ,@fabriziofs Maybe you are encountering a 'JavaScript interop calls' error when the UI loads for the first time in server-side mode with the default setting of prerendering on the server. You can disable server prerendering by updating the App.razor file like this: <Routes @rendermode="new InteractiveServerRenderMode(prerender: false)" />
This doesn't take the Blazor prerendering model into account. The one where Blazor wasm is split between a server and client app. It's a shame. Microsoft shafted us with this model just to load the wasm slightly faster. All configurations are out the window having to do the same for both domains of the app.
prerender:false it is I guess. Remember to add and configure : .AddInteractiveServerRenderMode() along with the webassembly one. Goddamnit!
Thanks for your feedback! You’re right-Blazor’s prerendering model adds complexity, especially with managing configurations across server and client. While it improves load times and SEO, the trade-offs can be frustrating. For simpler apps, skipping prerendering might save effort.
@ Thanks for this great tutorial. Helped me a lot in changing the way I used authentication and claims in the past.
Very glad to hear this helps! 🥰
without docker, can I run zookeeper and kafka on my cmd then, Will it work?
Yes, you can run both Apache Zookeeper and Apache Kafka directly from your command line without Docker. Running them directly involves downloading the necessary binaries, configuring the setup, and starting the services.
This is precisely what I have been looking for. Excellent job! I subscribed.
Thank you 🥰🥰
U didnt show us were u did migration cause i am having issue with it
It don't need to have Migration to run. What issue do you have?
How to migrate from these projects? I cant find that migration parts too. Thank you sir )
Do you hace 2 instaces running?
Yes, one instance is ApiService, one instance is Web, and there is actually one more instance for the .NET Aspire App Host
This works well but is not handling the dual write problem (db write + kafka write). You need to add something like an outbox pattern.
Hi @DavidPereira-lc1yq. Nice comment! You're right-I didn't include exception handling in this video. I'll cover it in the next one, using the outbox pattern ☺☺
Very nice demo, it's simple, clear and touches all concepts. Thanks for posting this video. helps a lot.
Thank you. 🥰🥰
Thanks! Very informative tutorial! I would love to see how you would handle login with external providers.
Thanks. I will do 🥰
Great tutorial! Please do orchestrator-based approach also.
Sure. I will make it soon🥰🥰
hi, man the best practic, plz dont stoped :)
Thanks for your support. It is great motivation🥰🥰
Ty u save my day or maybe my life 😂 Waiting for new videos soooo (go..go..go)
Glad to hear it was helpful. Thanks for watching.🥰😃
You can make a video explaining how to deploy the application in local IIS.
Great idea! I will make a video about this soon. 🥰😃
Many thanks for this clearly and very informative sharing. This was exactly what I want. Very good explaining..
Thank you so much 🥰🥰
getting the following error in this code line: Database.EnsureCreated(); in appdbcontext file. Microsoft.Data.SqlClient.SqlException: 'A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)' inner exception: Win32Exception: The certificate chain was issued by an authority that is not trusted.
i fixed it by adding Encrypt = false; in my data base connection string
@@muhammadasaad1314 Yes. You can add this to your connection string: TrustServerCertificate=True
Wow muchisimas gracias, explicas super bien, gracias gracias gracias.
Thank you very much🥰🥰
Thank you very much. @dosehieu Please, I hope you post another video in the same way as part 1 & part 2, but i want it to include the following: 1. database with at least 3 tables that have one-to-many relationships. 2. use dapper instead of EF. 3. in the blazor wep app create three pages that shows every table with CRUD operation thanks in advance
Hi @belalmahajna3032 Great question! I will make an video about Dapper soon 🥰🥰
. NET 9 now have Task.WhenEach vs Task.WhenAll
Yes. Thanks for your infomation🥰🥰
This was really good ❤ Can you make a video on how to do this with Azure AD on both web api and Blazor project
Thank you. I will make an video about this soon 🥰🥰
@@dosehieu appreciated …the lack of clear documentation on Microsoft has become a major issue for such implementation
i tried to dspaly one record instead of retrieving all records but it is not going on, can you please function to crud operations to do that? .
Hi @IbrahimMostafa-v7i So, you want a function to show detailed records, right? What error are you getting?
Awesome stuff, man. Straightforward and helpful!
Thank you 🥰🥰
Best Approach
Thank you 🥰🥰
please create a video for microservice architecture..
Yeah, I will make it soon 🥰🥰
This is fantastic!
@@2005Azm Thank you 🥰
Nice!
@@justvuu Thank you so much🥰
Thanks for your greate futorial. Just what I was looking for to continue learning Blazor. But shouldn't their be an error message when you login with an wrong username and password?
Hi @CentauriDK. You're right. In a real project, we need to handle user login failures, and the password should be encrypted before being saved to the database. I may handle this in the next video. Thanks for your question!
Very good!!! You deserve more subscribers considering the quality of your content. Can you update your Github with this part .... if possible 🙂 .
Oh I forgot about that. Thanks for reminding 🥰🥰
@@dosehieu Ty for the update !
@@Guitariste82 You're very welcome🥰
Thanks 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@@pankajsharma-yw3rl You're welcome 🥰🥰
Loving these tutorials
@@GarethDoherty1985 Thanks for your support 🥰🥰
Incredible 🤓
@@DragoGrayLite Thank you so much🥰🥰
What's user and Password?
Hi @tavara7279, I haven't implemented authentication in this part. If you want to see authentication and role-based authorization, please check my Part 3 video here: th-cam.com/video/oqpNQxEfz_Y/w-d-xo.html
It would be great channel ❤
@@kha88kha88 Thanks for your kind words. 🥰🥰
Very good course. The layers make sense. The code is clean. Some tables like user and claims are missing, don't you think? I just don't understand why not use Identity? Even if it was just to create the tables... But anyway, your content is very good and well explained, thank you.🕶😀 Continue this series👍
@@luizfredericojr Thanks for your kind words. Good question! For simplicity, I'm not implementing user verification in this video. I plan to implement user verification using Identity and add refresh tokens in the next video 😊😊