Activities of "alper"

There's a stream support for the application services. Is that what you are looking for https://docs.abp.io/en/abp/latest/Application-Services#working-with-streams ?

is it recreating everything or just menu item? is that happening on v4.3.3?

there's a workaround for this issue.

Open YourMicroserviceSolution.IdentityService.EntityFrameworkCore.csproj project file and delete the <PrivateAssets>all</PrivateAssets> section. This will solve the version conflict.

<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net5.0</TargetFramework>
        <RootNamespace>MyAngulaarMicroservice.IdentityService</RootNamespace>
    </PropertyGroup>

    <ItemGroup>
        <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="5.0.*">
            
			<!-- delete this -->
			<PrivateAssets>all</PrivateAssets>
			
			
            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
        </PackageReference>
    </ItemGroup>

    <ItemGroup>
        <PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.3.2" />
        <PackageReference Include="Volo.Abp.Identity.Pro.EntityFrameworkCore" Version="4.3.2" />
        <PackageReference Include="Volo.Abp.IdentityServer.EntityFrameworkCore" Version="4.3.2" />
    </ItemGroup>

    <ItemGroup>
        <ProjectReference Include="..\MyAngulaarMicroservice.IdentityService.Domain\MyAngulaarMicroservice.IdentityService.Domain.csproj" />
    </ItemGroup>

</Project>

Install the latest .NET Core SDK https://dotnet.microsoft.com/download/dotnet/5.0

check out :

  • https://stackoverflow.com/questions/62055847/how-to-deploy-angular-spa-with-asp-net-core-3-1-api-on-iis
  • https://www.codementor.io/@noorsaifi/how-to-deploy-angular-asp-net-core-webapi-to-iis-on-shared-hosting-1dytrihj56

Are you generating code for Account.Pro ?

By the way, for those who wants to persist IDS protection keys to the database to prevent cookie invalidation after server restart, follow the steps below:

YourProjectAccountWebModule.cs

context.Services.AddDataProtection().PersistKeysToDbContext<AbpIoDbContext>();

YourProjectDbContextModelCreatingExtensions.cs

builder.Entity<DataProtectionKey>(b =>
{
    b.ToTable(AbpIoDbContext.DbTablePrefix + "DataProtectionKeys");

    b.HasKey(x => x.Id);

    b.Property(x => x.FriendlyName);
    b.Property(x => x.Xml);
});

DbContext:

public class YourDbContext : AbpDbContext<YourDbContext>, IDataProtectionKeyContext
{
   public DbSet<DataProtectionKey> DataProtectionKeys { get; set; }
}

Add migration > Update database

https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/default-settings?view=aspnetcore-5.0#key-lifetime

Run the following command:

dotnet nuget locals --clear http-cache

See the related issue https://github.com/NuGet/Home/issues/5445

See https://gist.github.com/ebicoglu/543928d2dec68ce4fc0ddf25b8e39bac

A similar approach can be found in the ABP Commercial project template. See the *.EntityFrameworkCore.DbMigrations project

public class MyProjectMigrationsDbContext : AbpDbContext<MyProjectMigrationsDbContext>
{

}
Showing 831 to 840 of 1957 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.3.0-preview. Updated on February 27, 2026, 05:41
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.