Activities of "liangshiwei"

Hi,

We do not provide the option to use Azure B2C, you can try to integrate it first.

Hi,

ABP template just an ASPNET Core application, you check the azure bc2 document first: https://docs.microsoft.com/en-us/azure/active-directory-b2c/

Hi,

You can check: https://community.abp.io/articles/using-devexpress-blazor-ui-components-with-the-abp-framework-wrpoa8rw

Hi,

The second way is the best.

The other thing is that the OnLocationChanged method seems to only be called when going to the home page, but not when going to any other page.

Sorry , I didn't get it.

Hi,

You can try use ReplaceDbContext.

See, you should use IIdentityProDbContext:

https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.EntityFrameworkCore/EntityFrameworkCore/MyProjectNameDbContext.cs

Hi,

By default, we do not output SQL logs.

You can try to change the log level to the warning:

Also , can you share the steps? it may a problem, we should fix it if so.

Hi,

You can try:

(await GetDbContextAsync()).Users

Hi,

We used distributed events: https://docs.abp.io/en/abp/latest/Distributed-Event-Bus

You can check it: https://github.com/abpframework/abp/blob/dev/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Users/BlogUserSynchronizer.cs

Hi

how can you get it? or product name?

https://github.com/abpframework/abp/blob/dev/modules/blogging/src/Volo.Blogging.Domain/Volo/Blogging/Users/BlogUser.cs

This is what we did, we have redundant user data in the blog module and synchronize data using distributed events.

If you just want to get the product, you can try:

public class BlogProductController : //....
{
  private readonly IProductionAppService _productAppService;  // dynamic Http Api proxy
  
  public BlogProductController(//....)
   
  public async Task<Product> GetProductByName(string productName)
  {
     // will send a http request to product module.
     return await _productAppService.GetProductByName(productName)
  }
}
Showing 4741 to 4750 of 6019 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56