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?
Hi,
I think the problem is you are using the webapp template but change the mode to Interactiveserver
, so there will be some unexpected problems.
I made some changes(sorry for take too long time, because the network latency is very high), but I'm not sure it will work, you can get a try and back to me.
There is the link https://us05web.zoom.us/j/5929668302?pwd=UXl2M2RUeG5PazVSY2ZCOW1NMUxtZz09
We could try at 12pm my time , 1:30pm your time if that works? This only occurs in a production environment, locally everything is fine. May be helpful to run through the code though to see if there is anything obvious that could be causing this.
okay, no problem