Closed Rhywden closed 2 years ago
using Fluxor;
builder.Services.AddFluxor(opt =>
{
opt.ScanAssemblies(typeof(Program).Assembly); //This is what you are basically asking for
opt.ScanAssemblies(typeof(GetAllAssociationsAction).Assembly); // one of the external assemblies I have on my app
opt.ScanAssemblies(typeof(GetUserByAzureIdAction).Assembly); // another external assemblies I have on my app
opt.UseRouting();
opt.UseReduxDevTools();
});
I'm very much obliged, thank you very much!
I'm very much obliged, thank you very much!
You are welcome.
Happy Fluxoring..! Happy Coding..! <3
The documentation states that you should do this:
However, with .NET6 the
program.cs
default page looks a bit different. There's noStartup
anymore. Basically looks like this now:So, what am I supposed to use now for the assembly scan?