Base solution for your next web application
Open Closed

Upgrade existing solution with the new release of framework #2657


User avatar
0
bilalhaidar created

Hello, Now that a new release of the framework is out. How can I get latest changes and add them to my existing solution? I read somewhere it is not intended to be an upgradable framework, but given the fact there are new features and enhancements why not make use of them for my existing solution?

Thanks Bilal


8 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Please see #1073

  • User Avatar
    0
    bilalhaidar created

    Hi Ismail,

    The post isn't clear enough!!

    Is there a more straight forward way? For instance, on gitHub, can I get all files that were changed, or added, or deleted from the last release and then apply that on my local project?

    I appreciate your assistance.

    Regards Bilal

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    At the moment, there is no other/easy way of doing this. In this issue <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/96">https://github.com/aspnetzero/aspnet-zero/issues/96</a> there are offered ways of doing it, you can apply one of them.

  • User Avatar
    0
    bilalhaidar created

    That's why I am thinking, if I develop my own modules without touching any single file from Framework, wouldn't be easy for me to just replace files of framework and compile?

    In another post, I asked how to create a new module. So my point is to know, can I in a separate module (can be done as solution folder with projects underneath), be able to add my own permissions? my own settings?

    Currently, I have to go to Authorization folder in .Core and edit the AuthorizationProvider.

    If I can configure my modules without touching the any file that comes with framework, then it might be easier to upgrade.

    So all my code will be under a solution folder and underneath I have .Core, .Application, etc.

    Is that doable?

    Thanks

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I think that is possible, as far as I remember some of our customers did this. Maybe someone with that experience can help you.

  • User Avatar
    0
    bilalhaidar created

    Thanks

  • User Avatar
    0
    JeffMH created

    As I said in my other post, you will never avoid changing some code within the Framework code. You can try, but it's impossible not to. Just try and have a good merging strategy in place.

    If you look for my post on the github link above (jmhinnen), I explain how I do the branching and merging. Works great for me!

  • User Avatar
    0
    bilalhaidar created

    Thanks @JeffHM I will check that.

    Thanks Ismail always :)