Activities of "ccernat"

hi

[11:06:49 FTL] Host terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
 ---> System.ArgumentNullException: Value cannot be null. (Parameter 'uriString')
   at System.ArgumentNullException.Throw(String paramName)
   at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
   at System.Uri..ctor(String uriString)
   at KPImailerHella.Blazor.KPImailerHellaBlazorModule.<>c__DisplayClass0_0.<PreConfigureServices>b__3(OpenIddictServerBuilder builder) in C:\Users\catal\source\repos\Relevance-Management\KPImailerHella\src\KPImailerHella.Blazor\KPImailerHellaBlazorModule.cs:line 135
   at Volo.Abp.Options.PreConfigureActionList`1.Configure(TOptions options)
   at Microsoft.Extensions.DependencyInjection.ServiceCollectionPreConfigureExtensions.ExecutePreConfiguredActions[TOptions](IServiceCollection services, TOptions options)
   at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.&lt;&gt;c__DisplayClass1_0.&lt;AddOpenIddictServer&gt;b__0(OpenIddictServerBuilder builder)
   at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action`1 configuration)
   at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.AddOpenIddictServer(IServiceCollection services)
   at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.ConfigureServices(ServiceConfigurationContext context)
   at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
   at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
   --- End of inner exception stack trace ---
   at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
   at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
   at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action`1 optionsAction)
   at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)

hi

tks alot.

is there any insight in the other error described when publishing the app and then running the exe?

Hi, Support Team!

I upgraded the Blazor server solution to 7.2.2 and I get this error:

If I press reload, application loads OK. I log in, same error, then Reload, application loads OK.

The only difference from a standard template is that I have added the module Volo.Account.Pro, not as package.

Can you spot what could be wrong?

Also, when I published the app, folder profile, when I try to start it from the console I get:

Tks.

Hi.

So if you have an Azure DevOps environment.

  1. Publish your artifacts in a pipeline: restore, build, publish web app, publish DbMigrator, publish artifacts

  1. Create a release pipeline and add two stages: one for executing the migration, other for deploying the web apps.

  1. The migration stage depends on where you keen your conn string, I keep them in Azure Key Vault, so I am retrieving them from there:

3.1 Extract the files

3.2 Retrieve what you need from KeyVault:

3.3 Set variable for the current release task to hold the connection string from KeyVaul:

3.4 Update appsettings.json for the migrator project with a file transform task

3.5 Run the migrator

  1. Deploy Web Apps - im deploying them to slots

Another method for publishing your migrations would be to generate the migration scripts and run them in the release pipeline.

Hope this helps!

Catalin

It works now.

Tks.

hi,

new blazor server app template, leptonx theme. switch menu to top-menu. replace account packages with source code. run it.

i think you will get this even without replacing packages with source code for the Volo.Account.Pro module.

tks.

  • ABP Framework version: v7.1.1
  • UI type: Blazor Server
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue: New Blazor server app template, run it. Login as admin, see in the user menu two entries with my account, each of them navigating to different page, also not respecting the top menu layout, going directly into side menu."

Clicking on the first MyAccount:

Clicking on the second MyAccount:

Mention here: this MyAccount is completely different from the first one in terms of layour, no profile picture, etc etc

Tks alot!

Hello, no. I mean Microsoft Standard Blazor Server template. :) Sorry of the confusing abbreviation.

Hi, Support Team!

I have a Blazor Server ABP template solution, latest version.

I want to add to this solution another Blazor server application, a standard MS template for Blazor server.

Can you help us with some steps in order to have the new Blazor server project access the Application layer of the ABP template one?

Like: what minimal modules to we need to have the standard MS Blazor template be able to "communicate" with API, what do we have to seed in OpenIdDictApplication table, what changes in appsettings.json of the DbMigrator, or appsettings.json of the new Blazor server project, etc.

Basically all we need is the new Blazor project to just be able to authenticate and access the Application layer of the ABP one.

Thank you very much for your guidance!

Catalin

Showing 21 to 30 of 89 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13