• Stars
    star
    459
  • Rank 95,377 (Top 2 %)
  • Language
    C#
  • License
    MIT License
  • Created over 5 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

AutoFilterer is a mini filtering framework library for dotnet. The main purpose of the library is to generate LINQ expressions for Entities over DTOs automatically. The first aim is to be compatible with Open API 3.0 Specifications

Logo

AutoFilterer

AutoFilterer is a mini filtering framework library for dotnet. The main purpose of the library is to generate LINQ expressions for Entities over DTOs automatically. Creating queries without writing any expression code is the most powerful feature that is provided. The first aim of AutoFilterer is to be compatible with Open API 3.0 Specifications, unlike oData & GraphQL.

This library does not generate database queries directly. It generates LINQ Expressions.

You can check Documentation for getting started.

Nuget Docs CodeFactor .NET Pipeline Gitmoji

Getting Started

  • Install AutoFilterer NuGet package from here.

Vsit visit documentation to learn how to use AutoFilterer.

↗️ Open in Visual Studio Code


Usage

A quick example is presented below. Reading documentation is highly recommended for detailed features.

  • Create a filter model and make sure property names match to Entity properties.
public class ProductFilter : PaginationFilterBase
{
  public Range<double> Price { get; set; }

  [ToLowerContainsComparison]
  public string Name { get; set; }
  
  [StringFilteringOptions(StringFilterOption.Equals)]
  public string Locale { get; set; }
}
  public IActionResult GetProducts([FromQuery]ProductFilter filter)
  {
    var products = db.Products.ApplyFilter(filter).ToList();
    return Ok(products);
  }

Don't forget to visit Wiki for better understanding of usage.


AutoFilterer.Swagger

All parameters support OpenAPI 3.0 Specifications πŸ‘

Improve your swagger documentation via using AutoFilterer.Swagger


AutoFilterer.Generators

AutoFilterer.Generators aims to generate filter objects from entities automatically via using dotnet source generators.

Visit documentation of Generators


Performance

See Benchmark Results from here


Sponsors


Stats

Alt

More Repositories

1

Xamarin.Forms.InputKit

CheckBox, Radio Button, Labeled Slider, Dropdowns etc.
C#
567
star
2

UraniumUI

Uranium is a Free & Open-Source UI Kit for MAUI.
C#
561
star
3

Xamarin.Forms.Contacts

Read Contacts Data on iOS and Android
C#
58
star
4

DotNurseInjector

Simple, lightweight & useful Dependency Injector for dotnet.
C#
55
star
5

TreeView.Maui

A simple treeview control for MAUI
C#
36
star
6

Xamarin.Forms.Plainer

This library removes all visual effects from controls and makes them easy to style from portable layer instead of writing custom renderers always.
C#
33
star
7

Enisn.Abp.AspNetCore.Mvc.UI.Theme.Material

A simple material theme for ABP Framework
C#
23
star
8

AbpDevTools

A set of tools to make development with ABP easier.
C#
22
star
9

MarkdownDocumenting

AspNetCore Markdown Documenting
C#
20
star
10

Xamarin-Forms-Material-Cards

Material Design in Xamarin Forms
C#
18
star
11

Mastering-at-Source-Generators

Mastering at Source Generators example
C#
17
star
12

Modularity.AspNetCore

This library allows to develop plugin-based AspNetCore project development.
C#
14
star
13

OneSignal-PushNotification-from-Asp.NET-Web-API

Sends push notifications to specific mobile devices/device via OneSignal web API.
C#
13
star
14

Xamarin.Forms.MaterialKit

Componenets pack from Material.io for Xamarin Forms
C#
11
star
15

XamarinForms.PageBuilder

Xamarin forms pages can be created easily on your phone! Isn't it awesome ?
C#
10
star
16

dotnetconf2023-maui

#dotnetconf2023 - Reactive Programming with .NET MAUI
C#
9
star
17

Xamarin.Forms.DialogKit

Plugin Coming Soon... | Custom dialog types for different inputs like Color, string, number, radio buttons, checkboxes
C#
8
star
18

Xamarin.Forms.StateManager

A simple UI state manager for Xamarin Forms
C#
7
star
19

MyBook

A simple solution for writing a book with markdown and css styling option.
HTML
5
star
20

AbpCommunityTalks-2022.5

ABP Community Talks Demo
C#
5
star
21

abp-autofilterer-sample

A demonstrate about using AutoFilterer with ABP
C#
5
star
22

LogicalImageResizeAndCrop

Best result for cropping and resizing images
C#
4
star
23

enisn

Profile presentation
4
star
24

ABP-dotnet-template

dotnet template version of ABP Framework
C#
4
star
25

DotRealDb

A real-time database for ASpNetCore Backend which is powered with SignalR.
C#
3
star
26

notebook

This repository includes interactive notebook samples of enisn
3
star
27

Xamarin.Forms.SavableObject

SaveableObject Plugin Source Codes
C#
3
star
28

Plugin.BottomSheet

Bottom Sheet implementation for Xamarin Forms
C#
3
star
29

presentations

Presentations that I've done so far in public events
3
star
30

docker-development-environments

Quickly Set-up your development environment with docker
1
star
31

XamarinFormsColorPicker

Easily pick color in xamarin forms applications.
C#
1
star
32

Components.Mailer

Send emails with C# class libray in any platform
C#
1
star
33

TecoRP_GTMP

Offical TecoRP GTA 5 - GT:MP Server Files
C#
1
star
34

MauiApp7

Bug reproduction repository
C#
1
star
35

AutoAdminPanel

Automaticly provides CRUD for all tables from DBContext.
JavaScript
1
star
36

abp-blazor-wasm-to-server

This is a simple demo for how to convert blazor wasm to server.
C#
1
star
37

Blazorius.Charts

Charts implementations for blazor
C#
1
star
38

Blazorius.Toast

A Generic Toast Implementation for Blazor. You can choose a toast implementation as your wish.
C#
1
star
39

LoadingButton

Xamarin Forms animated button for loading proccesses. You can start animation and stop, when you stop a done icon will be shown which you set before
C#
1
star