# AutoMapper
**Repository Path**: sesametech-group/AutoMapper
## Basic Information
- **Project Name**: AutoMapper
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2018-08-08
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://ci.appveyor.com/project/jbogard/automapper/branch/master)
[](https://www.nuget.org/packages/AutoMapper/)
[](http://myget.org/gallery/automapperdev)
### What is AutoMapper?
AutoMapper is a simple little library built to solve a deceptively complex problem - getting rid of code that mapped one object to another. This type of code is rather dreary and boring to write, so why not invent a tool to do it for us?
This is the main repository for AutoMapper, but there's more:
* [EF6 Extensions](https://github.com/AutoMapper/AutoMapper.EF6)
* [IDataReader/Record Extensions](https://github.com/AutoMapper/AutoMapper.Data)
* [Collection Extensions](https://github.com/AutoMapper/AutoMapper.Collection)
* [Microsoft DI Extensions](https://github.com/AutoMapper/AutoMapper.Extensions.Microsoft.DependencyInjection)
* [Expression Mapping](https://github.com/AutoMapper/AutoMapper.Extensions.ExpressionMapping)
### How do I get started?
First, configure AutoMapper to know what types you want to map, in the startup of your application:
```csharp
Mapper.Initialize(cfg => {
cfg.CreateMap();
cfg.CreateMap();
});
```
Then in your application code, execute the mappings:
```csharp
var fooDto = Mapper.Map(foo);
var barDto = Mapper.Map(bar);
```
Check out the [getting started guide](http://automapper.readthedocs.io/en/latest/Getting-started.html). When you're done there, the [wiki](http://automapper.readthedocs.io/en/latest/) goes in to the nitty-gritty details. If you have questions, you can post them to [Stack Overflow](http://stackoverflow.com/questions/tagged/automapper) or in our [Gitter](https://gitter.im/AutoMapper/AutoMapper).
### Where can I get it?
First, [install NuGet](http://docs.nuget.org/docs/start-here/installing-nuget). Then, install [AutoMapper](https://www.nuget.org/packages/AutoMapper/) from the package manager console:
```
PM> Install-Package AutoMapper
```
### Do you have an issue?
First check if it's already fixed by trying the [MyGet build](http://automapper.readthedocs.io/en/latest/The-MyGet-build.html).
You might want to know exactly what [your mapping does](http://automapper.readthedocs.io/en/latest/Understanding-your-mapping.html) at runtime.
If you're still running into problems, file an issue above.
### License, etc.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community.
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
AutoMapper is Copyright © 2009 [Jimmy Bogard](https://jimmybogard.com) and other contributors under the [MIT license](LICENSE.txt).
### .NET Foundation
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).