dapper

Dapper DateTime to Protobuf TimeStamp

invalid cast from 'system.datetime' to 'google.protobuf.wellknowntypes.timestamp'

Arjun Krishna

2 minute read

I was trying blazor with Grpc-web in .net core and wanted it to work with a postgres sample table. I was feeling lazy and did not want to create a DTO object in between. This attempt to save time became a time waster very fast. :)