suaveio / suave.aspnetcore Goto Github PK
View Code? Open in Web Editor NEWASP.NET Core middleware to run Suave on top of ASP.NET Core
License: Apache License 2.0
ASP.NET Core middleware to run Suave on top of ASP.NET Core
License: Apache License 2.0
2018-10-29 08:57:21.8446 ERROR Suave.AspNetCore.SuaveErrorHandlerMiddleware+d__5.MoveNext - An unhandled exception has occured: Method not found: 'Void HttpRequest..ctor(System.String, System.Uri, System.String, HttpMethod, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple
2<System.String,System.String>>, Byte[], System.String, Microsoft.FSharp.Collections.FSharpList1<HttpUpload>, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple2<System.String,System.String>>, Suave.Logging.TraceHeader)'..System.MissingMethodException: Method not found: 'Void HttpRequest..ctor(System.String, System.Uri, System.String, HttpMethod, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple2<System.String,System.String>>, Byte[], System.String, Microsoft.FSharp.Collections.FSharpList
1, Microsoft.FSharp.Collections.FSharpList1<System.Tuple
2<System.String,System.String>>, Suave.Logging.TraceHeader)'.
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at Suave.AspNetCore.SuaveMiddleware.Invoke(HttpContext context)
at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context) at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at Suave.AspNetCore.SuaveMiddleware.Invoke(HttpContext context)
at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context)
2018-10-29 08:57:21.8564 ERROR Suave.AspNetCore.SuaveErrorHandlerMiddleware+d__5.MoveNext - An exception was thrown attempting to execute the error handler: Method not found: 'Void HttpRequest..ctor(System.String, System.Uri, System.String, HttpMethod, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple
2<System.String,System.String>>, Byte[], System.String, Microsoft.FSharp.Collections.FSharpList1<HttpUpload>, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple2<System.String,System.String>>, Suave.Logging.TraceHeader)'..System.MissingMethodException: Method not found: 'Void HttpRequest..ctor(System.String, System.Uri, System.String, HttpMethod, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple2<System.String,System.String>>, Byte[], System.String, Microsoft.FSharp.Collections.FSharpList
1, Microsoft.FSharp.Collections.FSharpList1<System.Tuple
2<System.String,System.String>>, Suave.Logging.TraceHeader)'.
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context) at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context)
2018-10-29 08:57:21.8674 ERROR Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol+d__188
1.MoveNext - Connection id "0HLHTFI4RP8N0", Request id "0HLHTFI4RP8N0:00000001": An unhandled exception was thrown by the application.System.MissingMethodException: Method not found: 'Void HttpRequest..ctor(System.String, System.Uri, System.String, HttpMethod, Microsoft.FSharp.Collections.FSharpList
1<System.Tuple2<System.String,System.String>>, Byte[], System.String, Microsoft.FSharp.Collections.FSharpList
1, Microsoft.FSharp.Collections.FSharpList1<System.Tuple
2<System.String,System.String>>, Suave.Logging.TraceHeader)'.
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing)
at Suave.AspNetCore.SuaveMiddleware.Invoke(HttpContext context)
at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context)
at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication1 application) at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing) at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Suave.AspNetCore.HttpContextExtensions.ToSuaveHttpContext(HttpContext context, Boolean preserveHttpHeaderCasing) at Suave.AspNetCore.SuaveMiddleware.Invoke(HttpContext context) at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context) at Suave.AspNetCore.SuaveErrorHandlerMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication
1 application)
Title says it all.
Please :)
Have you had any discussions with Suave's maintainers about making this an official thing? The prospect of using Suave and piggybacking on Kestrel is exciting.
It would be nice to hook up an existing Suave error handler into the ASP.NET Core pipeline. Either extend the current UseSuave
hook or provide an additional piece of middleware to do this.
Hey there,
I would like to use this tool.
Is it possible to update this tool to netstandard 2.0?
Hey I was trying to use the library in an application targeting 1.1 with the msbuild tools, but I see that there isn't currently a supported nuget target.
Would it be possible to add the target? I don't think the code would need to change.
Hi,
Is it possible to bump to Suave 2.1.0 and netcore 1.1 ?
Thanks in advance,
Sylvain
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.