Scottek utek
❔ ✅ custom mapper and resolvers
Hello, I've been trying to use automapper for a while, but now I've decided to just replace it with my own mapping methods, I've created static extension class, but there is one problem with it. Mapping class is now static, but my resolvers classed need to dependency inject services to work, how I am supposed to call my resolver in static class?
MappingExtensions:
DistanceResolver:
14 replies
✅ jwt authentication always returns 401
I'm trying to build a backend with .net & firebase, but I can not get over one specific problem. When I try to implement jwt, calling any endpoint just throws 401 error code (after logging in in swagger ofc). What am I doing wrong?
42 replies
❔ EntityFramework migrations PostgreSQL
I've been trying to set up migration in .NET, I have auto-generated migrate files, but there are some problems with it. When I try to execute this piece code:
It says:
42P17: parameter "locale" must be specified.
How should I edit "en-u-ks-primary,en-u-ks-primary,icu," to fix it?
I'm using entity-framework 5.0.7
13 replies