C# .NET include file

.net, asp.net, c#, include

Solution

Have you looked into Master Pages? They would certainly help you add the same layout across several pages.

Or perhaps you want a reusable User Control (that you write yourself)?

Problem

I searched a way to include a file in a web application (like a menu, so I won't have to edit it on all pages when applying changes), but haven't found something as simple as ``` <?php include "Menu.html"; ?> ``` Can you please help?

Original source