I have a big website/application coded in Classic ASP, ASP.NET and ASP.NET MVC. I have a menu on top with a lot of HTML CSS JS, and some conifiguration (visible or not ...) and lot of dynamic links.
So the problem is when i have to update the menu i have to update 3 files, one Include in Classic ASP, one ASCX user control in asp.net and one Partial view in asp.NET MVC
I hate code duplication, so is it possible to use only one component ? I heared about Com but i have no idea where to start.
Thanks for help
Edit : I am thinking know to use a .net Object, that can generate a string containing all the html that i need and then put it in the views MVC and in the asp.net pages But how to use it in Classic ASP?