winform+dev的前后台分离标准项目
lg
2024-08-30 aaae232ced5996a26a8ea546b2e156b8edb521a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using Microsoft.Extensions.DependencyInjection;
using Gs.Toolbox;
 
namespace Gs.Toolbox
{
    public static class IServiceCollectionExtension
    {
        public static void AddCustomConvention(this IServiceCollection services)
        {
            services.AddMvc(options =>
            {
                options.Conventions.Add(new CustomApplicationModelConvention());
            });
        }
    }
}