From abc3efa7f684547f7d324a01abc0406e8ecdbb9b Mon Sep 17 00:00:00 2001 From: farisbasha Date: Tue, 17 Nov 2026 22:54:07 +0530 Subject: [PATCH] docs: fix dead AutoMapper documentation links docs.automapper.org no longer serves the AutoMapper docs (HTTPS handshake fails, HTTP returns 409); the docs are at docs.automapper.io. --- .../domain-driven-design/application-services.md | 2 +- .../framework/infrastructure/object-to-object-mapping.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/en/framework/architecture/domain-driven-design/application-services.md b/docs/en/framework/architecture/domain-driven-design/application-services.md index a2d2db5acc..f6e0b0a606 100644 --- a/docs/en/framework/architecture/domain-driven-design/application-services.md +++ b/docs/en/framework/architecture/domain-driven-design/application-services.md @@ -482,7 +482,7 @@ public class BookProjector : IQueryProjector } ```` -You don't have to write the `Select` by hand. Both [Mapperly](https://mapperly.riok.app/) and [AutoMapper](https://docs.automapper.org) can project an `IQueryable`, refer to their own documentation for it and to the [object to object mapping document](../../infrastructure/object-to-object-mapping.md) for their ABP integrations. Your existing maps are not used for the projection, a projector is always a class implementing `IQueryProjector`. +You don't have to write the `Select` by hand. Both [Mapperly](https://mapperly.riok.app/) and [AutoMapper](https://docs.automapper.io) can project an `IQueryable`, refer to their own documentation for it and to the [object to object mapping document](../../infrastructure/object-to-object-mapping.md) for their ABP integrations. Your existing maps are not used for the projection, a projector is always a class implementing `IQueryProjector`. ABP registers the projectors by convention, you don't need to configure anything else. Implement a projector once for an entity and DTO pair, and use the `ReplaceServices` option of the `DependencyAttribute` to replace an existing one. Filters (like soft delete and multi-tenancy), sorting and paging are still applied to the query before the projection. diff --git a/docs/en/framework/infrastructure/object-to-object-mapping.md b/docs/en/framework/infrastructure/object-to-object-mapping.md index 4c088ed760..5217345b81 100644 --- a/docs/en/framework/infrastructure/object-to-object-mapping.md +++ b/docs/en/framework/infrastructure/object-to-object-mapping.md @@ -101,9 +101,9 @@ Once you define mappings described as below, you can use the `IObjectMapper` int ### Define Mappings -AutoMapper provides multiple ways of defining mapping between classes. Refer to [its own documentation](https://docs.automapper.org) for all details. +AutoMapper provides multiple ways of defining mapping between classes. Refer to [its own documentation](https://docs.automapper.io) for all details. -One way to define object mappings is creating a [Profile](https://docs.automapper.org/en/stable/Configuration.html#profile-instances) class. Example: +One way to define object mappings is creating a [Profile](https://docs.automapper.io/en/stable/Configuration.html#profile-instances) class. Example: ````csharp public class MyProfile : Profile @@ -132,11 +132,11 @@ public class MyModule : AbpModule } ```` -`AddMaps` registers all profile classes defined in the assembly of the given class, typically your module class. It also registers for the [attribute mapping](https://docs.automapper.org/en/stable/Attribute-mapping.html). +`AddMaps` registers all profile classes defined in the assembly of the given class, typically your module class. It also registers for the [attribute mapping](https://docs.automapper.io/en/stable/Attribute-mapping.html). ### Configuration Validation -`AddMaps` optionally takes a `bool` parameter to control the [configuration validation](https://docs.automapper.org/en/stable/Configuration-validation.html) for your [module](../architecture/modularity/basics.md): +`AddMaps` optionally takes a `bool` parameter to control the [configuration validation](https://docs.automapper.io/en/stable/Configuration-validation.html) for your [module](../architecture/modularity/basics.md): ````csharp options.AddMaps(validate: true);