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.
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"?
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 ☺☺
@@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.
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. th-cam.com/video/CbDgOlqBvrs/w-d-xo.html
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
Repository is implemented in ef core dbcontext class so creating the repository classes is anti pattern and caused complexity and decreasing performance.
@@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 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
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😊😊
@@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 ?
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. 😊
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 ☺
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 ☺☺
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
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 😊😊
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.
Upvoted ! Your presentation of these topics is great, in particular the Aspire framework ....many thanks 👍
Thank you for watching🥰🥰
Thank you so much, I'm going to continue the second part soon!
Thank you🥰🥰
this demo as very good and excellent, i would say the best on the web.
Thanks for your kind words 🥰🥰
Many thanks for this clearly and very informative sharing. This was exactly what I want. Very good explaining..
Thank you so much 🥰🥰
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.
@@germanjesus214 Welcome! Colombia is a great country. I'm very happy to hear that you find it helpful.😊😊
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"?
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 ☺☺
@@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.
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.
th-cam.com/video/CbDgOlqBvrs/w-d-xo.html
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
🥰🥰
Thank you! I would like the part 2 🙂
Hi @antgod76, Full play list here 🥰🥰th-cam.com/play/PLNn06NGB6PTgymNp3PbptkeZYG5jZCAwK.html
Repository is implemented in ef core dbcontext class so creating the repository classes is anti pattern and caused complexity and decreasing performance.
@@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.😊😊
Hi, thanks for the video, how do you get the console admin page that appears a the beginning ?
@@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
@@dosehieu thanks a lot for the info.
This is fantastic!
@@2005Azm Thank you 🥰
You can make a video explaining how to deploy the application in local IIS.
Great idea! I will make a video about this soon. 🥰😃
It would be great channel ❤
@@kha88kha88 Thanks for your kind words. 🥰🥰
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
Great video.
Can you make a video about how to deploy it using docker ?
Thank you. I will make it soon ☺☺
hey which way u did to connect to sql server seems u in sql server have migration history
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😊😊
@@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 ?
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. 😊
@@dosehieu hey how i can edit or delete a column from sql server or just from model ?
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 ☺
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 😊🥰🥰
i have to APPLY AUTHORIZATION ON THE ACTIONS OF PRODUCT HOW TO DO IT?
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☺☺
@@dosehieu yes please 📿
where is migration class and where i can apply ?
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 ☺☺
can you make more videos like this
Of course! Thank you
can u do sample with microservice architecture
Sure. I will make it soon 😉
@@dosehieu yehaaa cant wait to see
Thanks
I just published a new video about this. You can watch it now! 🥰
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
Your screen text is way too small and you have uploaded the video in 720p - useless.
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 😊😊
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
Thank you
Oo