Integrations¶
FunQL .NET is designed with extensibility at its core, making it highly adaptable to different technologies and libraries in the .NET ecosystem. This section covers how popular .NET libraries can be integrated with FunQL.
Entity Framework Core¶
FunQL seamlessly integrates with Entity Framework Core, using IQueryable
LINQ expressions that EF Core efficiently translates into database queries. While this integration works out of the box,
you can enhance it further by implementing EF Core-specific optimizations, such as using CountAsync()
for improved
async performance with FunQL's count()
parameter.
Learn more about integrating Entity Framework Core →
NodaTime¶
Noda Time is a great alternative date and time API for .NET. Using NodaTime with FunQL requires
configuring JSON serialization to handle NodaTime types (Instant
, LocalDate
, LocalDateTime
). Additionally, to use
FunQL DateTime functions (year()
, month()
, day()
) with NodaTime types, you'll need to add a custom LINQ
translator.
Learn more about integrating NodaTime →
Newtonsoft.Json¶
FunQL uses System.Text.Json by default for JSON serialization, as it's built into .NET. For projects requiring Newtonsoft.Json (JSON.NET), FunQL allows for fully customizing the serialization process.