# Static Files

*noun*

say it: **“STAT-ik fylez”** **/ˈstætɪk faɪlz/**

Files such as images, CSS and JavaScript that a web app sends to the browser exactly as they are.

## What is **Static Files**?

**Static files** (HTML, CSS, images) in `wwwroot` are served as-is once you add the static files middleware.

```csharp
app.UseStaticFiles();   // or app.MapStaticAssets() in newer templates
```

## In a sentence

- “The logo and site.css are **static files** in wwwroot.”

Level: Apprentice · [More ASP.NET Core terms at this level](https://www.ask-codey.com/glossary?category=aspnet-core&level=2)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/static-files
