IMHO, you should be using an ASP.NET Core Razor page project that is not unlike using a Web form, because it has a page like code behind file for a given cshtml page, and anyway ASP.NET Webform is legacy technology.
Web service are legacy technology, and you should also be looking into use ASP.NET Core MVC WebAPI along with EF Core being used behind the WebAPI with the DAO pattern.
The DTO pattern can also be used between the Razor MVC client and WebAPI.
https://www.codeproject.com/Articles/1050468/Data-Transfer-Object-Design-Pattern-in-Csharp
Understand the Models, since a Razor page project uses the MVC pipe line.
https://deviq.com/terms/kinds-of-models
https://www.dotnettricks.com/learn/mvc/understanding-viewmodel-in-aspnet-mvc
An example Razor page solution using WebAPI doing CRUD with EF.
DM = domain object and VM = view model.
https://github.com/darnold924/PubCompanyCore3.x
https://learn.microsoft.com/en-us/dotnet/architecture/modern-web-apps-azure/architectural-principles
HTH