-
Notifications
You must be signed in to change notification settings - Fork 5
Creating the ASP.NET Core Web App
Tom Longhurst edited this page Jul 21, 2020
·
4 revisions
Firstly, create a .NET Core 3.1 Web App. Visual Studio should be able to create you one from a template.
Visual Studio > New Project > ASP.NET Core Web Application (C#)
Remove any unwanted controllers/views created by the template.
Install the NuGet package BDTest.NetCore.Razor.ReportMiddleware
In your startup class call:
services
.AddRazorPages()
.AddBdTestReportControllersAndViews();
That's it! Boot up your server! You should be able to navigate to the endpoint /bdtest/report/test-runs
and see a UI with an empty test list.
Right now we've set up no backing store, so everything sent to your report server is in memory. So if your server gets rebooted, then you'll lose your test data.