Reza Bayesteh
Reza Bayesteh
@skoruba Are you going to use React for all the pages including Login? What about using Blazor (server side)?
I can confirm that the issue still presents in 3.1 and as @meriturva mentioned it's very easy to reproduce: Send OPTIONS or POST request to index.html using postman
Here is my workaround: ``` public static IApplicationBuilder UseRootRewrite(this IApplicationBuilder builder) { builder.Use((context, next) => { if (context.Request.Path == "/" && !HttpMethods.IsGet(context.Request.Method)) { context.Request.Method = "GET"; } return next(); });...
@caseysick Here is the complete solution: ``` public static class ApplicationBuilderExtensions { public static IApplicationBuilder UseRootRewrite(this IApplicationBuilder builder) { string[] excludeUrls = new[] { "/sockjs-node" }; builder.Use((context, next) => {...
@naveedahmed1 I got the same errors today using angular cli 7 rc3
I still have this problem in 7.3.3!
It seems that Dapper does not set Kind property to DateTimeKind.Utc when dealing with DateTime. Based on the new breaking changes in npgsql, Kind must be set to DateTimeKind.Utc to...
This particular example is for inputs and I know for sure that the passed value is indeed DateTime with UTC kind. Npgsql does not do any conversion anymore and instead...
Ok, I think I kind of know what is going on. When DbType is set to DbType.DateTime, Npgsql maps it to NpgsqlDbType.Timestamp (https://github.com/npgsql/npgsql/blob/dba60fb5a87bc6d661bbdcd2a31be687edfc10e9/src/Npgsql/TypeMapping/GlobalTypeMapper.cs#L435) and later in NpgsqlParameter class (https://github.com/npgsql/npgsql/blob/dba60fb5a87bc6d661bbdcd2a31be687edfc10e9/src/Npgsql/NpgsqlParameter.cs#L505), TimestampHanler...
The simplest solution is to create a custom converter: ``` public class TimeSpanConverter : JsonConverter { public override TimeSpan Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) { return TimeSpan.Parse(reader.GetString()); }...