Activities of "alper"

ok the problem is "mhd_hmz" user is assigned to your inactive organization "Projile" and you are using "Projile Corporation". we added the user "mhd_hmz" to the "Projile Corporation" organization

try the command and it will work

abp login mhd_hmz -p <your-password>

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

Showing 741 to 750 of 1868 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 18, 2024, 05:54