Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • K.Garrein 162 posts 626 karma points
    Jul 18, 2012 @ 10:56
    K.Garrein
    0

    Base RestExtension without compiled DLL possible?

    Is it possible to use a RestExtension (Base) without compiling a DLL?

    If at all possible I would like to just place my RestExtensionMethod in the App_Code folder.

     

    Thanks.
    K.

  • Douglas Ludlow 210 posts 366 karma points
    Jul 18, 2012 @ 16:13
    Douglas Ludlow
    0

    Sure, just drop the .cs file into the App_Code folder. Any code files in the App_Code folder will run as if it were compiled.

  • K.Garrein 162 posts 626 karma points
    Jul 19, 2012 @ 08:56
    K.Garrein
    0

    :-)

    Okay, but what do I use for the assembly parameter in the rest configuration file then?

    K.

  • Douglas Ludlow 210 posts 366 karma points
    Jul 19, 2012 @ 17:23
    Douglas Ludlow
    0

    You actually don't need to reference the the RestExtension in the restExtensions.config. All of the config settgins can be added to the RestExtension using the RestExtension annotations.

     

  • K.Garrein 162 posts 626 karma points
    Jul 19, 2012 @ 17:57
    K.Garrein
    0

    Cool, will check that out tomorrow :-)

    Thank you.
    K.

  • K.Garrein 162 posts 626 karma points
    Jul 20, 2012 @ 09:04
    K.Garrein
    0

    Works good, thank you very much :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies