C# .net add css file to layout page code example Example: use css in cshtml <link rel="stylesheet" href="app.css" type="text/css" />