Base solution for your next web application
Open Closed

Automapper Replacement #12568


User avatar
0
dev.touchpoint created

Hi Support,

Referencing article published in Medium by Alper: https://medium.com/volosoft/best-free-alternatives-to-automapper-in-net-why-we-moved-to-mapperly-c8c2f46f91dd

It mentioned Automapper to be replaced with Mapperly due to the change to commercial licensing. I would like to clarify the following:

  1. Will this impact AspNetZero? If yes, when?
  2. Is there any formal announcement of transitioning to Mapperly?
  3. Unfortunately, I was not able to read the full published article as shown. I am a follower of Alper but this is the only article that's member-only, wonder if it was incorrectly set.

Thank you and look forward to hear from you.

Kind regards, /Tommy

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

6 Answer(s)
  • User Avatar
    0
    dev.touchpoint created

    There was a related question posted 7 months ago: https://support.aspnetzero.com/QA/Questions/12418/AutoMapper---will-be-paid

    May I know what's the latest decision now that Automapper has officially announced its commercial license model.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @dev.touchpoint

    Thank you for reaching out. You can access the full version of the article via the following link.

    Currently, ASP.NET Zero is still using the free version of AutoMapper. The transition to Mapperly is planned for an upcoming release. On the ASP.NET Boilerplate side, the migration to Mapperly has already been completed. We plan to release it after the Mapperly migration from ASP.NET Boilerplate to ASP.NET Zero is completed.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    dev.touchpoint created

    Hi @oguzhanagir

    Thank you for the full article link. Glad to hear migration to Mapperly has progressed and pending final release for ASP.NET Zero. Is there a target release date?

    Many thanks.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @dev.touchpoint

    After the release of .NET 10, we are planning to publish version 15.0. However, the transition to Mapperly may not take place in this version. The move to Mapperly is expected to occur in later releases, along with the migration from ASP.NET Boilerplate to ASP.NET Zero. In the upcoming version, using AutoMapper will not require a commercial license.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    sailoper created

    It looks like MultiLingualMapping not impelmented in Mapperly yet. What is the current status of multilingual mapping support in Mapperly for ASP.NET Zero? Is there any planned replacement or built-in solution for MultiLingualMap?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @sailoper

    As of v11.1.0, the Abp.Mapperly package already includes the IAbpMapperlyMultiLingualMapper<TEntity, TEntityPK, TTranslation, TTranslationPK, TDest> interface. Multilingual entity scaffold templates in the RAD Tool have been updated to be Mapperly-based (a total of 5 MapperBase<> classes are generated: 3 for the entity and 2 for the translation). Existing AppService code invokes these mappers indirectly via ObjectMapper.Map<>(). Unlike AutoMapper, there is no separate .MapMultiLingual() extension method; instead, this is handled by directly injecting the IAbpMapperlyMultiLingualMapper interface.

    Here are the bug fixes for the multilingual entity structure in Power Tools, and we are working on them. We expect to complete them and release a new version as soon as possible. Related Issue

    Please feel free to contact us if you need more information.

    Thank you

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)