Live data from Hacker News

Open Source .NET libraries that make your life easier

thomasvm.github.io

101–110 of 116 posts

Re: Open Source .NET libraries that make your life easier

#101
post #30
post #4

To 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…

Was going to post Dapper, Automapper and RestSharp myself. I use ELMAH for logging but I'll give NLog a look!

Would give a headsup for Elmah and the MVC integration... It's pretty easy and awesome.

Re: Open Source .NET libraries that make your life easier

#102
post #4

To 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…

I'd add ImageResizer for resizing images ( and in MVC resizing them in a restfull way...). You can also localcache them or cache external images (resized). You can also store them in the cloud and add effects to the images.

Many things are possible : http://imageresizing.net/

It isn't possible in Asp.Net 5 (vNext) though :( - because of the cross platform integration.

Also, https://github.com/jamietre/CsQuery is pretty nice for parsing webpages and using CSS Selectors (jquery style)

With CsQuery, you could use aBot ( https://github.com/sjdirect/abot ) for crawling ;)

Re: Open Source .NET libraries that make your life easier

#103
Few more:

* ServiceStack - full-featured Services Framework https://github.com/ServiceStack/ServiceStack

* ServiceStack.OrmLite - Fast, Simple, Typed ORM for .NET https://github.com/ServiceStack/ServiceStack.OrmLite

* BCrypt.Net - A .Net port of jBCrypt implemented in C# http://bcrypt.codeplex.com/

* Stripe.net - .net api for Stripe https://github.com/jaymedavis/stripe.net

* TuesPechkin - .NET Wrapper for the wkhtmltopdf library (to generate PDFs) https://github.com/tuespetre/TuesPechkin

Re: Open Source .NET libraries that make your life easier

#104

With .NET going open source, I'd like to see what is out there for web services. Are there any linux-compatible .NET web servers/routers that I can use that have a similar feature set and performance to the Spray/Scala stack? C# or F#, but preferably F#. I've tried a couple (suave, nancy), but some simple benchmarks showed they were about half as scalable as spray.

Were those simple benchmarks running on Mono? .Net is certainly going open-source, but it hasn't arrived yet. It might be worth rerunning those benchmarks once .Net proper is available for *nix.

+1 on this - getting ASP.NET working really well on Linux/Mac, with first-party framework and VM, is the main goal for all of the in-flight .NET Core CLR open source stuff. That + console apps are literally all that's going to be supported, at least initially. Microsoft cares a lot about making this good.

Re: Open Source .NET libraries that make your life easier

#105
For those interested, here are the licenses each project is available under: (courtesy Evairfairy)

Hangfire --------

LGPL3 https://tldrlegal.com/license/gnu-lesser-general-public-lice...

Postal ------

MIT https://tldrlegal.com/license/mit-license#summary

Formo -----

MIT https://tldrlegal.com/license/mit-license#summary

CsvHelper ---------

MS-PL https://tldrlegal.com/license/microsoft-public-license-(ms-p... Apache https://tldrlegal.com/license/apache-license-2.0-(apache-2.0...

Topshelf --------

Apache https://tldrlegal.com/license/apache-license-2.0-(apache-2.0...

Re: Open Source .NET libraries that make your life easier

#106
Great list, but could use more F# love!

Lots of cool/useful open source projects are always popping up in the F# community - http://fsharp.org/community/projects/

Favs of mine from that list: Visual F# Power Tools, FSharp.Data.SqlClient, FsEye, Fantomas, R type provider

Re: Open Source .NET libraries that make your life easier

#107
post #85

Does anyone have recommendations for frameworks or libraries for implementing CQRS and distributed processing of large sets of data through DDD? I've found some different options including Lokad, NServiceBus, MassTransit, MPAPI, but would love to hear what, if any, tools HN users are utilizing.

I started use Circus. New and in active development. Greg Young mentioned at GOTO talk last year ( https://www.youtube.com/watch?v=8JKjvY4etTY&t=2712 ) https://github.com/d60/Cirqus/

Thank you. I hadn't heard of this one, so thanks for linking this and the video.

Re: Open Source .NET libraries that make your life easier

#108

Earlier quoted context omitted.

> RestSharp makes talking to RESTful apis easier. Another interesting library for doing REST APIs is Refit: https://github.com/paulcbetts/refit

Damn, thanks for pointing me in that direction. It's exactly what I've been looking for. Technically, I implemented some of that stuff myself because I needed REST client that would work with PCLs and be a bit 'nicer' to use than just juggling strings/routes everywhere, so using annotations and wrapping Microsoft's HttpClient was obvious and relatively easy way out. Anyway, I'll probably just phase out my own solutio…

RefitStubs is necessary because on certain platforms (iOS, WinRT), you cannot JIT and therefore can't use something like Castle Core to generate a class

Re: Open Source .NET libraries that make your life easier

#109
My personal list:

* RestfulRouting http://restfulrouting.com/ - must have

* Turbolinks for .net https://github.com/kazimanzurrashid/aspnetmvcturbolinks

* Flash messages for .net https://github.com/khalidabuhakmeh/MvcFlash

* Fixie, unit testing https://github.com/fixie/fixie

* Entity Framework testing tool http://effort.codeplex.com/

* Automapper, AutoFixture, FluentValidation - mentioned already

* StructureMap - IoC

Post reply on HN