Activities of "cunyong.yu@vskysoft.com"

Can you provide me with a demo? Thank you!

The documentation for abp states that you call the interface on the Blazor page. I followed the documentation, but if this is incorrect, how do I call the api?

In this case, can I only fill in the user information in the Blazor project and then pass it to the interface?

I'm very sorry for missing it again. It has been sent to you via email.

I'm very sorry, I missed a decryption file. I have sent it to you via email.

  1. Start the "AuthenServer", "HttpApi. Host", and "Blazor. Server. Host" services.
  2. Log in to the 'admin' user on the page.
  3. Open the homepage of UserInfoDemo.
  4. Break the point in the GetAsync method of 'SampleAppService' to view details of _currentUser. Why there is no login user information in currentUser, or is there any other way to obtain it here.

hi I have sent the demo to your email.

I started the "AuthenServer", "HttpApi. Host", and "Blazor. Server. Host" services. Then log in to the 'admin' user on the page. “Blazor. Server. Host" calls the interface through "HttpApi. Client": Unable to obtain the current logged in user information in the interface. How can I obtain the logged in user information for calling the interface? If you need debugging, how can I send you the demo project?

I created a module project, defined an interface in the“ Application. Contracts” project, implemented this interface in the” Application” and ”Controller” projects, and used the command ”abp generate proxy - t csharp - url' in the HttpApi. Client project http://localhost:44313 -M WorkCalendar -- without contracts "generated the proxy code, and then I referenced this proxy in ”Blazor. Server. Host ”and started the ”Blazor. Server. Host” and ”HttpApi. Host” projects. At this time, the ”CurrentUser” information obtained from the services in the Application project is null, and the services inherit IApplicationService and ITransientDependency interfaces, How can I obtain information about Blazor login users from the services in the Application project?

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info:

  • ABP Framework version: v7.2.2
  • UI Type: Blazor Server
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

hi

Configure<HubOptions>(options => 
{ 
    options.DisableImplicitFromServicesParameters = true; 
}); 

https://github.com/dotnet/aspnetcore/issues/38842#issuecomment-1342540950

The error has been resolved, thank you.

Showing 1 to 10 of 22 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11