Browse Source

Added Home controllers.

pull/6772/head
Halil İbrahim Kalkan 5 years ago
parent
commit
60d2e4f903
  1. 6
      test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj
  2. 14
      test/AbpPerfTest/AbpPerfTest.WithAbp/Controllers/HomeController.cs
  3. 2
      test/AbpPerfTest/AbpPerfTest.WithoutAbp/AbpPerfTest.WithoutAbp.csproj
  4. 14
      test/AbpPerfTest/AbpPerfTest.WithoutAbp/Controllers/HomeController.cs

6
test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj

@ -5,9 +5,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="4.0.2"/>
<PackageReference Include="Volo.Abp.Autofac" Version="4.0.2"/>
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.0.2"/>
<PackageReference Include="Volo.Abp.AspNetCore.Mvc" Version="4.0.2" />
<PackageReference Include="Volo.Abp.Autofac" Version="4.0.2" />
<PackageReference Include="Volo.Abp.EntityFrameworkCore.SqlServer" Version="4.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="5.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

14
test/AbpPerfTest/AbpPerfTest.WithAbp/Controllers/HomeController.cs

@ -0,0 +1,14 @@
using Microsoft.AspNetCore.Mvc;
namespace AbpPerfTest.WithAbp.Controllers
{
[Route("")]
public class HomeController : Controller
{
[HttpGet]
public ActionResult Index()
{
return Redirect("/api/books/");
}
}
}

2
test/AbpPerfTest/AbpPerfTest.WithoutAbp/AbpPerfTest.WithoutAbp.csproj

@ -9,7 +9,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.1"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="5.0.1" />
</ItemGroup>
</Project>

14
test/AbpPerfTest/AbpPerfTest.WithoutAbp/Controllers/HomeController.cs

@ -0,0 +1,14 @@
using Microsoft.AspNetCore.Mvc;
namespace AbpPerfTest.WithoutAbp.Controllers
{
[Route("")]
public class HomeController : Controller
{
[HttpGet]
public ActionResult Index()
{
return Redirect("/api/books/");
}
}
}
Loading…
Cancel
Save