locked
Sharing common ASPX pages for two versions of the same web app RRS feed

  • Question

  • User-426136791 posted

    Hi all - I hope this is the right group for this post.

    We have an application that is available in two forms:  hosted multi-tennant and on-premise.  Both versions are the same except that online has some different pages in the admin section.

    Right now, we are maintaining two projects with the same pages.  When changes in one are made, it's made to the other, etc.  This is not only time consuming, but sometimes changes are missed.

    I'm looking for a design solution where the two projects contain the common pages and also their version specific pages.  For example, the online version has a signup page.

    Thanks!

    Wednesday, October 10, 2012 3:55 PM

Answers

  • User-426136791 posted

    Thank emonti, but I need a way to share common ASPX pages.  I edited my question for clarity.

    For example, both projects use the same Login.aspx page but the hosted project's Landing.aspx is different from on-premise.

    In the XCode IDE for iPhone dev, your project can either reference a code file or include it in the project.  I'm looking for the same kind of behavior for VS.

    Now that I think about it, this is probably a Visual Studio question, not ASP.NET design. Embarassed

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 10, 2012 5:27 PM

All replies

  • User2013247590 posted

    you could create a class library out of the common code and reference them in your projects

    http://msdn.microsoft.com/en-us/library/cc668164(v=VS.100).aspx

     

     

    Wednesday, October 10, 2012 5:19 PM
  • User-426136791 posted

    Thank emonti, but I need a way to share common ASPX pages.  I edited my question for clarity.

    For example, both projects use the same Login.aspx page but the hosted project's Landing.aspx is different from on-premise.

    In the XCode IDE for iPhone dev, your project can either reference a code file or include it in the project.  I'm looking for the same kind of behavior for VS.

    Now that I think about it, this is probably a Visual Studio question, not ASP.NET design. Embarassed

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, October 10, 2012 5:27 PM