Creating Global Themes

You can share the same Theme among multiple web applications running on the same web server. A Global Theme can contain both Skin files and CSS files. Creating a Global Theme is useful when you want to create one companywide website design and apply it to all your company’s applications.

You create a Global Theme by adding the Theme to the Themes folder located at the following path:

WINDOWS\Microsoft.NET\Framework\[version]\ASP.NETClientFiles\Themes

After you add a Theme folder to this path, you can immediately start using the Theme in any file system-based website.

If you want to use the Theme in an HTTP-based website, you need to perform an additional step. You must add the Theme folder to the following path:

Inetpub\wwwroot\aspnet_client\system_web\[version]\Themes ...

Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.