I think the major issue has been resolved. can you create a new issue for your new problem.
all the existing ABP modules will automatically be updated but for your custom code, you still need to do that.
also you can execute abp.appPath = '~/'
or abp.appPath = /your-directory-name/
in a global javascript file.
you cannot make a navigation property to a remote service entity.
it violates the module's best practises.
each module has its own entities which should not be independant to another module entity.
if you need such requirement, you should duplicate the entity in your module.
eg:
I have abp.io websites and I have support.abp.io website and imagine these are 2 different modules. each are hosted on different servers with different databases. I have users in abp.io website's database and I want that users in support.abp.io. The solution is; creating a new entity SupportUser
in support.abp.io and sync it with distributed events. whenever a new user is created on abp.io then an event should be published to support.abp.io to create the same user there.
this is not a framework limitation but it's an architecure issue.
normally you should be using Suite. but you need to change the templates
I'll discuss this request with the team. we need to think if there's a drawback of this operation.
done https://github.com/abpframework/abp/commit/b1b9af0656216e39fe9d62420250d3fc00a47735
sorry I couldn't read the history but how about writing a setInterval
method for 30 mins on the client which makes a request to refresh the token at 29:50:00. if the user has closed the browser than it'll not work and the token will expire in the specified time.
I think you need to reference your Application.Contracts
project to your Host
or Web
project. Because PermissionDefinitionProvider.cs
is in the Contracts project.
Hi,
Let's write an example code for AggregateAsync
and Aggregate
.
Is this what you do when you don't have a GetMongoQueryableAsync()
?
If yes, show me what's the final method signature of GetMongoQueryableAsync()
public class MongoCellPhoneRepository : MongoDbRepository<Moongo03295343MongoDbContext, CellPhone, Guid>,
ICellPhoneRepository
{
public MongoCellPhoneRepository(IMongoDbContextProvider<Moongo03295343MongoDbContext> dbContextProvider)
: base(dbContextProvider)
{
}
public async Task<List<CellPhone>> GetListAsync(CancellationToken cancellationToken = default)
{
var dbContext = await GetDbContextAsync(cancellationToken);
var aggregateFluent = dbContext.CellPhones.Aggregate(new AggregateOptions
{
Collation = new Collation("tr")
});
var asyncCursor = await dbContext.CellPhones.AggregateAsync(
new EmptyPipelineDefinition<CellPhone>(), new AggregateOptions
{
Collation = new Collation("tr")
}, cancellationToken);
}
}
do you want to use an entity from another microservice as a navigation property?