NodaTime
LINQKit
Our great sponsors
NodaTime | LINQKit | |
---|---|---|
18 | 6 | |
2,649 | 1,549 | |
1.4% | - | |
8.0 | 3.5 | |
6 days ago | 2 months ago | |
C# | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NodaTime
-
What your hidden nuget gems ?
Surprised no one mentioned https://github.com/nodatime/nodatime
-
moment.net: call for localization contributions
What does moment.net do better then a combination of (Humanizer)[https://github.com/Humanizr/Humanizer#humanize-datetime] and (NodaTime)[https://nodatime.org/]
- Ask HN: Examples of Top C# Code?
-
JDK 19 released
.NET's DateTime isn't amazing, it's true, but I think there's been some small improvements in that area recently. If you need something more robust, you can always reach for Noda Time.
-
How to handle time change when storing business hours
it's already been said... https://nodatime.org/
Use NodaTime. It's really nice to work with. It allows to store LocalTime (i.e. time of day). And then convert it to ZonedDateTime using some given LocalDate and DateTimeZone, which will adjust correctly for things like daylight savings. You can also easily convert a ZonedDateTime to UTC if needed or an unambiguous Instant which can be converted to any other time zone.
-
Ask HN: Codebases with great, easy to read code?
Noda time is very clean/well written IMO -> https://github.com/nodatime/nodatime
-
Please Put Units in Names
Yeah, before the new DateOnly (and TimeOnly) types, there was no built-in way in C# to specify a plain date. NodaTime[1] (a popular third-party library for datetime operations) did have such types though.
-
What is it about C# that you do NOT like compared to other languages?
But damn, I Just looked that up. It really does look like something I'll be showing the team. Really intuitive. https://nodatime.org/
LINQKit
-
What your hidden nuget gems ?
I also enjoy LinqKit (mentioned here). Really cool way to build a LINQ predicate.
-
Build dynamic Linq filters (aka. where() predicates)
Nice! At work we do something similar, but we use the predicate builder of linqkit: https://github.com/scottksmith95/LINQKit
What are some alternatives?
Linq.Expression.Optimizer - System.Linq.Expression expressions optimizer. http://thorium.github.io/Linq.Expression.Optimizer
dynamic-linq-query-builder - A truly generic and dynamic linq query builder to compliment jQuery QueryBuilder and other dynamic linq query generation needs
System.Linq.Dynamic.Core - The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
Dapper Extensions - Dapper Extensions is a small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs. For more advanced querying scenarios, Dapper Extensions provides a predicate system. The goal of this library is to keep your POCOs pure by not requiring any attributes or base class inheritance.
MongoDB Repository pattern implementation
DateTimeExtensions - This project is a merge of several common DateTime operations on the form of extensions to System.DateTime, including natural date difference text (precise and human rounded), holidays and working days calculations on several culture locales.
LINQ to DB - Linq to database provider.
Exceptionless.DateTimeExtensions - DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
Fluent NHibernate - Fluent NHibernate!
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
NHibernate - NHibernate Object Relational Mapper
NPoco - Simple microORM that maps the results of a query onto a POCO object. Project based on Schotime's branch of PetaPoco