Activities of "jmalla.cp"

Answer

Thanks mailming.

And finally, how can I throw an unauthorized page from OnPostAsync method?

Answer

Hi,

Thanks.

In OnPostAsync method the request.UserName is null

How can I get the username trying to logIn?

Answer

Yes, but this is not a static class. How can I run this method inside my CustomLoginModel class

Thaks

Answer

Hi,

Wich namespace I need to call OpenIddictRequestHelper?

Thanks

Hi,

With your last recomendation I get this error.

ArgumentOutOfRangeException: The relative expiration value must be positive. (Parameter 'AbsoluteExpirationRelativeToNow')
Actual value was 00:00:00.

Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions.set_AbsoluteExpirationRelativeToNow(Nullable<TimeSpan> value)

    Stack Query Cookies Headers Routing 

    ArgumentOutOfRangeException: The relative expiration value must be positive. (Parameter 'AbsoluteExpirationRelativeToNow') Actual value was 00:00:00.
        Microsoft.Extensions.Caching.Distributed.DistributedCacheEntryOptions.set_AbsoluteExpirationRelativeToNow(Nullable<TimeSpan> value)
        Cincaporc.WebApp.Web.MyMvcCachedApplicationConfigurationClient+<>c.<GetAsync>b__13_1() in MyMvcCachedApplicationConfigurationClient.cs

                    () => new DistributedCacheEntryOptions

Volo.Abp.Caching.DistributedCache<TCacheItem, TCacheKey>.GetOrAddAsync(TCacheKey key, Func<Task<TCacheItem>> factory, Func<DistributedCacheEntryOptions> optionsFactory, Nullable<bool> hideErrors, bool considerUow, CancellationToken token)
Cincaporc.WebApp.Web.MyMvcCachedApplicationConfigurationClient.GetAsync() in MyMvcCachedApplicationConfigurationClient.cs

                configuration = await Cache.GetOrAddAsync(

Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext()
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Hi,

What namespace do I need, to use AbpAspNetCoreMvcClientCacheOptions?

Hi,

Sorry, but not working. I just sent you new logs

Answer

Sorry but I don't undestand.

Can you give me an example?

Thanks

Answer

Sorry but I can't see where.

In AuthServer project there are only two folders, Themes and pages. And pages only has Index without any Post method

Answer

And Where can I override this method, in AuthServer project?

Showing 21 to 30 of 45 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 10:13