[Mono-dev] PR #1365: [asp.net] Implement the EventHandlerTaskAsyncHelper and HttpTaskAsyncHandler classes

Martin Thwaites monoforum at my2cents.co.uk
Sun Oct 26 14:49:31 UTC 2014


Thanks Kornel,

I've still a few bits of complicated to complete, but I'll feedback as soon
as they are done.

Martin

On 26 October 2014 14:46, Kornel Pal <kornelpal at gmail.com> wrote:

>  Hi,
>
> I've found this, that fits Miguel's description:
>
> http://stackoverflow.com/questions/9562836/whats-the-meaning-of-usetaskfriendlysynchronizationcontext
>
> My PR is is independent of any such changes, and given the API design, I
> would be surprised if MS implemented some special handling of these classes.
>
> As for your requirements, I would give aspnetwebstack a try with the
> current pipeline before refactoring the request processing pipeline.
>
> Thank you.
>
> Kornel
>
>
> On 10/26/2014 2:50 PM, Martin Thwaites wrote:
>
>  Hi Miguel,
>
>  Does that have implications in regards to this PR? i.e. is it just that
> it doesn't solve the problem, or that the implementation here is wrong?
>
>  Thanks,
> Martin
>
> On 26 October 2014 13:46, Miguel de Icaza <miguel at xamarin.com> wrote:
>
>> Hello,
>>
>>  The asynchronous pipeline was discussed in various blogs/interviews.
>> Some switch enables apparently an entirely different flow inside asp.net.
>> The surface changes were minimal, which is why you won't likely find an
>> API.
>>
>>
>> On Sunday, October 26, 2014, Kornel Pal <kornelpal at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Inspired by the ASP.NET 4.5 Async Pipeline email thread started by
>>> Martin Thwaites, I realized that there actually is no new async pipeline in
>>> ASP.NET 4.5, it merely provides wrappers around tasks to ease
>>> interfacing with the old async pipeline.
>>>
>>> I've looked around a bit, but found no suitable implementation for the
>>> wrapper, so I've created several unit tests to figure out the MS.NET
>>> behavior. At the end I came up with TaskAsyncResult, a general purpose TAP
>>> to APM wrapper.
>>>
>>> Please review my pull request: https://github.com/mono/mono/pull/1365
>>>
>>> Thank you.
>>>
>>> Kornel
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141026/7342e378/attachment.html>


More information about the Mono-devel-list mailing list