steven preadly
steven preadly
Explore posts from servers
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Use() Extension Overload
any ways the recommended by the docs is to use the one that takes the HttpContext and a RequestDelegate , and thank you
7 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Use() Extension Overload
this are memory stuff and GC
7 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Use() Extension Overload
what dose this means perf
7 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
is it hard to pass the dependancies to the convinional middlewear
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
ok thank you very much
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
dose this means that i should learn only the facory based ?
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
yes i am still learning both of them
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
when middleware implements the IMiddlewear it used the IMiddlewearFacory interface to create an instance of the middleware and IMiddlewearFacory itself is registerd as a scoped sevice in the DI What makes it easy to inject scoped service in the middlewear that implements the IMiddlewear
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
while the IMiddleWear is can be registerd as transiant or scoped
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
IMiddlewearFactory is registers as a scoped
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
i have two interfaces IMiddlewear and IMiddlewearFactory
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
then i use this middlewear in the program.cs i added it as a transiant while it is already registred as a scoped how come this happiens
25 replies
CC#
Created by steven preadly on 8/15/2024 in #help
✅ Factory-based middleware activation in asp.net core
Activation per client request (injection of scoped services)
25 replies
CC#
Created by steven preadly on 8/10/2024 in #help
✅ ASP.NET Core: Confusion with builder.Services.AddTransient() and App Lifetime Management
I have another question what should I know about the builder and app for not wasting my time exploring things that I will not use
13 replies
CC#
Created by steven preadly on 8/10/2024 in #help
✅ ASP.NET Core: Confusion with builder.Services.AddTransient() and App Lifetime Management
So that's why configurations are done at the builder level as an example configuration of new middlewears correct
13 replies
CC#
Created by steven preadly on 8/10/2024 in #help
✅ ASP.NET Core: Confusion with builder.Services.AddTransient() and App Lifetime Management
no that was just an example what matters for me why all of the configration etc not being done only on the app level
13 replies
CC#
Created by steven preadly on 8/10/2024 in #help
✅ ASP.NET Core: Confusion with builder.Services.AddTransient() and App Lifetime Management
i will read it and we can continue talking when you are available , thank you
13 replies
CC#
Created by steven preadly on 8/10/2024 in #help
✅ ASP.NET Core: Confusion with builder.Services.AddTransient() and App Lifetime Management
yes i understand this part but there are some things that can be done only on the builder level while it cant be done on the app level like including a custom middleware class as a transient
13 replies
CC#
Created by steven preadly on 8/10/2024 in #help
✅ Extension Methods
ok thank you all
8 replies