Skip to navigation Skip to content
Primary Menu
  • Home
  • About me

Anthony Giretti's .NET blog

Ain't no mountain high enough

Implement dynamic dependency injection in ASP.NET Core 2.2, example with multitenancy scenario
ASP.NET CORE ASP.NET Core 2.2 C# InjectionDependency

Implement dynamic dependency injection in ASP.NET Core 2.2, example with multitenancy scenario

anthonygiretti
2019-01-31

Introduction You have probably wondered whether it is possible to manipulate different instances of the same service according to a certain context in your application. Well, know that it is possible. I have prepared in this article a concrete example…

Read More
You will never give up a unit test anymore with ExpectedObjects in .NET Core
.NET Core UNIT TESTS

You will never give up a unit test anymore with ExpectedObjects in .NET Core

anthonygiretti
2019-01-21

Introduction Let’s be honest, who has never abandoned a unit test because it was long and hard to test? If you are reading this article it has probably happened to you, don’t be ashamed, because, in fact, I’am the first…

Read More
Duck casting in C# with Impromptu Interface, example with ASP.NET Core
ASP.NET CORE Duck Casting

Duck casting in C# with Impromptu Interface, example with ASP.NET Core

anthonygiretti
2019-01-21

Introduction First, “duck casting” is not “duck typing”. For those who want to know more about “duck typing” a very good link is available here: https://ericlippert.com/2014/01/02/what-is-duck-typing/. In this article I’m talking about “duck casting”, a technique that allows to use…

Read More
Easy DataTable mocking for a simpler unit test in .NET Core
.NET Core DataTable JSON Newtonsoft

Easy DataTable mocking for a simpler unit test in .NET Core

anthonygiretti
2019-01-14

Introduction Let’s face it, it all happened to us in our developer’s life to abandon a unit test because it was too tedious. For example the amount of data to mock was too great, but also, with some particularly heavy…

Read More
Common features in ASP.NET Core 2.2 WebApi: Mapping
ASP.NET Core 2.2 AutoMapper

Common features in ASP.NET Core 2.2 WebApi: Mapping

anthonygiretti
2018-12-19

  Common features in ASP.NET Core 2.1 WebApi: Authenticating with a JWT Common features in ASP.NET Core 2.1 WebApi: Validation Common features in ASP.NET Core 2.1 WebApi: Error handling Common features in ASP.NET Core 2.1 WebApi: Logging Common features in…

Read More
Common features in ASP.NET Core 2.2 WebApi: Caching
ASP.NET CORE ASP.NET Core 2.2

Common features in ASP.NET Core 2.2 WebApi: Caching

anthonygiretti
2018-12-17

  Common features in ASP.NET Core 2.1 WebApi: Authenticating with a JWT Common features in ASP.NET Core 2.1 WebApi: Validation Common features in ASP.NET Core 2.1 WebApi: Error handling Common features in ASP.NET Core 2.1 WebApi: Logging Common features in…

Read More
Common features in ASP.NET Core 2.2 WebApi: Profiling
ASP.NET CORE ASP.NET Core 2.2 MiniProfiler Profiling

Common features in ASP.NET Core 2.2 WebApi: Profiling

anthonygiretti
2018-12-16

  Common features in ASP.NET Core 2.1 WebApi: Authenticating with a JWT Common features in ASP.NET Core 2.1 WebApi: Validation Common features in ASP.NET Core 2.1 WebApi: Error handling Common features in ASP.NET Core 2.1 WebApi: Logging Common features in…

Read More
Common features in ASP.NET Core 2.1 WebApi: Documenting
ASP.NET CORE ASP.NET Core 2.1 Documentation

Common features in ASP.NET Core 2.1 WebApi: Documenting

anthonygiretti
2018-12-10

  Common features in ASP.NET Core 2.1 WebApi: Authenticating with a JWT Common features in ASP.NET Core 2.1 WebApi: Validation Common features in ASP.NET Core 2.1 WebApi: Error handling Common features in ASP.NET Core 2.1 WebApi: Logging Common features in…

Read More
ASP.NET CORE ASP.NET Core 2.1 Integration tests Test Server UNIT TESTS XUnit

Common features in ASP.NET Core 2.1 WebApi: Testing

anthonygiretti
2018-11-26

  Common features in ASP.NET Core 2.1 WebApi: Authenticating with a JWT Common features in ASP.NET Core 2.1 WebApi: Validation Common features in ASP.NET Core 2.1 WebApi: Error handling Common features in ASP.NET Core 2.1 WebApi: Logging Common features in…

Read More
Common features in ASP.NET Core 2.1 WebApi: Logging
ASP.NET CORE ASP.NET Core 2.1 Logging Serilog

Common features in ASP.NET Core 2.1 WebApi: Logging

anthonygiretti
2018-11-19

  Common features in ASP.NET Core 2.1 WebApi: Authenticating with a JWT Common features in ASP.NET Core 2.1 WebApi: Validation Common features in ASP.NET Core 2.1 WebApi: Error handling Common features in ASP.NET Core 2.1 WebApi: Logging Common features in…

Read More

Posts navigation

Older posts
Copyright © All rights reserved. Theme: Blog Elite by Themesaga