Improved routes
No edit summary
No edit summary
Line 3: Line 3:
         /// APP
         /// APP
         /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1          old
         /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1          old
         /// http://localhost:5052/App#/ViewAllThings/$null$                      improved
         /// http://localhost:5052/App#/ViewOneThing/11!1                          improved
         ///  
         ///  
         /// MVC
         /// MVC
Line 12: Line 12:
         /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1    old
         /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1    old
         /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                  improved
         /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                  improved
         /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved
         /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved</pre>Routes has been added - but application will not use them yet (210314)
 
Old routes will still function.
 
In what way are they better:
* Shorter
* Does not show Tunrkey brand
* Does not show Angular brand
* Has better order of api and verb for rest
* Has better order of view for MVC
 
<pre>
</pre>
</pre>

Revision as of 19:25, 14 March 2021

        // Better routes App,MVC,Rest
        /// APP
        /// http://localhost:5052/Turnkey/AngularApp#/ViewOneThing/11!1           old
        /// http://localhost:5052/App#/ViewOneThing/11!1                          improved
        /// 
        /// MVC
        /// http://localhost:5052/Turnkey/Display/11!1?view=ViewOneThingCopy      old
        /// http://localhost:5052/MVC/ViewOneThingCopy/11!1                       improved
        /// 
        /// Rest
        /// http://localhost:5052/TurnkeyRest/Get?command=ViewOneThing&id=11!1    old
        /// http://localhost:5052/Rest/ViewOneThing/Get?id=11!1                   improved
        /// http://localhost:5052/Rest/ViewOneThing/Get/11!1                      also improved

Routes has been added - but application will not use them yet (210314)

Old routes will still function.

In what way are they better:

  • Shorter
  • Does not show Tunrkey brand
  • Does not show Angular brand
  • Has better order of api and verb for rest
  • Has better order of view for MVC
This page was edited 97 days ago on 02/10/2024. What links here