net core

Fix the error in loading PFX certificate in Azure service app

For a prototype I loaded a pfx certificate from file system of Azure App. It can be done only while test!!And I got the error “Exception Info: System.Security.Cryptography.CryptographicException: The system cannot find the file specified.“ Read more»

Azure

5 steps of how to add and use AutoMapper in .Net Core project

AutoMapper is a simple little library which allows you to make less code for transforming objects of one class to another. It’s a must-have library for any complex project. There is a short scenario in 5 steps how to add and use AutoMapper in a new Net Core project with REST API. Read more»

.Net & C#

Fix Download publish profile in Azure is disabled

When you want to download a publish profile for the service in Azure, there can be an error, that basic authentication is disabled. Read more»

Azure

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. […] Read more»

.Net & C#

How to add test data for the development and tests in EF Core

There’s a nice online tool for rendering the test data. It’s at the website https://www.mockaroo.com/. I often use it to render fake SQL data. But now I am working on a Net application with EF Core. And obviously, I need test data for webservices and interfaces. Below is the way to quickly insert the test […] Read more»

.Net & C#

Popular Posts