View Full Version : Ext.Direct .NET Alternative Implementation

14 Jul 2009, 7:57 AM
You can also take a look at my slightly modified version of Ext Direct router posted by Evan. Some of the changes I've made are:
Website instead of Webapplication
Instead of JSON.NET, this uses Microsoft's Javascript Serialization
Instead of separate DirectMethodAttribute for Form etc., added properties in the same. This way, we can extend it easily instead of remembering different attributes
Example of CRUD using a DataMapper class
Let me know what you think of these modifications.

The code is accessible at http://www.durlabh.com/extJS/extDirect/DotNet.zip

Live demo at: http://durlabh.com/extDirectSample/ and http://www.durlabh.com/extDirectSample/CRUD/Writer.html

18 Jul 2009, 5:10 AM

im using your router, sorry that i post here my problem too but from now on i will be posting here :)....
well i get the exception of this.directfn.apply in requestdata of treeloader... coukd you give me a clue of why is it happening??


18 Jul 2009, 6:02 AM
Hi Rothariger,

Are you using Evan's or mine? Any sample code?

- Durlabh

18 Jul 2009, 3:16 PM
im using this one (http://www.durlabh.com/extJS/extDirect/DotNet.zip) i suppose its yours...

i have copied the tree from your example... and my response its based in a linq to sql query... and returning a JsonRecords like your example...


19 Jul 2009, 7:52 PM

Perhaps we should start a new thread for yours to avoid any confusion. Thoughts?

20 Jul 2009, 3:29 AM

finally i found the problem yesterday, i dont know why, i put the full name, instead of namespace.class.funcion :P

thanks anyway...

20 Jul 2009, 5:32 AM
Hi Evan,

I suggest you start a new thread as even though there are only small modifications but some people might want to use the modifications from my router.

- Durlabh