Hello; I have opened multiple MVC+Postgresql+Tiered projects. Their tasks are:
I want all applications to use the Auth Server for authentication and authorization. I filled in the AuthServer section in appsettings.json in the projects (web and host). I added the relevant project names to the AuthServer openiddict tables. I even disabled DynamicClaims. However, the clients' web applications cannot obtain permissions from the AuthServer.
Is there an article, video, or sample client/server project that explains this topic from the beginning?
The MediatR Library is known for its CQRS pattern, but do you have any suggestions for using the CQRS pattern without using this library?
How much does Abp.io support CQRS?
Is there a method, library or library customization you recommend to use CQRS pattern in Abp project?
(we suggest composing all UIs in the main application, and our tutorials also explain in that way, but you can make some modifications to make your services as independent UI apps)
I will run a test on this, thanks for your response.
Hello; As far as I can see, abp.io has reached a good point in microservices as stated on the website and it is possible to create projects and get support in this architecture. But I could not find any information about SCS projects.
Is it possible to find a solution in abp.io in SCS (Self-Contained System) type projects? Are there any friends who have done it? Is there any documentation on this subject?
Thanks for the response. I solved this problem, but there was a problem with the login process. Although authentication is successful in the login process, redirect_uri is looping in a meaningless way and requests are constantly thrown on the screen. In Firefox I get an unauthorized site screen, in Chrome the request ends with stopped because the url is too long. If I press F5 and refresh the screen, the site comes up correctly.
Unfortunately I couldn't overcome this problem so I reverted back to version 7.4.
I updated my commercial project from 7.4 to 9.1. The multi-tenant system is active. When I try to enter the administration (Angular) panel on the server, it automatically brings “api” to the end of the subdomain name and a subdomain address that I do not have appears and falls into CORS error.
For host tenant: Angular subdomain : xtest Api subdomain : xapitest
Faulty subdomain that the system automatically tries to go to: xtestapi
Is there anywhere I need to change about this after the update?
I guess I didn't express my request clearly and I apologize for that. I have knowledge about concurrency. If I didn't use abp.io, I would know how to avoid this conflict. I wanted to know how abp.io would behave when multiple hangfire workers are running at the same time, if the dbcontext in the hangfire workers has unitofwork instances created there. I would even like to know how you proceeded if you have dealt with such a development before.
I guess I will test this and find out.
Thank you liangshiwei for your attention and help.
I want to learn that if I run one more background worker of hangfire in ABP.IO and create new Scope instance there. If I create my UnitOfWorkManager and DomainService instances from that scope, can I avoid dbcontext concurrency conflict?
First of all, thank you for your answers.
To avoid this type of conflict in .NET forms, it is recommended to create different instances of dbcontext. It is said that there may be a concurrency problem with the same dbcontext.
If you have an abp.io project and you are using hangfire background workers that use dbcontext (maybe with different tables), what kind of coding would you do ? Is there an example ? How can I provide this safely in the hangfire module in ABP.IO ?