Тёмный

C# Tutorial - Repository Pattern C# Dependency Injection with Autofac | FoxLearn 

Fox Learn
Подписаться 95 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@TurntableTV
@TurntableTV 3 года назад
Hey, Fox Learn! Thank you for the insightful videos! I do have one suggestion: please make a series with a real-world project in which we can use these technologies.
@foxlearn
@foxlearn 3 года назад
OK. Thank you for your suggestion. I'll upload soon !
@mzolamelikhaya2670
@mzolamelikhaya2670 3 года назад
I agree man. I really hope they upload it.
@mzolamelikhaya2670
@mzolamelikhaya2670 3 года назад
This video was very helpful to me. Thank you Fox Learn. Your videos are always so helpful
@shandysawyer
@shandysawyer 2 года назад
The main problem with this example is Form1 itself is not being resolved by Autofac even though you're registering it. The comment "apply form1" where the form is registered makes no sense. You should instead have the container resolve the form1 itself and then left Autofac resolve the rest of the dependency chain for you (i.e. IProductRepository).
@Brofbrofs
@Brofbrofs 3 года назад
Hello there, I really enjoy you content and your videos have been helpful a ton. However I have a video Suggestion/Question, can you please make a video about adding record with foreign keys.
@asif7127
@asif7127 3 года назад
I always use unity container for dependency.is there any benefit over it
@foxlearn
@foxlearn 3 года назад
Thank you !
@juanlopez6557
@juanlopez6557 3 года назад
Cool!!, very good, Happy New Year, and Merry Christmas from Spain.....
@foxlearn
@foxlearn 3 года назад
You too. Thank you so much !
@knowledgeispower2937
@knowledgeispower2937 3 года назад
hello, Using C# xamarin for Android Application. What is the best why to read & write to Windows shared folder & file.
@foxlearn
@foxlearn 3 года назад
Thank you for your suggestion. Let me try to research
@clidton
@clidton 3 года назад
okay so we don't need to create object again and again for calling functions if i have 50 repositor objects where i do inject them in program.cs?
@clidton
@clidton 3 года назад
like products,category,employee,offers, etc etc i have 50 classes/sql tables
@foxlearn
@foxlearn 3 года назад
Yes, You can configure in program class or config in app.config file
@clidton
@clidton 3 года назад
@@foxlearn thanks for reply app.config how?
@grimpowsify
@grimpowsify Год назад
dont understand why you dont do a "Application.Run(Container.Resolve())" instead of creating new Form1 and pass it the dependency, cose here there is no use of automatic dependency injection, example if your form1 now use another requirement like "SellerRepository" you also have to add it in the new Form1 instanciation as well...
@CarlosEnriqueHuamanSegovia
@CarlosEnriqueHuamanSegovia 3 года назад
Thank you. Genial!!!!
@swerytv4342
@swerytv4342 3 года назад
thanks
@foxlearn
@foxlearn 3 года назад
You're welcome! Thank you !
@ralofpatel470
@ralofpatel470 3 года назад
Don't why you have to do dotnet restore everytime
@foxlearn
@foxlearn 3 года назад
Because the project error
@TheBausahab
@TheBausahab 3 года назад
fluently...
@foxlearn
@foxlearn 3 года назад
Thank you !
Далее
Dependency Injection, The Best Pattern
13:16
Просмотров 850 тыс.
Outsmarted 😂
00:20
Просмотров 2,7 млн
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
Просмотров 1,4 млн
Dependency Injection in .NET Core (.NET 6)
1:00:32
Просмотров 192 тыс.
What is Dependency Injection in .NET?
7:31
Просмотров 25 тыс.
Repository Pattern
11:08
Просмотров 68 тыс.
Dependency Injection in C# using Autofac
11:13
Просмотров 49 тыс.
C# Dependency Injection with Autofac
54:45
Просмотров 296 тыс.
Dependency Injection
45:17
Просмотров 147 тыс.