Hi @ismcagdas
we are focus on release new version of our app and now we return to move forward our solution.
We have cretated a new module, very simple and start to integrate two solution ANZ and ABP Commercial module. So if I correct understed your suggestion we need to:
My question is is not best case use ABP.IO for Identiy and ANZ client?
Hi
releted to point 2 it's happen when swith from different deply (es. prod, quality, dev) you can use an InPrivate session and it's gone.
ANZ 7.1.0 & ANZ 10.5
I try to use multi tenancy routing by name and customize my base url to default tenant and host.mydomain.io to host but somenthing not work on main call from angular.
I follow this suggestion Access host side with hostdomaincom
I set up my local pc where i put some rule on hosts file to ruote traffic for
api.mydomain.com app.mydomain.com deafult.app.mydomain.com deafult.api.mydomain.com
I set on API side my config file in this way
"ServerRootAddress": "http://{TENANCY_NAME}.api.mydomain.com:5000/",
"ClientRootAddress": "http://{TENANCY_NAME}.mydomain.com:4200/",
"CorsOrigins": "http://*.mydomain.com:4200,http://localhost:4200,http://localhost:49152,http://localhost:5000,http://localhost:9876,http://localhost:9877",
and if I try to open http://api.mydomain.com:5000 or http://default.api.mydomain.com:5000 the web reply and I'm able to connect. I need to add this row to Program.cs on web.Host to allow IIS to replay on my real IP and not only to localhost
.UseIISIntegration()
.UseUrls("http://192.168.1.21:5000") //-->>>TO DEBUG ON Local
.UseStartup<Startup>();
<br> From angular side I get this error
On 10.5 angular call first time and get an error so it retry on 7.1 no call 1 time and broken it. Is it normal that getall not replay first time?
Hi @ismcagdas
great to hear can anyone support me for APB.IO commercial I try to reach support many time to give the first year license whithout success.
Hi
I look to ABP.IO Commercial for next upgrade on our solition based on ANZ because we need some options based on MongoDb. Our solution is not very simple to move in one single step to ABP.IO for this reason I need to invastigate if it's possibile to start some service on ABP.IO and step by step move other.
I check if we can share the same database but I think is not possibile beacuse now the defualt id is GUID and on ANZ is int. So I read the documentation on ABP.IO and, if I correct undestand, I can use ANZ site for autentication and use ABP.IO like a separate service in that way I can share DB or not it's not blocking (my idea / goal could be some microservice that use ANZ solution for autentication)
I terms of license can we have some support during this transition phase (I work on ANZ since ver 0.7)
Any idea o support is appreciated.
Regards
I found a solution
Move on start program Log stiatic definition and use generic logFactory to inject on Abp
Abp 4.8.1
Hi I've a console application that works on ABP + HangFire.
on Program.cs I've
var host = Host.CreateDefaultBuilder(args);
host.ConfigureAppConfiguration(
(hostContext, config) =>
{
config.SetBasePath(Directory.GetCurrentDirectory());
config.AddJsonFile("appsettings.json", false, true);
}
);
host.ConfigureLogging(
loggingBuilder =>
{
loggingBuilder.ClearProviders();
var configuration = new ConfigurationBuilder()
.AddJsonFile("appsettings.json", false, true)
.AddEnvironmentVariables()
.Build();
var loggerConfig = new LoggerConfiguration()
.ReadFrom.Configuration(configuration);
var logger = loggerConfig.CreateLogger();
loggingBuilder.AddSerilog(logger, dispose: true);
}
);
So I see that HangFire logs work beacuse HF internlly search the logger provider how can I tell to ABP to use my log model?
Hi @ivanosw1ha
colud please share more details about this solution? So if I correct undestand you have create an IS that is the main authentication point for ABP and other services (have you create it from scratch?), change abp login method to use external IS (are you on MVC or Angular?) like a third party authenticator (es. FB, google, M365).
Thanks
I found an intresting article https://www.thereformedprogrammer.net/a-better-way-to-handle-authorization-in-asp-net-core/
Hi
I try to find a best way to implement this pattern. User Role + Data Segregation.
Suppose to have an entity invoice with IMustHaveCompany and Company entity.
My Goal is to create an access level for user to have specific function on single company
USER_A -> Admin Company 1 USER_B -> User Company 1
USER_A -> User Company_2 USER_B -> Admin Company_2
but if you ad another level like sales organization
| Company A |--| Sales Org 1 |--| Sales Org 2 | Company B |--| Sales Org 3 |--| Sales Org 4
we have more complex situation
How is the best way to implement this pattern?
The actual sales organization implementation is not able to do that. If I set my entity with OuOrganizationId (0001.0001 and roles) I cann't assinge a user role in organization unit....