From issues-return-41657-archive-asf-public=cust-asf.ponee.io@openwhisk.apache.org Thu Nov 28 15:54:28 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id D6C3318064C for ; Thu, 28 Nov 2019 16:54:27 +0100 (CET) Received: (qmail 18113 invoked by uid 500); 28 Nov 2019 15:54:27 -0000 Mailing-List: contact issues-help@openwhisk.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.apache.org Delivered-To: mailing list issues@openwhisk.apache.org Received: (qmail 18101 invoked by uid 99); 28 Nov 2019 15:54:27 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Nov 2019 15:54:27 +0000 From: GitBox To: issues@openwhisk.apache.org Subject: [GitHub] [openwhisk-runtime-dotnet] shawnallen85 commented on issue #26: Raw requests to skip JObject conversion Message-ID: <157495646708.28838.3223238443478346216.gitbox@gitbox.apache.org> Date: Thu, 28 Nov 2019 15:54:27 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit shawnallen85 commented on issue #26: Raw requests to skip JObject conversion URL: https://github.com/apache/openwhisk-runtime-dotnet/issues/26#issuecomment-559542867 I'll try to take a look at speeding up the JSON aspect of things. I have been thinking about adding some sugar to the codebase that would allow an object to be defined (rather than JObject) that we would take the incoming JSON and automatically deserialize it to the object and same on the output -- serialize the object to JSON and return it to the calling method. This would allow you to do something like async Task Handler(AddPerson person). Do you think that would be beneficial? I'll have to look at the Stream side of things a bit more -- I don't think we would want the full raw request stream going to the client. I don't think AWS' implementation for supporting Stream provides the full raw request, but a Stream based on specific events (S3, etc.) and specific to the objects in those requests. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services