C#




I use the context service as a singletone in the app. What do you think, is this a good way to initialize and use context the way like this (see below) is it better just to use it as disposable? See examples below and write the comments

(read more...)

Translate to German Error messages from Microsoft. AspNetCore. Identity. EntityFrameworkCore

In one Web Api Net Core solition I used Microsoft.AspNetCore.Identity.EntityFrameworkCore for Authentication. It’s really comfortable to work with this package because you a free from the implementation of all the methods and don’t spare much time. It also returns the text of errors, for example, that password is to short or special character is required. For me everything was ok, but the customer wanted to see the text in German.

(read more...)

MarkiMarta.com. Notes of web-specialist
Since 2009
18+