# WebApplicationFactory

Starts an ASP.NET Core app in memory for tests.

## What is the **WebApplicationFactory**?

This starts an **ASP.NET Core** app in memory during unit testing so tests can call real endpoints.

Level: Master · [More C# terms at this level](https://www.ask-codey.com/glossary/subjects/c-sharp/master)

Updated: October 15, 2026

Source: https://www.ask-codey.com/glossary/webapplicationfactory-in-tests
