Open Source .NET libraries that make your life easier
11–20 of 116 posts
Re: Open Source .NET libraries that make your life easier
#12To add to the author's list: * I seem to install Json.net in every .NET project I create (json serializer - thanks James Newton-King!) * NLog for logging. It's fantastic. * Dapper is also excellent (Micro ORM) (and anything written by Marc Gravell is generally top-notch - see protobuf-net, miniprofiler, StackExchange.Redis) * Automapper, to avoid writing boilerplate code to convert between similarly shaped types (E.G…
How does Automapper compare to Entity Framework? We use Elmah instead of Nlog, which is also fine. Looks like NLog is a bit more flexible than Elmah is. But Elmah is KISS which is nice.
It might not be really clear, sorry. Try to look on their website https://github.com/AutoMapper/AutoMapper/wiki/Getting-starte....
Re: Open Source .NET libraries that make your life easier
#13You guys should check these ones: * Hangfire( http://hangfire.io/ ): for background jobs. * Polly( https://github.com/michael-wolfenden/Polly ): For exception handling policies. Edit: formatting.
Re: Open Source .NET libraries that make your life easier
#14To add to the author's list: * I seem to install Json.net in every .NET project I create (json serializer - thanks James Newton-King!) * NLog for logging. It's fantastic. * Dapper is also excellent (Micro ORM) (and anything written by Marc Gravell is generally top-notch - see protobuf-net, miniprofiler, StackExchange.Redis) * Automapper, to avoid writing boilerplate code to convert between similarly shaped types (E.G…
How does Automapper compare to Entity Framework? We use Elmah instead of Nlog, which is also fine. Looks like NLog is a bit more flexible than Elmah is. But Elmah is KISS which is nice.
Automapper basically allows you to convert a DB Model to a DTO or a ViewModel.
Re: Open Source .NET libraries that make your life easier
#15Re: Open Source .NET libraries that make your life easier
#16Re: Open Source .NET libraries that make your life easier
#17To add to the author's list: * I seem to install Json.net in every .NET project I create (json serializer - thanks James Newton-King!) * NLog for logging. It's fantastic. * Dapper is also excellent (Micro ORM) (and anything written by Marc Gravell is generally top-notch - see protobuf-net, miniprofiler, StackExchange.Redis) * Automapper, to avoid writing boilerplate code to convert between similarly shaped types (E.G…
How does Automapper compare to Entity Framework? We use Elmah instead of Nlog, which is also fine. Looks like NLog is a bit more flexible than Elmah is. But Elmah is KISS which is nice.
Re: Open Source .NET libraries that make your life easier
#18Earlier quoted context omitted.
Never understood the point of Automapper when you can write explicit/implicit user defined typed conversions in C#.
could you elaborate a bit more on that?
Doesn't completely replace automapper
Re: Open Source .NET libraries that make your life easier
#19Re: Open Source .NET libraries that make your life easier
#20Earlier quoted context omitted.
How does Automapper compare to Entity Framework? We use Elmah instead of Nlog, which is also fine. Looks like NLog is a bit more flexible than Elmah is. But Elmah is KISS which is nice.
I think you're asking about Dapper (ORM) which could be compared to Entity Framework. The two major things to think about if comparing would be simplicity and speed. Dapper is simple to setup and use. It uses standard SQL and it's very fast. On the other hand, this is not a fair comparison. EF is has many more features and options. Use the right tool for the right job depending on requirements. Elmah and NLog are not…