Base solution for your next web application

Activities of "kansoftware"

Hi,

I impersonated a user from host and when that user's session get logout and again when I login from host then I get permission denied error. I think that might be previous user permission cache is not cleared, but i am not sure is this the case. I tried to clear user permission cache on login and logout using this line of code: await _permissionCache.RemoveAsync(user.Id.ToString()); but it doesn't work.

Can you please help me out how to resolve this issue.

Hi,

We tried to enable IsolationLevel.ReadCommitted in app service and found its working for the getall but not for Repository.GetAsync(id) Working for below code: [UnitOfWork(IsolationLevel.ReadCommitted)] public async Task<PagedResultDto<GetCatetoryForViewDto>> GetAll(GetAllCatetoriesInput input) {

        var filteredCatetories = _catetoryRepository.GetAll()
                    .WhereIf(!string.IsNullOrWhiteSpace(input.Filter), e => false || e.Name.Contains(input.Filter) || e.code.Contains(input.Filter))
                    .WhereIf(!string.IsNullOrWhiteSpace(input.NameFilter), e => e.Name.Contains(input.NameFilter))
                    .WhereIf(!string.IsNullOrWhiteSpace(input.codeFilter), e => e.code.Contains(input.codeFilter));

        var pagedAndFilteredCatetories = filteredCatetories
            .OrderBy(input.Sorting ?? "id asc")
            .PageBy(input);

        var catetories = from o in pagedAndFilteredCatetories
                         select new
                         {

                             o.Name,
                             o.code,
                             Id = o.Id
                         };

        var totalCount = await filteredCatetories.CountAsync();

        var dbList = await catetories.ToListAsync();
        var results = new List&lt;GetCatetoryForViewDto&gt;();

        foreach (var o in dbList)
        {
            var res = new GetCatetoryForViewDto()
            {
                Catetory = new CatetoryDto
                {

                    Name = o.Name,
                    code = o.code,
                    Id = o.Id,
                }
            };

            results.Add(res);
        }

        return new PagedResultDto&lt;GetCatetoryForViewDto&gt;(
            totalCount,
            results
        );

    }

Not Working for this one [UnitOfWork(IsolationLevel.ReadCommitted)] public async Task<GetCatetoryForViewDto> GetCatetoryForView(int id) { var catetory = await _catetoryRepository.GetAsync(id);

        var output = new GetCatetoryForViewDto { Catetory = ObjectMapper.Map&lt;CatetoryDto&gt;(catetory) };

        return output;
    }

Please suggest way how we can implement the same.

Regards, Harshit

Hi,

I need HTML format message in user friendly exception. I tried on app_layout_lib.min.js file with isHTML: true and this is working fine, But after minify, code is automatically removed to default code. Please suggest me.
Question

Hi, I am creating users directly from database using store procedure. All work is done but i am not able to set password in encrypted with my dynamic string. can use help us what algorithm is use in ASP.Net Zero for user password.

Thanks, Mohit

Prerequisites

What is your product version? 8.1 What is your product type (Angular or MVC)? MVC What is product framework type (.net framework or .net core)? .net core

CSV format is not working while uploading csv file please check screenshot. Its giving error "wrong local header signature: 0x69616d45"

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.1
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .net core

issue is

We have setup everything Authority, Client ID, secret but when it redirects back it gives error SecurityTokenSignatureKeyNotFoundException: IDX10501: Signature validation failed. Unable to match key: kid: '[PII is hidden. For more details, see https://aka.ms/IdentityModel/PII.]'. Exceptions caught:

ASP.net Core 3.1 Jquery -.net core 3.1 Were receiving this exception multiple time in our Host service:

An exception was thrown while deserializing the token. Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.

We're seeing increase in CPU usage as well and not sure if it is related.

Prerequisites

  • What is your product version? 8.1
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .Net core 3.1

If issue related with ABP Framework

  • What is ABP Framework version? We are using which was provided with the package we downloaded

If a tenant's subscriptionEndDate has passed and he didn't extend or upgrade his plan before this, that tenant goes into inactive state. They are not be able to login and they also don't get an option to upgrade. Please suggest on how will the tenant renew his/her subscription on their own? Is there a manual intervention needed from backend team? Also is there a grace period setting available for tenants? If yes where.

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.1
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .Net core 3.1

If issue related with ABP Framework

  • What is ABP Framework version? we are using which was provided with the package we downloaded

If issue is about UI

  • Which theme are you using? Metronic 6

When we have created new dashboard and updated in database in "AbpSettings" for a tenant, it should also generates for other tenants on project run, but for some tenants it is not happening. We have to manually add new dashboard related string in database for them.

Prerequisites

Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • What is your product version? 8.1
  • What is your product type (Angular or MVC)? MVC
  • What is product framework type (.net framework or .net core)? .net core

If issue related with ABP Framework

  • What is ABP Framework version? we are using which was provided with the package we downloaded

issue

Issue when we run application in debug mode on visual studio after build is complete it keeps on loading for 15-30 mins to load the Login page Please find the Log attached http://103.89.253.21:420/logs.txt

Just googled and found following solutions https://entityframework.net/knowledge-base/30423838/entity-framework-very-slow-to-load-for-first-time-after-every-compilation https://stackoverflow.com/questions/30423838/entity-framework-very-slow-to-load-for-first-time-after-every-compilation

Can you help us if any of these is use full and can be implemented with ASPnet zero. Please help in implementing this into our solution

We are facing this issue from long time We would need immediate support on this as we are not able to do further developement due to slowness. we have also informed you serveral times on other ticket.
We can also do a session to make you understand the issue we are facing

Let us know for any more details

Regards, Harshit

Showing 31 to 40 of 96 entries