update src projects in app
This commit is contained in:
Родитель
a814889e1f
Коммит
398c51152e
|
@ -39,11 +39,11 @@
|
|||
<Reference Include="Abp.AutoMapper, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.AutoMapper.5.0.0\lib\netstandard2.0\Abp.AutoMapper.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Application, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Application.0.6.3\lib\net461\Abp.Samples.Blog.Application.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.Application, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Application.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Application.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.6.3\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Zero, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Zero.5.0.0\lib\net461\Abp.Zero.dll</HintPath>
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
<packages>
|
||||
<package id="Abp" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.AutoMapper" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Application" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Application" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Zero" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Zero.Common" version="5.0.0" targetFramework="net461" />
|
||||
<package id="AutoMapper" version="9.0.0" targetFramework="net461" />
|
||||
|
|
|
@ -36,8 +36,8 @@
|
|||
<Reference Include="Abp, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.5.0.0\lib\netstandard2.0\Abp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.6.3\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Zero, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Zero.5.0.0\lib\net461\Abp.Zero.dll</HintPath>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Abp" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Zero" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Zero.Common" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Castle.Core" version="4.4.0" targetFramework="net461" />
|
||||
|
|
|
@ -45,11 +45,11 @@
|
|||
<Reference Include="Abp.EntityFramework.Common, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.EntityFramework.Common.5.0.0\lib\netstandard2.0\Abp.EntityFramework.Common.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.6.3\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.EntityFramework, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.EntityFramework.0.6.3\lib\net461\Abp.Samples.Blog.EntityFramework.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.EntityFramework, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.EntityFramework.0.7.0-preview1\lib\net461\Abp.Samples.Blog.EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Zero, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Zero.5.0.0\lib\net461\Abp.Zero.dll</HintPath>
|
||||
|
@ -243,14 +243,14 @@
|
|||
<Name>MyAbpZeroProject.Core</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="READ_ME.txt" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Migrations\201912091516151_Upgraded_To_Abp_5_1_0.resx">
|
||||
<DependentUpon>201912091516151_Upgraded_To_Abp_5_1_0.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="READ_ME.txt" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<package id="Abp" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.EntityFramework" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.EntityFramework.Common" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.EntityFramework" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.EntityFramework" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Zero" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Zero.Common" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Zero.EntityFramework" version="5.0.0" targetFramework="net461" />
|
||||
|
|
|
@ -63,17 +63,17 @@
|
|||
<Reference Include="Abp.Owin, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Owin.5.0.0\lib\net461\Abp.Owin.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Application, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Application.0.6.3\lib\net461\Abp.Samples.Blog.Application.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.Application, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Application.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Application.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.6.3\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.Core, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Core.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.EntityFramework, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.EntityFramework.0.6.3\lib\net461\Abp.Samples.Blog.EntityFramework.dll</HintPath>
|
||||
<Reference Include="Abp.Samples.Blog.EntityFramework, Version=0.7.0-preview1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.EntityFramework.0.7.0-preview1\lib\net461\Abp.Samples.Blog.EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Samples.Blog.Web, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Web.0.6.3\lib\net461\Abp.Samples.Blog.Web.dll</HintPath>
|
||||
<HintPath>..\packages\Abp.Samples.Blog.Web.0.7.0-preview1\lib\net461\Abp.Samples.Blog.Web.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Abp.Web, Version=5.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Abp.Web.5.0.0\lib\net461\Abp.Web.dll</HintPath>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
<package id="Abp.EntityFramework" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.EntityFramework.Common" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Owin" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Application" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.EntityFramework" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Web" version="0.6.3" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Application" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Core" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.EntityFramework" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Samples.Blog.Web" version="0.7.0-preview1" targetFramework="net461" />
|
||||
<package id="Abp.Web" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Web.Api" version="5.0.0" targetFramework="net461" />
|
||||
<package id="Abp.Web.Common" version="5.0.0" targetFramework="net461" />
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using System.Reflection;
|
||||
using Abp.Application.Services;
|
||||
using Abp.Configuration.Startup;
|
||||
using Abp.Modules;
|
||||
using Abp.WebApi;
|
||||
using Abp.WebApi.Controllers.Dynamic.Builders;
|
||||
|
||||
namespace MyAbpZeroProject
|
||||
{
|
||||
|
@ -12,10 +12,9 @@ namespace MyAbpZeroProject
|
|||
public override void Initialize()
|
||||
{
|
||||
IocManager.RegisterAssemblyByConvention(Assembly.GetExecutingAssembly());
|
||||
////////TODO: Fix it
|
||||
////////DynamicApiControllerBuilder
|
||||
//////// .ForAll<IApplicationService>(typeof(MyAbpZeroProjectApplicationModule).Assembly, "app")
|
||||
//////// .Build();
|
||||
Configuration.Modules.AbpWebApi().DynamicApiControllerBuilder
|
||||
.ForAll<IApplicationService>(typeof(MyAbpZeroProjectApplicationModule).Assembly, "app")
|
||||
.Build();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,7 +42,9 @@ namespace Abp.Samples.Blog.Tests.Data
|
|||
UserName = "admin",
|
||||
Name = "System",
|
||||
Surname = "Administrator",
|
||||
NormalizedUserName ="ADMIN",
|
||||
EmailAddress = "admin@aspnetboilerplate.com",
|
||||
NormalizedEmailAddress="ADMIN@ASPNETBOILERPLATE.COM",
|
||||
IsEmailConfirmed = true,
|
||||
Password = "AM4OLBpptxBYmM79lGOX9egzZk3vIQU3d/gFCJzaBjAPXzYIK3tQ2N7X4fcrHtElTw==" //123qwe
|
||||
});
|
||||
|
@ -84,7 +86,9 @@ namespace Abp.Samples.Blog.Tests.Data
|
|||
UserName = "admin",
|
||||
Name = "System",
|
||||
Surname = "Administrator",
|
||||
NormalizedUserName ="ADMIN",
|
||||
EmailAddress = "admin@aspnetboilerplate.com",
|
||||
NormalizedEmailAddress="ADMIN@ASPNETBOILERPLATE.COM",
|
||||
IsEmailConfirmed = true,
|
||||
Password = "AM4OLBpptxBYmM79lGOX9egzZk3vIQU3d/gFCJzaBjAPXzYIK3tQ2N7X4fcrHtElTw==" //123qwe
|
||||
});
|
||||
|
|
|
@ -25,6 +25,17 @@ namespace Abp.Samples.Blog.Tests.Posts
|
|||
posts.Items.Count.ShouldBe(2);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Should_Get_Posts_With_Parameter()
|
||||
{
|
||||
var posts = await _postAppService.GetPosts(new GetPostsInput()
|
||||
{
|
||||
MaxResultCount = 1000
|
||||
});
|
||||
posts.TotalCount.ShouldBe(2);
|
||||
posts.Items.Count.ShouldBe(2);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public async Task Should_Insert_Post()
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче