Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
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.
:-)
Okay, but what do I use for the assembly parameter in the rest configuration file then?
K.
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.
Cool, will check that out tomorrow :-)
Thank you.K.
Works good, thank you very much :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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.
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.
:-)
Okay, but what do I use for the assembly parameter in the rest configuration file then?
K.
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.
Cool, will check that out tomorrow :-)
Thank you.
K.
Works good, thank you very much :)
is working on a reply...