16 Nov 2009 9:12 PM #101
Ah... so the .6 in the first post is the recommended method and template then? I started with the one on the downloads page and it sets up 2 ASHX pages like api and direct handler so you can use class files directly without all the setup but the debugging is a pain in the butt. I don;t mind having my DirectMethod in a ASHX file like the .6 example here... just didn;t know what I should use for production.
17 Nov 2009 3:50 AM #102
Yeah, I don't know that I've ever used the one from the zip - I've always used 0.6.
If you search back through the posts here in this thread, I uploaded a newer version (consider it a fork for now) that adds some features and reworks a couple things. (which are again mentioned further up in the thread) It's based off of 0.6 and includes some features that I hope they will include in their version.
17 Nov 2009 12:38 PM #103
Question for Mr. Sanders... does your version handle the upgraded Newtonsoft library to r5? I have run into a problem ever since upgrading where the JsonConvert.SerializeObject method now throws an error:
Expected a JsonObjectContract or JsonDictionaryContract for type 'System.Collections.Generic.List`1[Ext.Direct.DirectRequest]', got 'Newtonsoft.Json.Serialization.JsonArrayContract'.
17 Nov 2009 3:44 PM #104
Heh, well then I think that answers that question...
I haven't messed with my Json.net in a while on my current project, using this code so I haven't run into it yet. Probably a minor tweak to the interface when its calling to serialize or deserialize something.
If someone wants to fix it and repost, that'd be awesome. Otherwise I'll get to it as soon as I can.
18 Nov 2009 6:44 AM #105
How to use it with paging grid
How to use it with paging grid
Hi, can anyone tell me how to use this library (router) with a paging grid?
20 Nov 2009 4:16 AM #106
23 Nov 2009 3:53 PM #107
- Join Date
- Apr 2007
- Sydney, Australia
- Vote Rating
The correct version is in the first post, 0.6.
I'll try to get a paging example up soon.Evan Trimboli
Twitter - @evantrimboli
Don't be afraid of the source code!
18 Dec 2009 5:00 AM #108
I am wondering if you happen to have been following the DirectJngine implementation specifically the integration with Spring.
I would love to have the same type of integration with the Ext.Direct on the .NET side with Spring support but am reluctant to crack it open and start making modifications especially if the base code changes underneath me.
In particular I would love to see extensions similar to what the DirectJngine supports so that I can extend the behavior at certain key points, thereby enabling Spring based object lookup and automagical session scope management (i.e. session stuffing).
Additionally, I have a project with many dependent sub-projects where most of code actually lives and I have had to bring my action classes up to the base project just so the ApiHandler can resolve to the [DirectAction] classes, it would be nice to be able to provide so sort of sub-assembly support.
PS: This message was directed at the original authors of the Ext.Direct implementation
26 Dec 2009 10:45 AM #109
There are now so many implementations that it is difficult to know what a good starting point is for Ext.Direct and .NET. Also therefore, I would like to keep using this 'Ext-connected' version of the Ext.Direct .NET Router. I will keep monitoring this thread.
12 Jan 2010 11:09 AM #110
I am new to Ext JS and I have tried running several of the Ext.Direct for .Net samples and I must be doing something wrong. The samples run however every click results in a 30-60 second delay before anything happens. Even the initial page load is extremely slow. I am running the samples on a Windows XP workstation. I do have the 1.1, 2, 3, adn 3.5 frameworks loaded on my machine. I've also tried running the sample on a Windows 2003 SR2 server and they run a little faster but not much. Is there anything that I need to do besides configuring an IIS application to point to one of the samples in order the sites to run?