أنشطة "ididsbury"

إجابة

Hi,

Further to the above. I've created a new MVC solution is abp suite. I seem to have the same issues. However, I also get an unhandled exception when navigating to the dashboard. See attached.

Note also that I've created a new entity using abp suite. I'm able to successfully post via the Swagger UI have the get api throws an exception. It doesn't seem to be a database / connection issue or an issue related to the commercial modules.

Any help appreciated.

إجابة

I found the problem. The issue was caused as I had installed the database on SQLExpress server. Everything works fine on MSSQL server.

إجابة

Hi,

Thanks for the above. I'm still strugglling to piece together how openid connect can be utilised with the dynamic http proxies. Do you have a c# sample?

i've looked at the sample console client in inhttps://github.com/abpframework/abp/blob/dev/samples/MicroserviceDemo/applications/ConsoleClientDemo/ClientDemoService.cs.

However, this seems to use a different authenication process. Can you please explain how OpenID connect can be used to login such that subsequent calls using the dynamic proxies to not fail (user not logged in). Do I need to update the underlaying HTTP client headers with the token recieved from OpenID connect?

I suspect I'm missing something simple or my understanding of the authentication process is flawed.

Any help greatly appreciated.

Thanks

Isn

إجابة

Thanks for the excellent response. Much appreciated.

إجابة

Hi,

Agreed. It seems straightforward. I was aware of the sample. It is similar to the ConsoleTestApp generated above. In my WPF app, I have the following:

        using (var application = AbpApplicationFactory.Create<DesktopClientModule>()) {
            application.Initialize();

            var helloWorldService = application.ServiceProvider.GetService<HelloWorldService>();
            helloWorldService.SayHello();
            
            application.Shutdown();
        }

Once application.Initialize() is called the application immediately exits with code -42 (the hello world service is not executed). The exact same code in the ConsoleTestApp will result in the attached written to the console once application.Initialize() is called however the application will continue to run and the hello world service is executed.

Could this be a bug? It seems that one of the core modules is calling application shutdown on initialisation. Could this be license related (I've had a few issues with reseting licenses) i.e. an application shutdown is called if a license check fails?

Appreciate any help.

Thanks

Ian

إجابة

Hi,

Further to the above, I've created a new test WPF desktop client using the ABP framework (non commercial version) start-up template (Acme.BookStore). This works as expected so the shutdown issue most be licence related in the commercial version or an issue with one of the commercial modules.

Can you please advise remedial actions.

Thanks

Ian

إجابة

Perfect. That solved it! Thanks for the support.

إجابة

See Entity Action doc.

إجابة

Hi,

I want to achieve something like this Page Toolbar but, say, on the home page in the startup tenplate.

The theme seems to adds a top row to each page. This row includes the title and breadcrumb on the left and the toolbar area / div on the right. I can't seem to work out how to add a button to the toolbar.

إجابة

Note that I've tried to add a button to the home page as per the above link however it doesn't add the button. A button is correctly added though for pre-built pages i.e. User page.

If a Page 'content' toolbar does not exist (even through there is space reserved), can you confirm how to remove the top row / component from the AbpPage in the theme such that i can add my own.

Thanks

عرض 1 الي 10 من 22 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11