reEntity Framework Core performance tuning–Part III
I mentioned in the previous post that I’ll take the opportunity to show of some interesting queries. The application itself is here, and you can see how to UI look in the following screenshot:
I decided to see what would be the best way to come up with the information we need for this kind of query. Here is what I got.
This is using a select object style to get a complex projection back from the server. Here are the results:
As you can see, we are able to get all the data we want, in a format that is well suited to just sending directly to the UI with very little work and with tremendous speed.
More posts in "re" series:
- (11 Apr 2022) Clean Architecture with RavenDB
- (14 Mar 2022) Database Security in a Hostile World
- (02 Mar 2022) RavenDB–a really boring database
Comments
Amazing performance, where the source can be found? any chance to publish this on GitHub?
Uri, The entire thing is in the post. There isn't anything beyond it. The code for the data is actually from here: https://github.com/JonPSmith/EfCoreInAction
How this query would look like in method-chain LINQ notation?
Dejan, Something like this:
Comment preview