Skip to content

AutoMapper optimisation or an issue? #3619

Answered by jbogard
antonlyhin asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Destination member names follow the exact name of the source type. Isn't this responsibility of .NET Framework, C# is strongly typed language?

I'm not sure what you mean here. It's the responsibility of the person creating the destination types. I can name destination members differently, nothing in C# enforces a convention.

  1. This statement is also not always true. Do you know that MVC DI extension checks destination type mappings, but Local and Profile configurations do not.

I don't know what you're referring to as "Local" and "Profile" configurations, nor what this has to do with MVC DI.

  1. Statement about NullReferenceExceptions is also a bit confusing because you state that "On top o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lbargaoanu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3618 on April 03, 2021 17:02.