diff --git a/test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj b/test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj index 69e9c3802f..b270d019a4 100644 --- a/test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj +++ b/test/AbpPerfTest/AbpPerfTest.WithAbp/AbpPerfTest.WithAbp.csproj @@ -5,9 +5,9 @@ - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/test/AbpPerfTest/AbpPerfTest.WithAbp/Controllers/HomeController.cs b/test/AbpPerfTest/AbpPerfTest.WithAbp/Controllers/HomeController.cs new file mode 100644 index 0000000000..cf6ce4d5d2 --- /dev/null +++ b/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/"); + } + } +} diff --git a/test/AbpPerfTest/AbpPerfTest.WithoutAbp/AbpPerfTest.WithoutAbp.csproj b/test/AbpPerfTest/AbpPerfTest.WithoutAbp/AbpPerfTest.WithoutAbp.csproj index fd061fe040..36db51501a 100644 --- a/test/AbpPerfTest/AbpPerfTest.WithoutAbp/AbpPerfTest.WithoutAbp.csproj +++ b/test/AbpPerfTest/AbpPerfTest.WithoutAbp/AbpPerfTest.WithoutAbp.csproj @@ -9,7 +9,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/test/AbpPerfTest/AbpPerfTest.WithoutAbp/Controllers/HomeController.cs b/test/AbpPerfTest/AbpPerfTest.WithoutAbp/Controllers/HomeController.cs new file mode 100644 index 0000000000..e2e72ea869 --- /dev/null +++ b/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/"); + } + } +}