IntentArchitect / Support

A repository dedicated to handling issues and support queries
3 stars 0 forks source link

Minimal hosting model - Multitenancy #82

Closed shainegordon closed 9 months ago

shainegordon commented 10 months ago

What happened?

When you add multi-tenancy to an application with "Use minimal hosting model", the Program.cs file is modified incorrectly.

Steps to reproduce:

See the images to see what happens

image image

What's expected:

builder.Services.ConfigureMultiTenancy(builder.Configuration); should be AFTER var builder = WebApplication.CreateBuilder(args);

app.UseMultiTenancy(); should be AFTER app.UseRouting();

The module code in development looks correct, so something is afoot

What version of Intent Architect are you using?

4.1.0.beta-16

Additional information

No response

dandrejvv commented 10 months ago

Good day @shainegordon. Thank you for raising this, we'll log this and have a look and get back to you. Apologies for the late reply.

joelsteventurner commented 9 months ago

Hi @shainegordon

I have a pre-release fix out for this issue which you are welcome to try out.

Intent.Modules.AspNetCore.MultiTenancy v5.1.1-pre.2

Let me know if this resolves the issue.

shainegordon commented 9 months ago

Hi @shainegordon

I have a pre-release fix out for this issue which you are welcome to try out.

Intent.Modules.AspNetCore.MultiTenancy v5.1.1-pre.2

Let me know if this resolves the issue.

Great, that seems to have done the trick