Base solution for your next web application

Activities of "kansoftware"

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

When we are adding any migrations updating migrations it is taking too much time we only tried to add few columns in existing entity

Please help

Question

Prerequisites

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

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

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?
  • Select2 Component issue
  • here we use metronic 8 Select2 component but it's look like this

We found these js files are not supported

<script abp-src="/view-resources/Areas/App/Views/_Bundles/app-layout-libs.js" asp-append-version="true"></script>
    <script abp-src="/view-resources/Areas/App/Views/_Bundles/@theme.BaseSettings.Theme.ToLowerInvariant()-scripts.bundle.js" asp-append-version="true"></script>

When we use these url's it's working fine -

<script src="https://preview.keenthemes.com/metronic8/demo7/assets/plugins/global/plugins.bundle.js"></script>
		<script src="https://preview.keenthemes.com/metronic8/demo7/assets/js/scripts.bundle.js"></script>

look like this -

Please help us!

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

how we can implement as mentioned below with aspnetzero to improve startup performance https://www.fusonic.net/developers/2014/07/09/3-steps-for-fast-entity-framework-6-1-code-first-startup-performance/

  • 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

Hi, Please check when i trying to create new tenant and after that i assign feature or change feature then i checked in admin role permission popup, the permission tree is not properly ticked. check in image.

Please download code AppAuthorizationProvider file and total process in video from http://103.89.253.21:420/PermissionIssue.rar

Question

Prerequisites

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

this following line giving error in this function RegisterAsync - and error is A task was canceled.

Location : CDP.Core\Authorization\Users\UserRegistrationManager.cs:

  • await _userManager.InitializeOptionsAsync(tenantID);*

This issue occurring while we are creating user by api and setting manuallly tenantid in abp session. But Its working fine on web.

Here is error log

A task was canceled. at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable1.AsyncEnumerator.InitializeReaderAsync(DbContext _, Boolean result, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func4 operation, Func4 verifySucceeded, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable1.AsyncEnumerator.MoveNextAsync() at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable1 asyncEnumerable, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable1 asyncEnumerable, CancellationToken cancellationToken) at Abp.EntityFrameworkCore.Repositories.EfCoreRepositoryBase3.FirstOrDefaultAsync(Expression1 predicate) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Microsoft.AspNetCore.Identity.UserManager1.FindByNameAsync(String userName) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Authorization.Users.AbpUserManager2.CheckDuplicateUsernameOrEmailAddressAsync(Nullable1 expectedUserId, String userName, String emailAddress) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Authorization.Users.AbpUserManager2.CreateAsync(TUser user) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Microsoft.AspNetCore.Identity.UserManager1.CreateAsync(TUser user, String password) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at CDP.Authorization.Users.UserRegistrationManager.RegisterAsync(String name, String surname, String emailAddress, String userName, String plainPassword, Boolean isEmailConfirmed, String emailActivationLink, Boolean IsCustomerRole, Nullable1 tenantID) in D:\Projects\SprngNew\branches\dev\src\CDP.Core\Authorization\Users\UserRegistrationManager.cs:line 109 at CDP.Authorization.Accounts.AccountAppService.RegisterAPI(RegisterInput input) in D:\Projects\SprngNew\branches\dev\src\CDP.Application\Authorization\Accounts\AccountAppService.cs:line 571 at Abp.Authorization.AuthorizationInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Auditing.AuditingInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Auditing.AuditingInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at Abp.Runtime.Validation.Interception.ValidationInterceptor.InternalInterceptAsynchronous[TResult](IInvocation invocation) at CDP.Stripe.ShopifyAppService.CreateAsync(Order order, CancellationToken cancellationToken) in D:\Projects\SprngNew\branches\dev\src\CDP.Application\Shopify\ShopifyAppService.cs:line 232 at Abp.Domain.Uow.UnitOfWorkInterceptor.InternalInterceptAsynchronous(IInvocation invocation) at Abp.Auditing.AuditingInterceptor.InternalInterceptAsynchronous(IInvocation invocation) at Abp.Runtime.Validation.Interception.ValidationInterceptor.InternalInterceptAsynchronous(IInvocation invocation) at lambda_method(Closure , Object ) at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult() at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.

For more refference in code

 using (var unitOfWork = _unitOfWorkManager.Begin(TransactionScopeOption.RequiresNew))
                        {
                         

                            using (_unitOfWorkManager.Current.SetTenantId(inputOrder.TenantID))
                            {
                               
                                using (_iSession.Use(inputOrder.TenantID, inputOrder.AdminUserId))
                                {
                                   

                                    var id = AbpSession.TenantId;
                                 
                                    model.TenantId = inputOrder.TenantID;                                
                                    model.Password = "123456";
                                    UserID =await _accountAppService.RegisterAPI(model);                                 
                                    unitOfWork.Complete();
                                }
                            }

                        }

We setting tenantid manually and RegisterAsync function is calling in _accountAppService.RegisterAPI service. RegisterAPI code in bellow

   public async Task&lt;long&gt; RegisterAPI(RegisterInput input)
        {
            //if (UseCaptchaOnRegistration())
            //{
            //    await RecaptchaValidator.ValidateAsync(input.CaptchaResponse);
            //}

            if (AbpSession != null) input.TenantId = AbpSession.TenantId;

            var user = await _userRegistrationManager.RegisterAsync(
                input.Name,
                input.Surname,
                input.EmailAddress,
                input.UserName,
                input.Password,
                true,
                AppUrlService.CreateEmailActivationUrlFormat(input.TenantId),
                true,
                input.TenantId
            );

            CreateOrEditUserDetailDto userdetail = new CreateOrEditUserDetailDto();

            userdetail.UserID = user.Id;
            userdetail.FirstName = input.Name;
            userdetail.LastName = input.Surname;
            userdetail.CountryID = null;
            userdetail.TimeZoneName = "";
            userdetail.IsTenant = false;
            userdetail.City = "";
            userdetail.StateID = null;
            userdetail.Phone = "";
            userdetail.ImageDataID = null;
            userdetail.CoachCategoryMap = new CreateOrEditCoachCategoryMappingDto();
            userdetail.TenantPurposeMap = new CreateOrEditTenantPurposeMappingDto();
            userdetail.TimeZoneName = await _userDetailsAppService.GetTenantTimeZone(Convert.ToInt32(AbpSession.TenantId));


            await _userDetailsAppService.CreateOrEdit(userdetail);

            //Getting tenant-specific settings
            var isEmailConfirmationRequiredForLogin = await SettingManager.GetSettingValueAsync&lt;bool&gt;(AbpZeroSettingNames.UserManagement.IsEmailConfirmationRequiredForLogin);

            return user.Id;
        }

Prerequisites

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

Hi, I want to create filter for each widget individually, not globel filter. Is any setting available to manage filter in this way?? For more clearity , If i create 5 widget on dashboad then i need 5 separate filter for each widget.

  • 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)? 3.1

On vs after all the projects are build complete for debugging the web.mvc project it takes too much time in reaching login page

Please help

Regards, Harshit

Prerequisites

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

I am not able to fatch correct date format. i am getting date from MVC controller and binding in HTML page this showing wrongly this look in below image. moment js can not be use in MVC controller.

I created new language English(India) en-IN. For this case i am facing this issue.

I already shared source code on your info@aspnetzero.com. On 31-08-2021 Please check the same as soon as prosible

Thanks!

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

We have observed ABPService proxies/getall is taking time please find the screenshot attached. Is there a way to cache it?

  • What is your product version? -v8.1
  • What is your product type (Angular or MVC)? - MVC
  • What is product framework type (.net framework or .net core)? - .net core Android App ionic 5

User is not showing online in chat window in web if one user is logged in app and other one is logged in web. Chat is working fine by App but not showing online icon both side. Is any api require for this and how to manage if app closed or forcefully closed.

Thanks!

Showing 51 to 60 of 104 entries