[CLOSED] Upgrade from 1.7 to 4

  1. #1

    [CLOSED] Upgrade from 1.7 to 4


    How can I upgrade my project from 1.7 to 4? Or do you have a documentation where I can read about it?

    Thanks, regards
    Last edited by fabricio.murta; Nov 20, 2018 at 2:30 PM.
  2. #2
    Hello @devSF! And welcome to Ext.NET forums!

    There's a lot between Ext.NET 1.7 and 4.7.1, so several concepts will have a different approach now. In particular, between versions 1.x and 2.x, the server-side structure changed the most.

    Although there's no single "recipe" on upgrading from one version to the other, it should not be so difficult; would just take some time to get a hang of how the code changed and how tasks should be completed.

    Basically, the overall structure will be the same. Some keywords change, some new keywords arise.

    There are some approaches you can take to assess how a particular component has evolved, and why something no longer works.

    1. Visual Studio's intellisense. As soon as you add the legacy code to a recent project, you'll get red squiggles indicating that particular parts of the code no longer resolves to valid references. With Visual Studio's IntelliSense, you can browse thru the options and see if you find the equivalent new one by resemblance. This usually works best after some experience with the new version.

    2. Online documentation: Sometimes, you know what you want to do, or what it used to do, but don't know how to tell the code to do it. The documentation would help mapping syntax and semantic, and for that, you have two main sources of documentation:
    - docs.ext.net, mainly for the server-side logic
    - The Sencha Ext JS docs. The current version of Ext.NET, shipped with Ext JS 6.6.0 is based on this comprehensive online documentation from Sencha.
    - Microsoft docs: because sometimes what we miss might be just in the core C# libs.

    3. Refer to the Ext.NET changelogs. This can show what feature and when it changed the way needed to be handled.
    - Version 1 changelog
    - Version 2 changelog
    - From version 3 onwards, we based on github, so you can see a pretty extensive changelog if you just search the github issues:
    - v3 fixed issues, fixes including breaking changes
    - v4 fixed issues (so far), fixes including breaking changes
    - There is also this user-contributed topic with a text file containing all changelog down to version 4.0: Text File with Full ChangeLogs & Breaking Changes

    Although the change between versions is very big, the difficulty in migration is directly related to how complex the application to be migrated is. Some edge cases will exist, but some other aspects will run smooth that you won't even notice it changed.

    Overall, I would recommend you not to big-bang convert the project from Ext.NET 1.7 to Ext.NET 4.7.1. I'd suggest you to create a new project and migrate the pages and functionalities one by one, so each case can be handled without the influence of other pages not running, but it is totally up to you to decide which path to take.

    Hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Oh, and I forgot a very important approach to understand how things changed.

    Provided you can find a v1 example on the feature you want to migrate, there will likely be an equivalent example on the latest examples explorer.

    One good example would be the Simple Array grid. You can look up both v1 and v4 examples and see how they changed:
    - v1 simple grid
    - v4 simple grid

    Hope this further helps!
    Fabrício Murta
    Developer & Support Expert
  4. #4

    Very good information

    Thank´s Fabricio:

    The info is very good for us in our migration process.

    Have a nice day
  5. #5
    Hello, @devSF!

    Glad it was helpful, thanks for the feedback!
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. how to upgrade 1.0 to 1.7
    By bug2020 in forum 1.x Help
    Replies: 0
    Last Post: Jul 11, 2016, 4:47 AM
  2. Upgrade from 1.x to 3.x
    By Z in forum Licensing
    Replies: 2
    Last Post: Jul 01, 2015, 10:54 PM
  3. Replies: 7
    Last Post: Apr 29, 2013, 7:06 AM
  4. Replies: 5
    Last Post: Jan 12, 2012, 7:55 PM
  5. Upgrade from 0.8.2 to 1.0
    By speddi in forum 1.x Help
    Replies: 2
    Last Post: Apr 28, 2010, 9:14 PM

Tags for this Thread

Posting Permissions