1. #361
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    372
    Vote Rating
    4
    ttbgwt is on a distinguished road

      0  

    Default


    Thanks Eugene.... Can you please create a full package, binaries, source code, and test application for MVC 4 like you have for MVC 3?

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

      0  

    Default


    The project has moved to GitHub. Head post has been updated, you may want to read it. Please update your bookmarks.

    Ext Direct for ASP.NET MVC on GitHub

  3. #363
    Ext JS Premium Member
    Join Date
    May 2008
    Posts
    372
    Vote Rating
    4
    ttbgwt is on a distinguished road

      0  

    Default


    You may want to add the category "Ext Direct" to your library listing in the sencha market.

    https://market.sencha.com/users/48/extensions/101

  4. #364
    Ext JS Premium Member canxss's Avatar
    Join Date
    Sep 2008
    Posts
    184
    Vote Rating
    3
    canxss is on a distinguished road

      0  

    Default System.Reflection.ReflectionTypeLoadException during DirectProvider.Configure

    System.Reflection.ReflectionTypeLoadException during DirectProvider.Configure


    Hi,

    We've been using this implementation since Ext JS 3.x and now we are trying to upgrade our app to Ext JS 4.x but we are having some problems with the initialization of DirectProvider.

    The problem is actions list is returning empty to the client. But this is't happening all the time. Sometimes it brings the correct, full list and sometimes it returns an empty list.

    We didn't understand why this was happening do we had to debug the source code and found that inside the configure method while looping assemblies and finding appropriate types we were getting an exception:

    A first chance exception of type 'System.Reflection.ReflectionTypeLoadException' occurred in mscorlib.dll

    The assembly that was causing the error is "Microsoft.Practices.EnterpriseLibrary.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null". But we still don't know why we don't get this error every time.

    There should be a way to exclude unnecessary assemblies or include the necessary ones. Especially in this case we just want our ASP.NET MVC project assembly to be checked for controllers\actions and not the others.

    Hope that you detect the problem and it is fixed soon.

    Thanks in advance

    Ipek

  5. #365
    Sencha User
    Join Date
    Nov 2012
    Location
    uk
    Posts
    7
    Vote Rating
    0
    Michael H is on a distinguished road

      0  

    Default


    In technology sector this forum is simply awesome that provided me amazing experience in using tech based products.
    .

  6. #366
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    124
    Vote Rating
    0
    JavascriptParrot is on a distinguished road

      0  

    Exclamation


    Hi all,

    I got a problem, after publishing my project to the webserver Ext.Direct works any more.
    The actions in the directapi file is empty:

    PHP Code:
    Ext.ns("Ext.app");
    Ext.app.REMOTING_API={  
    "type""remoting",  
    "url""/DirectRouter/Index",  
    "enableBuffer"10,  
    "maxRetries"1,  
    "timeout"5000,  
    "actions": {}
    }; 
    It has to work tomorrow because we have a meeting with the customer.
    Anybody knows what I'm doing wrong?

    Thanks!

  7. #367
    Touch Premium Member
    Join Date
    Nov 2011
    Posts
    124
    Vote Rating
    0
    JavascriptParrot is on a distinguished road

      0  

    Default


    I fix it!

    I download the source and add logging to the direct provider in the Config void, there was a problem with some Devexpress assemblies, I add a try catch and some logging, now it works fine!

    Maybe the try catch and logging can be add in the official source?

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

      0  

    Default


    Hi all,

    Although I haven't been able to actively participate in the thread lately, I listened to your complains and requests and made a few changes around assemblies.

    + Added the ability to specify the name of the assembly that contains your Direct methods. This can be done via the new "assembly" config option in the web.config file of your MVC project. Multiple assembly names can be specified if separated by comma. This setting is optional and if omitted then all the referenced assemblies will be scanned for Direct methods. For example right now in the test project it looks like this:
    Code:
    <configuration>
        <configSections>
            ...
            <section name="ext.direct" type="Ext.Direct.Mvc.ProviderConfiguration, Ext.Direct.Mvc"/>
        </configSections>
        <ext.direct
            assembly="Ext.Direct.Mvc4Test"
        />
        ....
    + Implemented a better way to extract types from each assembly. The new method should solve the issue when System.Reflection.ReflectionTypeLoadException is thrown.

    Get the latest source from the GitHub and let me know if these changes solve your problems.

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

      0  

    Default


    Ext.Direct.Mvc is now on NuGet

    I published two packages - one for MVC 3 and one for MVC 4. Search for Ext.Direct and install the one that corresponds to the version of ASP.NET MVC that you're using.

    Enjoy.

  10. #370
    Sencha User
    Join Date
    May 2012
    Posts
    49
    Vote Rating
    0
    anmol is on a distinguished road

      0  

    Default


    hi jcsarda,
    As your Get() function gets different parameters like start, limit, sort, dir.
    Can i make a class say 'TestClass' having four different parameters 'start, limit, sort,dir'.
    and can i send this class object from ExtJs to your serverside get function.
    If yes how to do that, how the serialization will happen ?

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi