Activities of "liangshiwei"

They are not gone, they just compressed

Hi,

How do we accomplish this within one microsercie without having to make service to service api calls?

You have to add the EntityFrameworkCore project reference and module dependencies then add db connection strings to appsettings.json. this way you can inject the Repository to get data.

Hi,

Thanks, we fixed the problem. your ticket was refunded.

okay

Hi,

I think you are using the new microservice template; It is a simpler template without many layers.

It's kind of like a single layer application template, you can put all(service, entity, repository etc..) into one layer. see https://abp.io/docs/latest/tutorials/todo/single-layer?UI=BlazorServer&DB=EF

Hi,

Can you add the following code and re-deploy project and share the result.

public partial class Index
{
    [Inject]
    public IAbpAccessTokenProvider AbpAccessTokenProvider { get; set; }

    [Inject]
    public IRemoteServiceHttpClientAuthenticator ServiceHttpClientAuthenticator { get; set; }

    public string Token { get; set; }

    protected async override Task OnInitializedAsync()
    {

        Token = await AbpAccessTokenProvider.GetTokenAsync();

    }
}
<h3>AccessTokenProvder Type is : @AbpAccessTokenProvider.GetType().FullName</h3>

<h3>ServiceHttpClientAuthenticator Type is @ServiceHttpClientAuthenticator.GetType().FullName</h3>

<h3>Current token @Token</h3>

Hi,

I think this is a new question, could you please create a new ticket? thanks.

Hi,

You can try change Interactiveserver to InteractiveAuto to temporarily solve this problem. Or create a new same name project with BlazorServer UI to replace your existing project and copy your code.

I will keep researching this problem.

shiwei.liang@volosoft.com

Hi,

Can you share an admin account/password with me?

Showing 931 to 940 of 6693 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.