Archives par mot-clé : c#

How to master Resilience with ASP.net and Aspire

Standard Resilience Resilience is not an easy topic, and the official documentation could be difficult to understand. On your Aspire project when you call it really calls It will add the default standard resilience, which is basically by default : … Continuer la lecture

Publié dans Non classé | Marqué avec , | Laisser un commentaire

How to resolve dynamic TargetPort in Aspire

Aspire is a really great technology for interconnecting all kind of services. It’s so good that you will probably use it in all your old projects.Ports randomization+proxy is a really good feature to spawn all your services, and maybe launch … Continuer la lecture

Publié dans Non classé | Marqué avec , | Laisser un commentaire

Optimize IN clause with LINQ Entity Framework with Ranges

Problem Suppose you have this simple query : if ids contains one million number, Linq provider will write a giant query like : You will have an exception because it’s too much for the SQL provider to execute this query.You’ll … Continuer la lecture

Publié dans Non classé | Marqué avec , , , , , | Laisser un commentaire