I attempted to ask another question but got a message that my limit of 30 questions had been met. The 30 questions spans over 2 years and 2 subscriptions. When I repurchased my license in April of 2023 I would have expected that count to have been reset. It is ridiculous that the question count spans all years of my continued subscription. With each new release there are new issues and challenges that arise and not being able to ask questions as those arise makes using your framework much less reasonable. I need to have my question count to be reset with each extension of my license.
I got past the cryptographic issue and tried to run the iOS app (MAUI app) and am getting an AutoFac.Core.DependencyResolutionException. Autofac.Core.DependencyResolutionException: An exception was thrown while activating BCFOTest.Maui.App. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(System.IServiceProvider)' on type 'App'. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while activating BCFOTest.Maui.AppShell. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(BCFOTest.Maui.ViewModels.ShellViewModel)' on type 'AppShell'. ---> Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (An error occurred while sending the request.) See the inner exception for details. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Error: TrustFailure --- End of inner exception stack trace ---
How do I get past this?
This is being deployed to Azure.
public override void PreConfigureServices(ServiceConfigurationContext context)
{
var hostingEnvironment = context.Services.GetHostingEnvironment();
var configuration = context.Services.GetConfiguration();
context.Services.PreConfigure<AbpMvcDataAnnotationsLocalizationOptions>(options =>
{
options.AddAssemblyResource(
typeof(StatAlertResource),
typeof(StatAlertDomainModule).Assembly,
typeof(StatAlertDomainSharedModule).Assembly,
typeof(StatAlertApplicationModule).Assembly,
typeof(StatAlertApplicationContractsModule).Assembly,
typeof(StatAlertWebModule).Assembly
);
});
PreConfigure<OpenIddictBuilder>(builder =>
{
builder.AddValidation(options =>
{
options.AddAudiences("StatAlert");
options.UseLocalServer();
options.UseAspNetCore();
});
});
if (!hostingEnvironment.IsDevelopment())
{
PreConfigure<AbpOpenIddictAspNetCoreOptions>(options =>
{
options.AddDevelopmentEncryptionAndSigningCertificate = false;
});
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder.AddSigningCertificate(GetSigningCertificate(hostingEnvironment, configuration));
builder.AddEncryptionCertificate(GetSigningCertificate(hostingEnvironment, configuration));
builder.SetIssuer(new Uri(configuration["AuthServer:Authority"]));
});
}
}
This is the code in the GetSigningCertificate (minus the line that defines the actual key) var file = Path.Combine(hostingEnv.ContentRootPath, fileName);
if (!File.Exists(file))
{
throw new FileNotFoundException($"Signing Certificate couldn't found: {file}");
}
return new X509Certificate2(file, passPhrase);
NOTICE that the message if the file doesn't exist is not the message received in the error.
The file does exist and it the one I created with the correct key.
done
<Project Sdk="Microsoft.NET.Sdk.Web"> <Import Project="....\common.props" /> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <Nullable>enable</Nullable> <AspNetCoreHostingModel>InProcess</AspNetCoreHostingModel> <RootNamespace>Module.Web</RootNamespace> <AssetTargetFallback>$(AssetTargetFallback);portable-net45+win8+wp8+wpa81;</AssetTargetFallback> <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> <GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType> <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles> <MvcRazorExcludeRefAssembliesFromPublish>false</MvcRazorExcludeRefAssembliesFromPublish> <PreserveCompilationReferences>true</PreserveCompilationReferences> </PropertyGroup> <ItemGroup> <Compile Remove="Logs*" /> <Content Remove="Logs*" /> <EmbeddedResource Remove="Logs*" /> <None Remove="Logs*" /> </ItemGroup> <ItemGroup> <Content Include="Pages**.js"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> <Content Include="Pages**.css"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> <ItemGroup> <Compile Remove="Pages\Identity\Users\CreateModal.cshtml.cs" /> <Compile Remove="Pages\Identity\Users\MyCreateModal.cs" /> <Compile Remove="Pages\Identity\Users\MyEditModal.cs" /> </ItemGroup> <ItemGroup> <PackageReference Include="AspNetCore.HealthChecks.UI" Version="8.0.0" /> <PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="8.0.0" /> <PackageReference Include="AspNetCore.HealthChecks.UI.InMemory.Storage" Version="8.0.0" /> <PackageReference Include="Serilog.AspNetCore" Version="8.0.0" /> <PackageReference Include="Serilog.Sinks.Async" Version="1.5.0" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="8.0.1" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="8.0.1" /> <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="8.0.1" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Module.Application\Module.Application.csproj" /> <ProjectReference Include="..\Module.HttpApi\Module.HttpApi.csproj" /> <ProjectReference Include="..\Module.EntityFrameworkCore\Module.EntityFrameworkCore.csproj" /> <PackageReference Include="Volo.Abp.Autofac" Version="8.0.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Serilog" Version="8.0.1" /> <PackageReference Include="Volo.Abp.AspNetCore.Authentication.JwtBearer" Version="8.0.1" /> <PackageReference Include="Volo.Abp.Swashbuckle" Version="8.0.1" /> <PackageReference Include="Volo.Abp.FeatureManagement.Web" Version="8.0.1" /> <PackageReference Include="Volo.Abp.Account.Pro.Public.Web.OpenIddict" Version="7.4.0" /> <PackageReference Include="Volo.Abp.Account.Pro.Admin.Web" Version="7.4.0" /> <PackageReference Include="Volo.Abp.AuditLogging.Web" Version="7.4.0" /> <PackageReference Include="Volo.Abp.Identity.Pro.Web" Version="7.4.0" /> <PackageReference Include="Volo.Abp.OpenIddict.Pro.Web" Version="7.4.0" /> <PackageReference Include="Volo.Abp.LanguageManagement.Web" Version="7.4.0" /> <PackageReference Include="Volo.Saas.Host.Web" Version="7.4.0" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Web" Version="7.4.0" /> <PackageReference Include="Volo.Abp.Gdpr.Web" Version="7.4.0" /> </ItemGroup> <ItemGroup> <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.4.1" /> </ItemGroup> <ItemGroup> <None Update="authserver.pfx"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </None> </ItemGroup> </Project>
Using your example, when you click the "New Page" action I would want to go to the User list as though you had clicked on the Administration...Identity Management...Users menu option.
david@theapppros.com