Activities of "maliming"

Answer

hi

You have not follow abp design to develop, so there is no good approach for abp, you can continue to test your design.

hi

There are many ways to set the requested tenant. Please note that CurrentUserTenantResolveContributor should always be the first contributor for the security.

https://docs.abp.io/en/abp/latest/Multi-Tenancy#default-tenant-resolvers

hi

I think we should not change the path, IIS will automatically handle it.

We seem to be stuck in the X Y problem. https://xyproblem.info/

Answer

hi

https://github.com/abpframework/abp-samples/tree/master/DomainTenantResolver https://github.com/abpframework/abp-samples/blob/master/DomainTenantResolver/NG/aspnet-core/src/BookStore.HttpApi.Host/BookStoreHttpApiHostModule.cs#L58-L64

hi

I will fix this in Abp. You can use code below to fix the problem temporary.

public override void ConfigureServices(ServiceConfigurationContext context)
{
    var configuration = context.Services.GetConfiguration();
    var hostingEnvironment = context.Services.GetHostingEnvironment();

    context.Services.Configure<MvcOptions>(options =>
    {
        options.Filters.ReplaceOne(x => x is ServiceFilterAttribute && x.As<ServiceFilterAttribute>().ServiceType  == typeof(AbpNoContentActionFilter),
            metadata => new ServiceFilterAttribute(typeof(MyNoContentActionFilter)) { Order = 0 });
    });
}

using System.Net;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Abstractions;
using Microsoft.AspNetCore.Mvc.Filters;
using Volo.Abp.DependencyInjection;

namespace Volo.Abp.AspNetCore.Mvc.Response
{
    public class MyNoContentActionFilter : IAsyncActionFilter, ITransientDependency
    {
        public async Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)
        {
            if (!context.ActionDescriptor.IsControllerAction())
            {
                await next();
                return;
            }

            await next();

            if (!context.HttpContext.Response.HasStarted &&
                context.HttpContext.Response.StatusCode == (int)HttpStatusCode.OK &&
                context.Result == null)
            {
                var returnType = context.ActionDescriptor.GetReturnType();
                if (returnType == typeof(Task) || returnType == typeof(void))
                {
                    context.HttpContext.Response.StatusCode = (int)HttpStatusCode.NoContent;
                }
            }
        }
    }
}

hi

https://support.abp.io/QA/Questions/632/How-can-I-download-the-source-code-of-the-framework-Angular-packages-theme-and-pro-modules

hi

create a new project with version 4.4.* and chose to use the payment module from source code.

Can you share this project with me? liming.ma@volosoft.com

hi

Can you share a simple project?

liming.ma@volosoft.com

hi

Did you add it to AbpVirtualFileSystemOptions?


Configure<AbpVirtualFileSystemOptions>(options =>
{
    options.FileSets.AddEmbedded<AbpYourContractsModule>();
});

https://docs.abp.io/en/abp/latest/Text-Templating-Scriban#the-template-content

It has been resolved remotely.

Showing 7581 to 7590 of 8879 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on January 02, 2025, 07:06