this post was submitted on 13 Apr 2026
3 points (100.0% liked)
.NET
1844 readers
4 users here now
Getting started
Useful resources
IDEs and code editors
- Visual Studio (Windows/Mac)
- Rider (Windows/Mac/Linux)
- Visual Studio Code (Windows/Mac/Linux)
Tools
Rules
- Rule 1: Follow Lemmy rules
- Rule 2: Be excellent to each other, no hostility towards users for any reason
- Rule 3: No spam of tools/companies/advertisements
- Rule 4: Submit the original source. If a post reports on something found on another site, submit the latter
Related communities
Wikipedia pages
- .NET (open source & cross platform)
- .NET Framework (proprietary & Windows-only)
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Is the MVC requirement a lib development dependency to cover MVC use cases, or can I only use it in MVC projects?
Looks like
WebApplicationFactoryis in the MVC namespace, so I assume this is only for MVC [integration] testing?Despite the name, WebApplicationFactory is not MVC-specific — it works with any ASP.NET Core app (Minimal APIs, Web API, MVC, Razor Pages). The "Mvc" in Microsoft.AspNetCore.Mvc.Testing is just historical baggage from before Minimal APIs existed. It's the standard integration testing host for the whole ASP.NET Core ecosystem. As for having it as a lib dependency: since KiwiQuery.EFCore is explicitly a testing library, pulling in a testing package is expected.