Developer forum

Forum » Development » Webapi: ExecutingContext

Webapi: ExecutingContext

Anders Ebdrup
Anders Ebdrup
Reply

Dear Dynamicweb,

 

It will be nice to have a method in the class: ExecutingContext to see if the executing context is in the webapi. Can that be added?

 

Best regards, Andes


Replies

 
Nicolai Pedersen
Reply

Yeah, but it is basicaly just to check if /dwapi is part of the URL... And we try to write executing context out of DW!!

 
Anders Ebdrup
Anders Ebdrup
Reply

Dear Nicolai,

 

Yes, I know that we can check for "/dwapi", but this can be changed in the future, so I will be nice to have et wrapped in some way?

 

Best regards, Anders

 
Nicolai Pedersen
Reply

It will not change on DW9 as that would break compatibility... So that would be safe for now. And executing context will probably be written out.

 

You must be logged in to post in the forum