I know that if someone wants to reuse some classes (and not the user interface), he must collect all of them and put them in the Visual Studio class library, build it in some domains and distribute these DLLs. There is only one code in this approach, you just update the code in one place.
But what about ASP.NET markup? For example, you have a .ascx file or a collection of .aspx files related to user management. If I want to use them in another project, I have to copy them again to a new project. However, I have two identical codes that are very difficult to maintain.
So is it possible to reuse .ascx and .aspx files in the same way as simple DLLs? For example, building them?
Thanks a lot, Afshar Mohebby
source share