Activities of "AlderCove"

Thank you for the tip.

I updated the CLI and SUITE to 5.0.2 and I am unable to build my solution, due to missing framework packages.

C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core>dotnet restore Determining projects to restore... Restored C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.DbMigrator\Acs.Cts.Portal.DbMigrator.csproj (in 13.75 sec). Restored C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Web.Public\Acs.Cts.Portal.Web.Public.csproj (in 17.79 sec). C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : warning NU1603: Acs.Cts.Portal.Application depends on Volo.Abp.Account.Pro.Admin.Application (>= 5.0.2) but Volo.Abp.Account.Pro.Admin.Application 5.0.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application 5.1.1 was resolved. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : error NU1605: Detected package downgrade: Volo.Abp.Identity.Pro.Application from 5.1.1 to 5.0.2. Reference the package directly from the project to select a different version. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : error NU1605: Acs.Cts.Portal.Application -> Volo.Abp.Account.Pro.Admin.Application 5.1.1 -> Volo.Abp.Account.Pro.Shared.Application 5.1.1 -> Volo.Abp.Identity.Pro.Application (>= 5.1.1) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : error NU1605: Acs.Cts.Portal.Application -> Volo.Abp.Identity.Pro.Application (>= 5.0.2) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] Failed to restore C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj (in 19.01 sec). C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : warning NU1603: Acs.Cts.Portal.Application depends on Volo.Abp.Account.Pro.Admin.Application (>= 5.0.2) but Volo.Abp.Account.Pro.Admin.Application 5.0.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application 5.1.1 was resolved. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : error NU1605: Detected package downgrade: Volo.Abp.Identity.Pro.Application from 5.1.1 to 5.0.2. Reference the package directly from the project to select a different version. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : error NU1605: Acs.Cts.Portal.Application.Tests -> Acs.Cts.Portal.Application -> Volo.Abp.Account.Pro.Admin.Application 5.1.1 -> Volo.Abp.Account.Pro.Shared.Application 5.1.1 -> Volo.Abp.Identity.Pro.Application (>= 5.1.1) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : error NU1605: Acs.Cts.Portal.Application.Tests -> Acs.Cts.Portal.Application -> Volo.Abp.Identity.Pro.Application (>= 5.0.2) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] Failed to restore C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj (in 25.11 sec). C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : warning NU1603: Acs.Cts.Portal.Application depends on Volo.Abp.Account.Pro.Admin.Application (>= 5.0.2) but Volo.Abp.Account.Pro.Admin.Application 5.0.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application 5.1.1 was resolved. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : error NU1605: Detected package downgrade: Volo.Abp.Identity.Pro.Application from 5.1.1 to 5.0.2. Reference the package directly from the project to select a different version. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : error NU1605: Acs.Cts.Portal.HttpApi.Host -> Acs.Cts.Portal.Application -> Volo.Abp.Account.Pro.Admin.Application 5.1.1 -> Volo.Abp.Account.Pro.Shared.Application 5.1.1 -> Volo.Abp.Identity.Pro.Application (>= 5.1.1) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : error NU1605: Acs.Cts.Portal.HttpApi.Host -> Acs.Cts.Portal.Application -> Volo.Abp.Identity.Pro.Application (>= 5.0.2) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] Failed to restore C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj (in 28.23 sec). 12 of 17 projects are up-to-date for restore.

I manually updated the project references from 5.0.0 to 5.0.2, as it appears that the abp update command updates to the latest version, rather than the installed version of the cli and suite, which seems counterintuitive.

Is there a command that can update to a specified version?

Thanks

I was able to create a version 5.0.0 project using the CLI:

abp new MyApp -t app-pro --version 5.0.0 --ui mvc --tiered

Is ABP Suite working as intended or is this a bug?

Thanks

  • ABP Framework version: v5.1.1 & 5.1.2
  • UI type: Angular / MVC / Blazor
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
    • Steps to reproduce the issue:"

I am having issues with version 5.1 of the framework and these issues are causing delays in our project. Consequently, I am trying to revert to 5.0.0 and I am experiencing difficulties in doing that.

I need to baseline the generated project using v5.0.0 to manually compare the code with our v5.1.2 version and revert the code.

I uninstalled abp cli and suite: dotnet tool uninstall --global Volo.Abp.Suite dotnet tool uninstall --global Volo.Abp.Cli

I then reinstalled v5.0.0: dotnet tool install -g volo.abp.cli --version 5.0.0 dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/XXXXXXXXXXX/v3/index.json --version 5.0.0 abp login XXXXX --organization XXXXXX -p XXXXXX

Console:

When I start abp suite, it indicates 5.0.0:

When I create a new solution, abp suite creates it as 5.1.2:

Package references are all 5.1.2:

I am under the impression that installing specific versions of the cli & suite will generate based on that version template?

Can you please help get me back to 5.0.0?

Thanks Jamie

Question

Check the samples, to seea the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to yoaur question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:

  • Steps to reproduce the issue:"

Create a new application using ABP suite, add docker support and try to build the image from the command line (docker build -f ./src/TestDocker.Web/Dockerfile . -t testdocker512:latest)

Dockerfile

The NuGet.Config has an entry for ABP Commercial with the API key.

This was working for me prior to updating to 5.1.1 and 5.1.2.

Thanks.

That fixed the problem, but is this a bug and should the script contributor be automatically configured by way of my Web module having a dependency on the ChatWebModule?

Or, is this the typical approach for making the module scripts available in the Web projects?

  • ABP Framework version: v5.1.1 & 5.1.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:

jquery.js?_v=637774598147390000:4059 Uncaught TypeError: Cannot read properties of undefined (reading 'users') at HTMLDocument. (chatMessageReceiving…2743500000000:12:31) at mightThrow (jquery.js?_v=637774598147390000:3766:29) at process (jquery.js?_v=637774598147390000:3834:12)

  • Steps to reproduce the issue:"
  1. Create a new application
  2. Add the Chat module
  3. run the application
  4. enable Chat feature
  5. open developer tools
  6. refresh the page
  7. view the developer tools console

  • ABP Framework version: v5.1.1
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Please help me to understand the Dynamic JavaScript API Client Proxies, the architecture a little better and that I am taking the correct steps for accessing the proxies from the Web application.

In order to access module proxy scripts from the Web project, I did the following:

  1. Started the application
  2. Navigated to the HttpApi.Client folder
  3. Generate the client proxies (abp generate-proxy -t csharp -m fileManagement -url https://localhost:44308/)

I notice though that all of these proxy scripts are available from the HttpApi (https://localhost:44308/Abp/ServiceProxyScript) project and wonder why the Web project doesn't utilize the HttpApi scripts directly?

I also noticed that some of the framework modules are available already in the HttpApi.Client (abp, cms-kit and cms-kit-pro module), while some of the other ones I am using are not.

Thanks - appreciate the help.

Answer

ABP Version 5.1.1

  • MVC with public website and tiered identity server
  • EF Core
  • Steps needed to reproduce the problem:
  1. Create a new MVC solution with abp suite
  2. Run migrations
  3. Run the app

The profile picture does not seem to be working properly. It shows properly on the account page, but not in the web or public web applications. Doesn't make a difference if changing to Avatar/Gravatar or uploaded file, still shows:

Error in the browser on get of the picture:

With an Id that corresponds with the Admin user Id:

thank you

  • ABP Framework version: v4.4.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hi

I'm trying to get my solution running locally in docker and having an issue with the authorization.

When I try to authorize:

I think this is likely an issue with configuration in the appsettings.json or docker-compose.yml files but I need some help.

appsettings.json { "App": { "SelfUrl": "https://localhost:44360", "AngularUrl": "http://localhost:4200", "CorsOrigins": "https://.Portal.com,http://localhost:4200", "RedirectAllowedUrls": "http://localhost:4200,https://localhost:44307,http://localhost:8080" }, "Redis": { "Configuration": "127.0.0.1" }, "ConnectionStrings": { "Default": "Server=host.docker.internal; Database=CTSDb; User=docker; Password=dockertime; Max Pool Size=400;" }, "AuthServer": { "Authority": "https://localhost:44360", "RequireHttpsMetadata": "false", "SwaggerClientId": "Portal_Swagger", "SwaggerClientSecret": "1q2w3e" }, "StringEncryption": { "DefaultPassPhrase": "6MynJDJ1sxdTgSZD" }, "Settings": { "Volo.Abp.LeptonTheme.Style": "Style6", "Volo.Abp.LeptonTheme.Layout.MenuPlacement": "Left", "Volo.Abp.LeptonTheme.Layout.MenuStatus": "AlwaysOpened", "Volo.Abp.LeptonTheme.Layout.Boxed": "False" }, "Logging": { "LogLevel": { "Default": "Information", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information" } }, "HealthChecksUI": { "HealthChecks": [ { "Name": "Portal Health Status AppSettings Config", "Uri": "http://localhost:80/health-status" } ], "EvaluationTimeOnSeconds": 10, "MinimumSecondsBetweenFailureNotifications": 60 } }

docker-compose.yml:

version: '3.8'

services: portal_web_svr: container_name: portal_web_dev
image: aldercovempn.azurecr.io/acs/portal_web_dev networks: - cts_portal_network volumes: - ./default.conf:/etc/nginx/conf.d/default.conf:z ports: - "4200:4200" depends_on: - portal_api_svr

portal_api_svr: container_name: portal_api_dev image: aldercovempn.azurecr.io/acs/portal_api_dev networks: - cts_portal_network environment: - ASPNETCORE_ENVIRONMENT=Production - ConnectionStrings__Default=Server=host.docker.internal;Database=Acs_Portal;User id=docker; Password=dockertime; volumes: - ./Host-Logs:/app/Logs - ./App_Data:/app/App_Data:z - ./appsettings.json:/app/appsettings.json:z ports: - "44360:44360" - "44307:44307" - "8080:80" - "44345:443"

links:
  - redis
  

redis: container_name: portal_redis # Container name image: redis networks: - cts_portal_network

networks: cts_portal_network:

Thanks

Showing 51 to 60 of 65 entries
Made with ❤️ on ABP v9.2.0-preview. Updated on January 14, 2025, 14:54