we are tyring to use volo docs but we do not use github, we use bitbucket. it appears that you are forcing us to github. is there a way to change which git repository we want to use?
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
I am still having issues. i followed the steps, most of which i tried the first time, although i didnt know about the new scope db changes, but i havehtose in place and seeded now. i am still getting the following issue when i start up the applicatiop though:
System.TypeLoadException: Could not load type 'Volo.Abp.IdentityServer.ApiResources.ApiScope' from assembly 'Volo.Abp.IdentityServer.Domain, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)
at System.Reflection.RuntimeMethodInfo.get_Signature()
at System.Reflection.RuntimeMethodInfo.FetchNonReturnParameters()
at System.Reflection.RuntimeMethodInfo.GetParameters()
at Castle.DynamicProxy.Generators.MethodSignatureComparer.GetHashCode(MethodInfo obj)
at System.Linq.Set1.InternalGetHashCode(TElement value) at System.Linq.Set
1.Add(TElement value)
at System.Linq.Set1.UnionWith(IEnumerable
1 other)
at System.Linq.Enumerable.DistinctIterator1.FillSet() at System.Linq.Enumerable.DistinctIterator
1.ToArray()
at Castle.DynamicProxy.Generators.MethodFinder.GetAllInstanceMethods(Type type, BindingFlags flags)
at Castle.DynamicProxy.Contributors.MembersCollector.CollectMethods(IProxyGenerationHook hook)
at Castle.DynamicProxy.Contributors.MembersCollector.CollectMembersToProxy(IProxyGenerationHook hook)
at Castle.DynamicProxy.Contributors.ClassProxyTargetContributor.CollectElementsToProxyInternal(IProxyGenerationHook hook)+MoveNext()
at Castle.DynamicProxy.Contributors.CompositeTypeContributor.CollectElementsToProxy(IProxyGenerationHook hook, MetaType model)
at Castle.DynamicProxy.Generators.ClassProxyGenerator.GenerateType(String name, Type[] interfaces, INamingScope namingScope)
at Castle.DynamicProxy.Generators.ClassProxyGenerator.<>c__DisplayClass1_0.<GenerateCode>b__0(String n, INamingScope s)
at Castle.DynamicProxy.Generators.BaseProxyGenerator.<>c__DisplayClass33_0.<ObtainProxyType>b__0(CacheKey _)
at Castle.Core.Internal.SynchronizedDictionary2.GetOrAdd(TKey key, Func
2 valueFactory)
at Castle.DynamicProxy.Generators.BaseProxyGenerator.ObtainProxyType(CacheKey cacheKey, Func3 factory) at Castle.DynamicProxy.Generators.ClassProxyGenerator.GenerateCode(Type[] interfaces, ProxyGenerationOptions options) at Castle.DynamicProxy.DefaultProxyBuilder.CreateClassProxyType(Type classToProxy, Type[] additionalInterfacesToProxy, ProxyGenerationOptions options) at Autofac.Extras.DynamicProxy.RegistrationExtensions.EnableClassInterceptors[TLimit,TConcreteReflectionActivatorData,TRegistrationStyle](IRegistrationBuilder
3 registration, ProxyGenerationOptions options, Type[] additionalInterfaces)
at Autofac.Extras.DynamicProxy.RegistrationExtensions.EnableClassInterceptors[TLimit,TConcreteReflectionActivatorData,TRegistrationStyle](IRegistrationBuilder3 registration) at Autofac.Builder.AbpRegistrationBuilderExtensions.AddInterceptors[TLimit,TActivatorData,TRegistrationStyle](IRegistrationBuilder
3 registrationBuilder, Type serviceType, IEnumerable1 interceptors) at Autofac.Builder.AbpRegistrationBuilderExtensions.InvokeRegistrationActions[TLimit,TActivatorData,TRegistrationStyle](IRegistrationBuilder
3 registrationBuilder, ServiceRegistrationActionList registrationActionList, Type serviceType, Type implementationType)
at Autofac.Builder.AbpRegistrationBuilderExtensions.ConfigureAbpConventions[TLimit,TActivatorData,TRegistrationStyle](IRegistrationBuilder3 registrationBuilder, IModuleContainer moduleContainer, ServiceRegistrationActionList registrationActionList) at Autofac.Extensions.DependencyInjection.AutofacRegistration.Register(ContainerBuilder builder, IServiceCollection services) at Autofac.Extensions.DependencyInjection.AutofacRegistration.Populate(ContainerBuilder builder, IServiceCollection services) at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateBuilder(IServiceCollection services) at Microsoft.Extensions.Hosting.Internal.ServiceFactoryAdapter
1.CreateBuilder(IServiceCollection services)
at Microsoft.Extensions.Hosting.HostBuilder.CreateServiceProvider()
at Microsoft.Extensions.Hosting.HostBuilder.Build()
at DAG.TFORM.Web.Program.Main(String[] args) in C:\Users\ronald.rizk\source\repos\tform_repo\DAG.TFORM\aspnet-core\src\DAG.TFORM.Web\Program.cs:line 34
I just tried that but no change. it still says unable to find ApiScope.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
2020-11-29 11:21:45.941 -06:00 [INF] Request starting HTTP/2.0 PUT https://localhost:44355/api/lepton-theme-management/settings application/json 90 2020-11-29 11:21:45.971 -06:00 [INF] No CORS policy found for the specified request. 2020-11-29 11:21:45.973 -06:00 [INF] Executing endpoint 'Volo.Abp.LeptonTheme.LeptonThemeSettingsController.UpdateAsync (Volo.Abp.LeptonTheme.Management.HttpApi)' 2020-11-29 11:21:45.982 -06:00 [INF] Route matched with {area = "leptonThemeManagement", action = "Update", controller = "LeptonThemeSettings", page = ""}. Executing controller action with signature System.Threading.Tasks.Task UpdateAsync(Volo.Abp.LeptonTheme.Management.UpdateLeptonThemeSettingsDto) on controller Volo.Abp.LeptonTheme.LeptonThemeSettingsController (Volo.Abp.LeptonTheme.Management.HttpApi). 2020-11-29 11:21:45.984 -06:00 [DBG] Login Url: /Account/Login 2020-11-29 11:21:45.984 -06:00 [DBG] Login Return Url Parameter: ReturnUrl 2020-11-29 11:21:45.984 -06:00 [DBG] Logout Url: /Account/Logout 2020-11-29 11:21:45.984 -06:00 [DBG] ConsentUrl Url: /Consent 2020-11-29 11:21:45.984 -06:00 [DBG] Consent Return Url Parameter: returnUrl 2020-11-29 11:21:45.984 -06:00 [DBG] Error Url: /Account/Error 2020-11-29 11:21:45.984 -06:00 [DBG] Error Id Parameter: errorId 2020-11-29 11:21:45.987 -06:00 [ERR] The required antiforgery header value "RequestVerificationToken" is not present. 2020-11-29 11:21:45.988 -06:00 [INF] Authorization failed for the request at filter 'Volo.Abp.AspNetCore.Mvc.AntiForgery.AbpAutoValidateAntiforgeryTokenAuthorizationFilter'. 2020-11-29 11:21:45.996 -06:00 [INF] Executing HttpStatusCodeResult, setting HTTP status code 400 2020-11-29 11:21:45.996 -06:00 [INF] Executed action Volo.Abp.LeptonTheme.LeptonThemeSettingsController.UpdateAsync (Volo.Abp.LeptonTheme.Management.HttpApi) in 13.4389ms 2020-11-29 11:21:45.996 -06:00 [INF] Executed endpoint 'Volo.Abp.LeptonTheme.LeptonThemeSettingsController.UpdateAsync (Volo.Abp.LeptonTheme.Management.HttpApi)'
we have a 3.3.1 commericail license, it will work find with 4-rv4? can i select that from there? 4 is the right version for needing .net 5? if i need different download then what is the link to get that?
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
maybe i just dont kow ef core well enough but i didnt see the answer to my question in that link. would adding this to the connection string solve the issue? ;Pooling=true;MinPoolSize=0;MaxPoolSize=10;
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
context.Services.AddAuthentication()
.AddCookie(options => {
options.SlidingExpiration = true;
options.ExpireTimeSpan = DateTimeOffset.UtcNow.AddHours(24).Offset;
})
.AddJwtBearer(options =>
{
options.Authority = configuration["AuthServer:Authority"];
options.RequireHttpsMetadata = false;
options.Audience = "TFORM";
});
}
The AddJwtBearer was already there, i added the AddCookie setion, but that didnt work.
I alos checked the identity tables the accesstimeout and the identity timeout are all set to 31536000 so they shouldbe be expiring that quickly, i think thats about 8.5 hours, give or take.
so what am i missing?