1. #221
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    NL
    Posts
    607
    Vote Rating
    1
    mdissel is on a distinguished road

      0  

    Default


    I want to discuss a change in detecting "IsDirectMethod":
    - remove the assembly configuration and just scan every assembly (skipping 'known assemblies like system.*')
    - optionally add a skipAssembly configuration to configure assemblies that can be skipped
    - change the IsDirectMethod to:

    Code:
    internal static bool IsDirectMethod(this MethodInfo method) {
    	if (method.ReturnType == typeof(DirectResult) || method.ReturnType.IsSubclassOf(typeof(DirectResult)))
    		return true;
    	if (method.ReturnType == typeof(ActionResult) || method.ReturnType.IsSubclassOf(typeof(ActionResult)))
    		return method.HasAttribute<DirectIncludeAttribute>();
    	return false;
    }
    Thanks

  2. #222
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Why would you want to scan all assemblies? I think most of the time in an average project there will be one assembly containing Direct controllers. Also in our project, for example, we are using quite a few third-party assemblies and it is much easier to specify which assemblies to scan (in our case it's only one) as opposed to which to skip.

  3. #223
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    NL
    Posts
    607
    Vote Rating
    1
    mdissel is on a distinguished road

      0  

    Default


    In our situation we are working with "plugin" controllers... Every customer can have more or less controllers, changing config files is something we want to avoid. (convention over configuration)

  4. #224
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Interesting. I need to have a think on this one How can I see your code that scans all assemblies except system.*?

  5. #225
    Ext JS Premium Member
    Join Date
    Jul 2009
    Location
    Seattle, Washington USA
    Posts
    200
    Vote Rating
    0
    geewhizbang is on a distinguished road

      0  

    Default


    I am beginning a new project that has a WCF Service handling all of the backend requests.

    I liked the code we ended up on my last job with the Ext.Direct handler, so my question for this WCF architecture, is using your Ext.Direct handler a good way to go?

    Or would this be an unnecessary abstraction for this project?

    I'm thinking that it would be fairly easy to write a filter that writes out direct request functions for all of the functions exposed by the WCF object.

  6. #226
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    Can't say, I am not familiar with WCF at all.

  7. #227
    Sencha User
    Join Date
    Jan 2010
    Posts
    5
    Vote Rating
    0
    zam6ak is on a distinguished road

      0  

    Default support for .NET v4

    support for .NET v4


    Wiki page says that .NET 3.5 is requird...
    http://code.google.com/p/ext-direct-...guringAndUsing

    Will this work for .NET v4 ?
    Will it work with latest JSON.NET releases? (Release 8)

  8. #228
    Ext JS Premium Member
    Join Date
    Nov 2008
    Location
    Warsaw area, Poland
    Posts
    64
    Vote Rating
    1
    nightwatch is on a distinguished road

      0  

    Default Another ASP.Net MVC implementation of Ext Direct

    Another ASP.Net MVC implementation of Ext Direct


    I don't remember if I ever posted it here, but some time ago I have implemented my own version of Ext Direct stack as a part of 'boson-mvc' project. It's an open source library so you can use it freely. My implementation is based on Castle Windsor container. The source code can be compiled under vs 2010 and I don't provide a binary version as for now. The project contains also the 'boson' view engine for generating dynamic json or xml from asp.net mvc views.
    Boson mvc is used in production software so it's been tested and is mature somehow. Unfortunately the documentation is non existent so you'll have to figure out everything yourself.Anyway I hope someone will find it useful.
    Address: http://code.google.com/p/boson-mvc/

  9. #229
    Sencha User
    Join Date
    Jan 2008
    Location
    Toronto, Canada
    Posts
    480
    Vote Rating
    4
    elishnevsky is on a distinguished road

      0  

    Default


    zam6ak, I've just converted the project to VS 2010 and compiled with .NET 4.0. Also updated Json.NET dll to the latest. Please download it from the project homepage on Google Code: http://code.google.com/p/ext-direct-mvc/

    nightwatch, this topic is only for discussing my Ext.Direct .NET library for ASP.NET MVC. If you want to promote and discuss your implementation, please start a new topic. Thanks.

  10. #230
    Ext JS Premium Member
    Join Date
    Nov 2008
    Location
    Warsaw area, Poland
    Posts
    64
    Vote Rating
    1
    nightwatch is on a distinguished road

      0  

    Default


    sorry, I thought it's about all asp.net mvc implementations.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar