Blazor Web App & Web API in REAL project (.NET 8) - Part 1

  Рет қаралды 4,884

Code Overdose

Code Overdose

Күн бұрын

Пікірлер: 42
@germanjesus214
@germanjesus214 11 күн бұрын
Muchas gracias por el video, desde hace tiempo que quería saber cómo hacer una aplicación fullstack, solo he estudiado el desarrollo de API, no he tocado front para nada, tu video me sirvio mucho, gracias. saludos desde Colombia.
@dosehieu
@dosehieu 11 күн бұрын
@@germanjesus214 Welcome! Colombia is a great country. I'm very happy to hear that you find it helpful.😊😊
@ToniTodorov-g8z
@ToniTodorov-g8z 18 күн бұрын
In my opinion, this is a very useful course. For those new to BlazorApp (like me). I have one question: in your opinion for "medium volume applications" which "application architecture" is better: "Clean Architecture" or "Modular Monolith"?
@dosehieu
@dosehieu 17 күн бұрын
Thank you for your kind words! As for your question, both Microservice Architecture and Modular Monolith have their advantages, and the choice depends on your specific needs. For a medium-volume application, Modular Monolith might be more practical if you're aiming for simplicity and faster development. However, if you anticipate needing to scale or add complexity in the future, Microservice Architecture might be a better long-term choice ☺☺
@ToniTodorov-g8z
@ToniTodorov-g8z 17 күн бұрын
@@dosehieu Thanks for the reply. One additional question. In this project, are you thinking of developing some "architecture"? Or it will be just one "monolithic application", which for "one example" is actually quite enough.
@dosehieu
@dosehieu 16 күн бұрын
Hi @@ToniTodorov-g8z, In this project, I’m leaning towards a Modular Monolith approach for simplicity, as an example 😊 If you want to learn more about the Architecture, check out my video on Microservice Architecture here. kzbin.info/www/bejne/eZOnmIKipqepqNU
@jsiahaan
@jsiahaan 26 күн бұрын
Thank you so much, I'm going to continue the second part soon!
@dosehieu
@dosehieu 26 күн бұрын
Thank you🥰🥰
@kha88kha88
@kha88kha88 10 күн бұрын
It would be great channel ❤
@dosehieu
@dosehieu 10 күн бұрын
@@kha88kha88 Thanks for your kind words. 🥰🥰
@MohammadKomaei
@MohammadKomaei 11 күн бұрын
Repository is implemented in ef core dbcontext class so creating the repository classes is anti pattern and caused complexity and decreasing performance.
@dosehieu
@dosehieu 11 күн бұрын
@@MohammadKomaei Hi. EF Core does not implement the repository pattern out of the box. EF Core provides a DbContext for data access, but it doesn’t include a repository layer. The repository pattern can be implemented on top of EF Core if desired, but it is not a built-in feature.😊😊
@garamburito
@garamburito 11 күн бұрын
Hi, thanks for the video, how do you get the console admin page that appears a the beginning ?
@dosehieu
@dosehieu 11 күн бұрын
@@garamburito Hi. Thank you for watching. Do you mean .NET Aspire? That is a lightweight framework designed to help developers get started with .NET Core in a more streamlined way, focusing on rapid development and deployment. It offers a simplified setup, essential tools, and features that are especially useful for building modern web applications with minimal overhead
@garamburito
@garamburito 11 күн бұрын
@@dosehieu thanks a lot for the info.
@cissemy
@cissemy 17 күн бұрын
Great video. Can you make a video about how to deploy it using docker ?
@dosehieu
@dosehieu 17 күн бұрын
Thank you. I will make it soon ☺☺
@osamaayesh9495
@osamaayesh9495 23 күн бұрын
hey which way u did to connect to sql server seems u in sql server have migration history
@dosehieu
@dosehieu 22 күн бұрын
Hi @osamaayesh9495, you can use either the Code First approach or the DB First approach. However, in real projects, we often avoid using them because we want to apply our own naming conventions. For example, if you have a new table named Order, just go to the database and create the Order table. Then, create a model class named OrderModel.cs and declare the DbSet for it in the DbContext. When you run the app, it will automatically connect them😊😊
@osamaayesh9495
@osamaayesh9495 22 күн бұрын
@@dosehieu okey thanks but so if i follow ur step in this video with avoiding code first and data base i will automatically connect to sql server ? cuz u in this video didn't create database and table product so i must creat them then follow ur steps ?
@dosehieu
@dosehieu 22 күн бұрын
Hi @osamaayesh9495, you don't need to create the database beforehand. As you can see in the DbContext, I have this Database.EnsureCreated();. The first time you run the app, if the database doesn't exist, Entity Framework will automatically create it. 😊
@osamaayesh9495
@osamaayesh9495 21 күн бұрын
@@dosehieu hey how i can edit or delete a column from sql server or just from model ?
@dosehieu
@dosehieu 21 күн бұрын
Hi @@osamaayesh9495 If you need to change anything, let's update both the database and the model. It will automatically connect. For example, if I want to add a column 'Discount' to the 'Product' table, just go to the database and create that column, then go to the Product model and add the 'Discount' property ☺
@QaisarArsalan
@QaisarArsalan 29 күн бұрын
where is migration class and where i can apply ?
@dosehieu
@dosehieu 28 күн бұрын
Hi @QaisarArsalan, I didn't use Code First in this example. If you need to make any changes to the database, first update your table, then update the model class for that table. They just need to map to each other. Migration is not required ☺☺
@lukevincent4397
@lukevincent4397 22 күн бұрын
Your screen text is way too small and you have uploaded the video in 720p - useless.
@dosehieu
@dosehieu 22 күн бұрын
Hi @lukevincent4397, sorry about the inconvenience. This is my first video. In the next video, I will change the font size and improve the image quality. Thank you for letting me know 😊😊
@nguyenhieu-c2q
@nguyenhieu-c2q Ай бұрын
can you make more videos like this
@dosehieu
@dosehieu 28 күн бұрын
Of course! Thank you
@muhammadasaad1314
@muhammadasaad1314 Ай бұрын
i have to APPLY AUTHORIZATION ON THE ACTIONS OF PRODUCT HOW TO DO IT?
@dosehieu
@dosehieu Ай бұрын
I will have another video on Authentication and Authorization in a Blazor Web App using JWT tokens soon. Follow me to get it as soon as it's ready☺☺
@maurosanz6125
@maurosanz6125 Ай бұрын
@@dosehieu yes please 📿
@tavara7279
@tavara7279 8 күн бұрын
What's user and Password?
@dosehieu
@dosehieu 8 күн бұрын
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: kzbin.info/www/bejne/paLTf4Suesutlbs
@hnieeffadzli1183
@hnieeffadzli1183 2 ай бұрын
can u do sample with microservice architecture
@dosehieu
@dosehieu 2 ай бұрын
Sure. I will make it soon 😉
@hnieeffadzli1183
@hnieeffadzli1183 2 ай бұрын
@@dosehieu yehaaa cant wait to see
@kmuhanad45
@kmuhanad45 Ай бұрын
Thanks
@dosehieu
@dosehieu Ай бұрын
I just published a new video about this. You can watch it now! 🥰
@trangphan8278
@trangphan8278 2 ай бұрын
@dosehieu
@dosehieu 28 күн бұрын
Thank you
@dosehieu
@dosehieu 28 күн бұрын
Oo
Blazor Radzen DataGrid CRUD - Clean Approach - Pt. 4 DELETE
6:54
code with andre
Рет қаралды 192
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН
Cute kitty gadgets 💛
00:24
TheSoul Music Family
Рет қаралды 22 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 53 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
8 Free and Open Source Blazor UI Libraries
9:42
Claudio Bernasconi
Рет қаралды 39 М.
Learn Blazor: Build an Inventory Management System in .NET 8
2:17:34
Blazor CRUD Operations With Entity Framework Core in .NET 8
1:07:53
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 6 МЛН