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.

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.

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'.

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.

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.

Whatty

PS: This message was directed at the original authors of the Ext.Direct implementation

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.

Newbie Question

Newbie Question

Hello,

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?