NodaTime
LINQKit
Our great sponsors
NodaTime | LINQKit | |
---|---|---|
18 | 6 | |
2,676 | 1,565 | |
2.2% | - | |
8.0 | 3.5 | |
25 days ago | 3 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.
-
The counter was reset today, we were almost into the double digits
Do you .NET programmers have a moment to talk about my personal Lord and Savior NodaTime? https://nodatime.org/ There is one datetime library, and Jon Skeet is His messenger.
- Noda Time | Date and time API for .NET
-
How to remove underscore from Enum
Timezone and language support are two different subjects. For time-related issues, Nodatime can help.
- please tell me there's an easier way in angular and c# .net core to handle timezones
-
How to handle time change when storing business hours
it's already been said... https://nodatime.org/
-
Ask HN: Codebases with great, easy to read code?
Noda time is very clean/well written IMO -> https://github.com/nodatime/nodatime
LINQKit
-
What your hidden nuget gems ?
I also enjoy LinqKit (mentioned here). Really cool way to build a LINQ predicate.
-
EF Core Include where
I would suggest to install LINQKit Configure DbContextOptions: cs builder .UseSqlServer(connectionString) .WithExpressionExpanding(); // enabling LINQKit extension
- Як я мігрував з EF 6 до EF Core 5
-
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
-
Expression<Func<T>> usage in filters and sorting
To answer your other question, you can use something like PredicateBuilder to compose predicates for use in Where and OrderBy methods. To define your OrderBy with a boolean (or string or enum) to denote the ordering, you would have to make an extension method like so:
What are some alternatives?
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.Expression.Optimizer - System.Linq.Expression expressions optimizer. http://thorium.github.io/Linq.Expression.Optimizer
Exceptionless.DateTimeExtensions - DateTimeRange, Business Day and various DateTime, DateTimeOffset, TimeSpan extension methods
dynamic-linq-query-builder - A truly generic and dynamic linq query builder to compliment jQuery QueryBuilder and other dynamic linq query generation needs
UnitsNet - Makes life working with units of measurement just a little bit better.
System.Linq.Dynamic.Core - The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
kal - A powerful, easy-to-use, and easy-to-read programming language for the future.
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.
Enums.NET - Enums.NET is a high-performance type-safe .NET enum utility library
MongoDB Repository pattern implementation
spiped - Spiped is a utility for creating symmetrically encrypted and authenticated pipes between socket addresses.
LINQ to DB - Linq to database provider.