Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "edarib"

What is the best approach to upload a file or photo from a MAUI XAML App?

We are using an ASP.NET Core MVC solution.

Thanks,

Ed

Using ASP.NET Core MVC & Jquery Version v13.1.0-rc.1

After enabling Quick Theme selection and selecting a theme, I get a System.NullReferenceException

Prerequisites

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

  • What is your product version? 11.2
  • 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? 7.2

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I did not make any chnages to MultiTenancy.Payments.Dto.PaymentInfoDto, MultiTenancy.Payments.PaymentAppService.GetPaymentInfo or MultiTenancy.Payments.Dto.PaymentInfoDto and I am getting the following errors.

An unhandled exception occurred while processing the request. NullReferenceException: Object reference not set to an instance of an object. Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchemaForMember(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, DataProperty dataProperty)

SwaggerGeneratorException: Failed to generate schema for type - xxx.xxx.MultiTenancy.Payments.Dto.PaymentInfoDto. See inner exception Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)

SwaggerGeneratorException: Failed to generate Operation for action - xxx.xxx.MultiTenancy.Payments.PaymentAppService.GetPaymentInfo (Saki.SamsCloud.Application). See inner exception Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)

Stack Query Cookies Headers Routing NullReferenceException: Object reference not set to an instance of an object. Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchemaForMember(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, DataProperty dataProperty) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.CreateObjectSchema(DataContract dataContract, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator+<>c__DisplayClass10_0.<GenerateConcreteSchema>b__3() Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func<OpenApiSchema> definitionFactory) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateConcreteSchema(DataContract dataContract, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchemaForMember(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, DataProperty dataProperty) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.CreateObjectSchema(DataContract dataContract, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator+<>c__DisplayClass10_0.<GenerateConcreteSchema>b__3() Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateReferencedSchema(DataContract dataContract, SchemaRepository schemaRepository, Func<OpenApiSchema> definitionFactory) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateConcreteSchema(DataContract dataContract, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchemaForType(Type modelType, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SchemaGenerator.GenerateSchema(Type modelType, SchemaRepository schemaRepository, MemberInfo memberInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo)

Show raw exception details SwaggerGeneratorException: Failed to generate schema for type - xxx.xxx.MultiTenancy.Payments.Dto.PaymentInfoDto. See inner exception Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateSchema(Type type, SchemaRepository schemaRepository, PropertyInfo propertyInfo, ParameterInfo parameterInfo, ApiParameterRouteInfo routeInfo) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.CreateResponseMediaType(ModelMetadata modelMetadata, SchemaRepository schemaRespository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator+<>c__DisplayClass19_0.<GenerateResponse>b__2(string contentType) System.Linq.Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer) System.Linq.Enumerable.ToDictionary<TSource, TKey, TElement>(IEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateResponse(ApiDescription apiDescription, SchemaRepository schemaRepository, string statusCode, ApiResponseType apiResponseType) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateResponses(ApiDescription apiDescription, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository)

Show raw exception details **SwaggerGeneratorException: Failed to generate Operation for action - xxx.xxx.MultiTenancy.Payments.PaymentAppService.GetPaymentInfo (Saki.SamsCloud.Application). **See inner exception Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperation(ApiDescription apiDescription, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GenerateOperations(IEnumerable<ApiDescription> apiDescriptions, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GeneratePaths(IEnumerable<ApiDescription> apiDescriptions, SchemaRepository schemaRepository) Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenerator.GetSwagger(string documentName, string host, string basePath) Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService) IdentityServer4.Hosting.MutualTlsEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes) Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context) Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+uqGUelN6OFH94LvZusv.MoveNext() Abp.AspNetZeroCore.Web.Authentication.JwtBearer.JwtTokenMiddleware+<>c__DisplayClass0_0+uqGUelN6OFH94LvZusv.MoveNext() Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Show raw exception details

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

Hello,

I am attempting to create a new custom dashboard in addition to the host and tenant dashboards. I have added the dashboard definition to AppSettingProvider.cs & DashboardConfiguration.cs (screenshots attatched).

However, the GetDashboardFromSettings method in DashboardCustomizationAppService.cs always returns just the host and tenant dashboards.

Is there a trick to getting the database settings to add the newly created dashboard?

Thank you!

Prerequisites

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

  • What is your product version? 10.4.0
  • 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?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I am looking for some guidance on using SQL Server Distributed Cache instead of Redis. Has anybody already implemented it?

Thanks,

Ed

Prerequisites

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

  • What is your product version? 10.3
  • 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?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I am using Radtool version 2.7.7 in Visual Studio 2019. When I create an entity, there is no Property Type "file" to select. What am I missing?

Thanks,

Ed

I downloaded my project (Dev Branch) and unzipped it. It only contains 7 projects (under src folder) instead of 15 projects.

Only these projects are included:

Thanks,

Ed

Is there a way to enable two factor authentication in Xamarin. It seems to be there in the Mobile project but the SendTwoFactorCodeView Page never gets shown because AbpAuthenticateResultModel.RequiresTwoFactor Verification is false.

I tried to set AuthenticateResultModel.RequiresTwoFactorVerification to true in the AuthenticateSuceed function in AccountService.cs but that gave me an error.

Thanks, Madhu

Hi,

I am trying to host the backend of the app on Azure. I opened the Mobile sln but cannot find any projects that can be published to Azure. When I open the Web sln there are three projects that can be published to Azure which is Web.Host, Web.Mvc and Web.Public. I tried to host Web.Host on Azure but I get a 500 internal server error.

My question is how do I go about setting up the project shell for Xamarin development. I was thinking of hosting either Web.Host or Web.Mvc project on Azure with a database that I have alreadt setup on Azure (will put the appropriate connection string). And then opening up the Mobile sln and putting in the DefaultHostUrl as the link of the web app I just created on Azure. Is my thinking correct? Please provide me some informative instructions to do the above.

Thank you, Madhu

The RAD tool which has been working fine stopped working when it got upgraded to Version 1.7.2.3 See the screenshot for the error.

Thanks,

Ed

Showing 1 to 10 of 12 entries