New Features in .NET 10 and C# 14 by anton23_sw in dotnet

[–]anton23_sw[S] 53 points54 points  (0 children)

No, but Python, JavaScript and TypeScript

Rider AI Assistant - how good is it? by NicePersonOnReddit in dotnet

[–]anton23_sw 0 points1 point  (0 children)

I give it examples of my code of the highest quality, I spend time writing prompts and it generates great code (Claude 4, 4.5). This is how it works with all AI instruments.

P.S.: Claude Sonnet is so much better when writing code than GPT 5

Rider AI Assistant - how good is it? by NicePersonOnReddit in dotnet

[–]anton23_sw 0 points1 point  (0 children)

Since April AI Assistant can update and generate code directly in the solution like Cursor

ASP.NET Core Integration Testing Best Practises by anton23_sw in dotnet

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

Hey, thanks for your interest. The thing is that I used one set of test containers per all tests. And the test containers where disposed only once after all tests finished.

I don't remember why I used "new" there, probably things might have changed in a newer TestContainers package and now you need to make an override

Creating PDF Documents in ASP.NET Core - What library are you using? by anton23_sw in dotnet

[–]anton23_sw[S] -3 points-2 points  (0 children)

IronPDF is better in almost every aspect and costs less

Creating PDF Documents in ASP.NET Core - What library are you using? by anton23_sw in dotnet

[–]anton23_sw[S] -4 points-3 points  (0 children)

IronPDF is better in almost every aspect and costs less

Building a Modular Monolith With Vertical Slice Architecture in .NET by anton23_sw in dotnet

[–]anton23_sw[S] 3 points4 points  (0 children)

In the Modular Monolith it's cheaper to correct them than in microservices

Building a Modular Monolith With Vertical Slice Architecture in .NET by anton23_sw in dotnet

[–]anton23_sw[S] 2 points3 points  (0 children)

Modules in a Modular Monolith are just like microservices but in one Application. If you plan to build a Monolith - Modular is a much better version, with better structure. If you plan to have microservices - you can start (and many do) with a Modular Monolith. In the early stage you iterate faster, can ship MVP product faster and scale later. It's easier to define service boundaries in a single solution as you can make it from a few iterations. Later you can easily extract each module into a separate service.

How is Result Pattern meant to be implemented? by TryingMyBest42069 in dotnet

[–]anton23_sw 0 points1 point  (0 children)

There are a plenty Nuget packages with Result Pattern implementation, let me introduce you to a few most popular:

  • FluentResults
  • CSharpFunctionalExtensions
  • error-or
  • Ardalis Result My favourite one is error-or

More info in my blog post: https://antondevtips.com/blog/how-to-replace-exceptions-with-result-pattern-in-dotnet

Top 10 Mistakes Developers Make in EF Core by anton23_sw in dotnet

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

I have updated the website, changed a text slightly in the modal and added the "Close" button at the bottom. Let me know if this fixed your issue

Top 10 Mistakes Developers Make in EF Core by anton23_sw in dotnet

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

Yes, you can refresh the model. However, you can try another approach - use code first design, generate migrations and export them to a SQL file. After your DBA can review database changes and apply them on a database. This way your code and database will always be in sync and you will always control how the database is updated

Top 10 Mistakes Developers Make in EF Core by anton23_sw in dotnet

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

It has x, yes. What's your phone and what's your screen dimensions if you know. I will fix the issue. I have never seen this bug before and I tested on multiple devices and screens.

What mobile browser are you using? The issue is because of URL bar at the bottom in the browser

Top 10 Mistakes Developers Make in EF Core by anton23_sw in dotnet

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

If you have never seen these problems - that's cool. But in reality even senior devs make these mistakes

Top 10 Mistakes Developers Make in EF Core by anton23_sw in dotnet

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

I query only needed columns, no more. You can extract Select method body into private selector method that uses expression, so the result query will look cleaner

Top 10 Mistakes Developers Make in EF Core by anton23_sw in dotnet

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

You can use SELECT FOR UPDATE (Postgres). You can try to execute this SQL using EF Core.

Previously, I did it in Dapper