Milan Jovanović’s Post

View profile for Milan Jovanović, graphic
Milan Jovanović Milan Jovanović is an Influencer

Practical .NET and Software Architecture Tips | Microsoft MVP

Did you know you can ignore EF Query FIlters? Query filters are applied to all LINQ queries. However, if you use the IgnoreQueryFilters method, you can ignore them for that specific query. EF Query Filters are an awesome approach for tenant-based applications. Here's how you can use them in multi-tenant applications: https://lnkd.in/eKnabrRz --- Do you want to simplify your development process? Grab my free Clean Architecture template here: https://bit.ly/4fCzIOp

  • No alternative text description for this image
Milan Jovanović

Practical .NET and Software Architecture Tips | Microsoft MVP

1d

Here's a FREE Clean Architecture template to speed up your development: https://bit.ly/3Ap3qaZ

Like
Reply
Ayman Anaam

Dynamic Technology Leader | Innovator in .NET Development and Cloud Solutions

1d

This is an insightful tip about Entity Framework (EF) query filters, especially for developers working on multi-tenant applications.  Query filters are often used for implementing soft deletes or multi-tenancy by adding global conditions to entities. While convenient, there are times when bypassing them is necessary, such as when performing administrative tasks or running diagnostics.

Thoma Koli

Polymath, Aesthete, Life Enthusiast posting educational, entertaining and inspirational content.

1d

A bit advanced for the average viewer

Pavle Davitković

.NET Engineer @Ingsoftware

1d

How often you use this feature?

Like
Reply
Montassar kefi

⚡ +30K | Software Engineer at TSI | Full Stack Web | Angular & Net | Content Creator

12h

Instructif

Like
Reply
See more comments

To view or add a comment, sign in

Explore topics