Browse Source

Merge pull request #23690 from abpframework/mansur-virtual-file-explorer-migrate-to-mapperly

Replace AutoMapper with Mapperly in Virtual File Explorer DemoApp
pull/23691/head
Ma Liming 5 months ago
committed by GitHub
parent
commit
f7ea32b963
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      modules/virtual-file-explorer/app/DemoApp.csproj
  2. 6
      modules/virtual-file-explorer/app/DemoAppModule.cs

2
modules/virtual-file-explorer/app/DemoApp.csproj

@ -13,7 +13,7 @@
<ItemGroup>
<ProjectReference Include="../../../framework/src/Volo.Abp.AspNetCore.Mvc/Volo.Abp.AspNetCore.Mvc.csproj" />
<ProjectReference Include="../../../framework/src/Volo.Abp.Autofac/Volo.Abp.Autofac.csproj" />
<ProjectReference Include="../../../framework/src/Volo.Abp.AutoMapper/Volo.Abp.AutoMapper.csproj" />
<ProjectReference Include="../../../framework/src/Volo.Abp.Mapperly/Volo.Abp.Mapperly.csproj" />
<ProjectReference Include="../../../framework/src/Volo.Abp.Swashbuckle/Volo.Abp.Swashbuckle.csproj" />
<ProjectReference Include="../../../framework/src/Volo.Abp.AspNetCore.Serilog/Volo.Abp.AspNetCore.Serilog.csproj" />
<ProjectReference Include="..\src\Volo.Abp.VirtualFileExplorer.Web\Volo.Abp.VirtualFileExplorer.Web.csproj" />

6
modules/virtual-file-explorer/app/DemoAppModule.cs

@ -1,4 +1,4 @@
using DemoApp.Data;
using DemoApp.Data;
using Microsoft.EntityFrameworkCore;
using Volo.Abp;
using Volo.Abp.Account;
@ -8,7 +8,7 @@ using Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic;
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared;
using Volo.Abp.AspNetCore.Serilog;
using Volo.Abp.Autofac;
using Volo.Abp.AutoMapper;
using Volo.Abp.Mapperly;
using Volo.Abp.Data;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore.SqlServer;
@ -32,7 +32,7 @@ namespace DemoApp;
// ABP Framework packages
typeof(AbpAspNetCoreMvcModule),
typeof(AbpAutofacModule),
typeof(AbpAutoMapperModule),
typeof(AbpMapperlyModule),
typeof(AbpSwashbuckleModule),
typeof(AbpAspNetCoreSerilogModule),

Loading…
Cancel
Save