Activities of "liangshiwei"

Usage

.\switch-abp-studio-version.ps1 0.8.1

switch-abp-studio-version.ps1

param (
    [string]$version = "0.7.6",
    [string]$channel = "beta"
)
$installdir = "$env:LOCALAPPDATA\abp-studio\"

Write-Host "----------------------------------------"
Write-Host "Switching to ABP Studio version $version on channel $channel..."
Write-Host "----------------------------------------"
Write-Host "Installing to $installdir"


$url = "https://abp.io/api/abp-studio/download/r/windows/abp-studio-$version-$channel-full.nupkg"
$output = "abp-studio-$version-$channel-full.nupkg"

$outputPath = "$installdir\packages\$output"

if (Test-Path $outputPath) {
    Write-Host "File $output already exists. Skipping download."
} else {
    Write-Host "Downloading $url to $outputPath"
    Invoke-WebRequest -Uri $url -OutFile $outputPath
}
Write-Host "----------------------------------------"

$installdirUpdate = "$installdir\Update.exe"

Write-Host "Running $installdirUpdate apply --package $outputPath"
Invoke-Expression "$installdirUpdate apply --package $outputPath"

Write-Host "----------------------------------------"
Write-Host "ABP Studio version $version on channel $channel installed successfully."
Write-Host "----------------------------------------"

Hi,

The angular uses code flow to login, it will redirect to the back-end (MVC)

Hi,

Is your project working now?

These things are NOT both required under version 7 - we have the exact same configuration working with only the access-token.bin file in place - we are not setting any environment variables. Why has this been changed?

As I know, we didn't change anything about the license check.

Also, why are 2 separate copies of our license required? Why would we be required to keep multiple pieces of the same information, and track it in different places? This is exactly the type of maintenance burden that ABP is supposed to alleviate

access-token.bin is used for local development, and AbpLicenseCode is used for offline checking in the production environment(but also needs development env).

They are usually already configured when you create a project, and in most cases, you don't need to care about them, but additional configuration is required when the container is deployed in a development environment, and we'll consider updating the documentation to mention this.

I apologize for the inconvenience caused to you

I tried using the contents of the access-token.bin file as a value for an environment variable named "AbpLicenseCode" but that did not work.

Do not use access-token.bin value as AbpLicenseCode, they are different things.

ABP-LIC-0020 - License code not found! Ensure that your appsettings.json or appsettings.secrets.json has "AbpLicenseCode" key with your license code.

The value of AbpLicenseCode should exist in the appsettings.secrets.json file and should included in the publish folder.

If your AbpLicenseCode code is invalid, you can try create a new project and copy it's AbpLicenseCode into your existing project

Hi,

You can change the abp suite solution settings.

Open the logs folder and return to the previous level folder, open the appsettings.json file

below is the error log https://abp.io/support/questions/8635/Bad-Request---Request-Too-Long#answer-3a1775dc-aad6-8d64-4a56-5a23a2169434

I didn't see any error message there.

BTW,will it work if you try this

Configure<IISServerOptions>(options =>
{
    options.MaxRequestBodySize = 209715200;
});

Configure<KestrelServerOptions>(options =>
{
    options.Limits.MaxRequestBodySize = 209715200;
});

Hi,

Can you share the full logs?

If needed, I can share the URL of our test environment and movie with the issue presented via email.

yes , please. my email is shiwei.liang@volosoft.com

Hi,

Create a new project to reproduce the problem.

Hi,

You can try this, and put a breakpoint to debug

options.Events.OnTicketReceived += receivedContext =>
{
    //Remove unnecessary claims
    receivedContext.Principal!.RemoveClaims("...");
    return Task.CompletedTask;
};

Hi,

There are too many cookies. This is an external login mechanism that stores all data in cookies.

You can try using OnTicketReceived to delete unnecessary claims to reduce cookie size.

.AddOpenIdConnect(....,
options =>
{
    options.Events.OnTicketReceived += ....
});
Showing 271 to 280 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20