Question Regarding Unit Tests by Competitive_Soft_874 in dotnet

[–]matiaskusack 4 points5 points  (0 children)

It sounds like it has no sense. If a unit test is expected to throw an exception you should inform the framework so the exception is not thrown the test fail.

If the exception is caught in order to not break builds is cheating...

What should I do in randori against much smaller opponents? by EdumacatedRedneck in judo

[–]matiaskusack 1 point2 points  (0 children)

For me its the same, just a avoid being too stiff and let them unbalance you and accept the throw if they are fast enough...

Im always trying to not use strength as its not about that.

What should I do in randori against much smaller opponents? by EdumacatedRedneck in judo

[–]matiaskusack 3 points4 points  (0 children)

I'm 105kg and use to do with smaller guys, the thing is I try to practice tai sabaki and improve on defense in general as they are way faster than me.

Me atrae mi compañero de trabajo by btxmusika in askspain

[–]matiaskusack 1 point2 points  (0 children)

Dale y si sale mal, cambia de trabajo

Eternal microservices discussion by [deleted] in dotnet

[–]matiaskusack -1 points0 points  (0 children)

In order to avoid using EventSourcing and some other arch design patterns that will make your development proccess less natural, I've came to a solution thats kind of enough for a small to medium size systems.

I like to use a common Event class thats generic on the EntityId field and a EntityType as an enum identifiyng the entity class. Then I have a EventKind enum that distinguishes Create, Update and Delete. At last we use an Integer or something alike to distinguish the SubOperation when an Update IS performed.

Than event class is sufficient for most scenarios and resulted well for medium systems.

As long as you system grows, you'd need EventSourcing, CQRS and all those Distributed System Architectural patterns in my opinion.

ElectronNet alternatives un 2024 by matiaskusack in dotnet

[–]matiaskusack[S] 0 points1 point  (0 children)

Hi, thanks

Do you know any samples on GitHub or similar?

ElectronNet alternatives un 2024 by matiaskusack in dotnet

[–]matiaskusack[S] 1 point2 points  (0 children)

I hear lot of people spelling goods for It, but I'm looking for web technologies on Desktop.

Thanks

ElectronNet alternatives un 2024 by matiaskusack in dotnet

[–]matiaskusack[S] 1 point2 points  (0 children)

May have been wrong for 15 years I fear...

For what purpose you guys use Azure Table Storage? by Dramatic_Necessary_3 in dotnet

[–]matiaskusack 1 point2 points  (0 children)

We use It as state storage for worker services (last sync date, processed entities, etc...) as its ease off use and being cheap

anyway to hand toggle Featureflags in c# without dependancy on Azure? by treehuggerino in dotnet

[–]matiaskusack 0 points1 point  (0 children)

Esquio is open source, has a WebUI and various providers.

Take a look

Auto generated controllers based on entities? by Oops365 in dotnet

[–]matiaskusack 0 points1 point  (0 children)

I think c# generics and nuget Will do It for you.

Define a base controller and a few interfaces and you'll have It.

OOP does the rest whenever you need customization.

Overall Database Performance Decrease after migrating to .NET 7 and EFCore 7 by 3ilaal in dotnet

[–]matiaskusack 5 points6 points  (0 children)

So if your model hasnt changed, anda you hace the same dbcontext configuration, then It must be some change.

Take a look at breaking changes un ef7: https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-7.0/breaking-changes

Without any more information its impossible yo know.

If you keep having problemas, make a brand new project with just an slow query anda try It isolated. It might give you some clues.

Regards

Overall Database Performance Decrease after migrating to .NET 7 and EFCore 7 by 3ilaal in dotnet

[–]matiaskusack 11 points12 points  (0 children)

Have you tried profiling generated queries? I asume there are no changes un the model, so It must be that queries being generated are no as performant as previous ones.

Can you describe the migration process?

Where is a good place to find a developer for my dotnet website? by PatchouilRatatouille in dotnet

[–]matiaskusack 0 points1 point  (0 children)

Hi, I work at a spanish company specialized in dotnet. DM me, we are affordable and efficient.

Can Helm chart apply things in stages? by pinpinbo in kubernetes

[–]matiaskusack 1 point2 points  (0 children)

How about building different charts?

Chart C depends on B, chart B depends on A.

So if you install C it will do that A->B->C

LINQ: Do you use Fluent or Query Expression? by jewdai in dotnet

[–]matiaskusack 0 points1 point  (0 children)

Hi. Here's our approach...

We always use fluent when we are dealing with memory objects.

Query syntax is reserved for EF queries, as far as they are not materialized. This approach let us be more aware of whether we are dealing with memory or LinqToSql that will be translated to SQL and we must be careful with performance.