Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Folks,

I am creating websites with same css layout, same masterpage (only app title changes) and the default.aspx.

I would like to add these features to a Nuget package so I could reuse the stuff again and again in stead of copy waste....

Is is possible to use a Masterpage from a DLL in ans ASP.NET Page. I see only the option to use MasterPageFile property and not a why to connect to a masterpage in a DLL.

What I have tried:

A lot of reading and now hoping someone has experience with this and if it is possible.
Posted
Updated 5-Jul-18 22:22pm

1 solution

Sharing master pages is a bad idea, but if you're willing to go through the pain,
Dan Wahlin - Sharing Master Pages Across IIS Applications[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900