Skip to content

AutomapperVsMapster: update to .NET 10 and current library versions - #2101

Open
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/74589-automapper-vs-mapster
Open

AutomapperVsMapster: update to .NET 10 and current library versions#2101
vladimir-pecanac-main wants to merge 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:seo/74589-automapper-vs-mapster

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Updates the dotnet-client-libraries/AutomapperVsMapster sample for the refreshed AutoMapper vs Mapster article.

  • Retarget all three projects to net10.0.
  • Bump packages to current stable: AutoMapper 16.2.0, Mapster 10.0.11, BenchmarkDotNet 0.15.8, Bogus 35.6.5, and the xunit/test SDK stack.
  • AutoMapper 15+ changed the MapperConfiguration constructor to require an ILoggerFactory; the standalone mapping examples now pass NullLoggerFactory.Instance.

dotnet build -c Release, dotnet test (14 passed) and the BenchmarkDotNet suite are green on net10.0.

…y versions

Update the sample to .NET 10 with AutoMapper 16.2.0, Mapster 10.0.11,
BenchmarkDotNet 0.15.8 and Bogus 35.6.5. AutoMapper 15+ changed the
MapperConfiguration constructor to require an ILoggerFactory, so pass
NullLoggerFactory.Instance in the standalone mapping examples. Build,
tests and benchmarks are green on net10.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant