Stanislav

468 posts

Stanislav banner
Stanislav

Stanislav

@heystanislav

Ukraine เข้าร่วม Ağustos 2020
83 กำลังติดตาม1K ผู้ติดตาม
Stanislav รีทวีตแล้ว
Stanislav
Stanislav@heystanislav·
Quick and handy #aspnet tip 🌟 Let's say you want to rename an endpoint, but at the same time don't want to break existing clients and make it silent. Copy-pasting controller actions? Nah. Use Rewrite and redirects rules instead 👇 #dotnet
Stanislav tweet media
English
3
36
146
11.3K
Stanislav รีทวีตแล้ว
Scott Hanselman 🌮
Scott Hanselman 🌮@shanselman·
Say the compliment out loud. I have coworkers I really dig working with. I think that every time we do projects. So SAY it. “I really enjoy working with you! We always get it done and it’s super collaborative!” Don’t just THINK the compliment. Say it. Then tell their boss.
English
22
100
592
54.9K
Stanislav
Stanislav@heystanislav·
@mjovanovictech Yeah, as Ukrainian, I also cannot create a Stripe account, so that's surely tough luck
English
0
0
1
184
Milan Jovanović
Milan Jovanović@mjovanovictech·
Seems Twitter Subscriptions are rolled out to more people. Tough luck for creators from Serbia since we can't create a Stripe account and can't receive payments. Another thing I'm pondering is what added value you can provide to Subscribers that would be worth the money.
Milan Jovanović tweet media
English
5
0
6
3.5K
Stanislav
Stanislav@heystanislav·
@tvodevil01 It was more like: compilers are really smart beasts, they already try to squeeze the perf at its best, and whenever I tried to tweak it, it was either the same performance, or worse
English
1
0
0
355
Stanislav
Stanislav@heystanislav·
When looking at source #dotnet code, I often see an optimization tip here and there. Just one attribute - MethodImpl, Aggressive inlining. But whatever I tried, it never worked in my cases. Can somebody share an example of when it's beneficial and not a shot in the leg?
Stanislav tweet media
English
1
4
31
6.8K
Stanislav
Stanislav@heystanislav·
@tnlthanzeel There we specify descending order per column You might notice, that in this example there are two columns - status and created date, thus in IsDescending method first false stands for the first column, when for the created column - true
English
1
0
0
95
Stanislav
Stanislav@heystanislav·
Do you know that when you create an index in #efcore you can specify the order? If you want to squeeze the maximum performance of the indexes, you you've gotta store the data in the order by which it's being usually retrieved. A tiny detail can make a huge difference. #dotnet
Stanislav tweet media
English
5
11
64
4.3K
Stanislav
Stanislav@heystanislav·
Curious to see how C# 12 is gonna look like? Check out the blog post from Microsoft 👇 Primary constructors, alias any type (really handy one), and more devblogs.microsoft.com/dotnet/check-o…
English
2
9
50
4.4K
Stanislav
Stanislav@heystanislav·
One of the most awaited features in #efcore has finally come to 7.0. Whenever you have to update and remove a bunch of elements based on one criterion, meet the BulkUpdates and BulkDeletes 🌟. Forget about the foreach loop and N queries 👇 #dotnet
Stanislav tweet media
English
3
22
143
8K
Stanislav
Stanislav@heystanislav·
@facet_z_schaumy Yeah, you're right, perhaps it's a matter of habit Take a look at the Microsoft learn website, both namings are used, almost side by sidee So yeah, Idk, I use them interchangeably
Stanislav tweet media
English
0
0
1
321
facet z schaumy
facet z schaumy@facet_z_schaumy·
@StasYakhnenko I always find naming 'aspnet core' confusing regarding newer versions. Isn't it named just '.NET' by Microsoft from version 5 to 8?
English
1
0
2
338
Stanislav
Stanislav@heystanislav·
Changes coming in auth and #dotnet. Starting from #aspnet core 8, the Duende dependency will be removed from the default SPA Visual Studio template, which in fact is a commercial solution. What do you use for OAuth in your web applications?
Stanislav tweet media
English
5
8
41
10.1K
Stanislav
Stanislav@heystanislav·
@jost0101 If the primary goal is to monitor the health of the application, I can suggest taking a look at Uptime Kuma github.com/louislam/uptim… I've used it and truly enjoyed the experience. It has a ton of supported notification methods (email, messengers, SMS, etc)
English
1
1
6
454
Stanislav
Stanislav@heystanislav·
@AndrzejBol Haven't seen it before, and this looks really interesting! Gonna check it out
English
0
0
0
217
Stanislav
Stanislav@heystanislav·
#aspnet core is evolving, and now there are plenty of options for how to build APIs in #dotnet. If you start building the new REST API app from scratch, what approach will you use, and more importantly - why? Share your thoughts 😀
English
28
13
58
38.5K
Stanislav
Stanislav@heystanislav·
@AndIreGiu Thanks a lot for such words! Regarding FastEndpoints, it's a third party library that allows you to define endpoints in a real atomic way: fast-endpoints.com
English
0
0
1
274
Alessandro
Alessandro@AndIreGiu·
@StasYakhnenko I voted for minimal api, but why missed grpc? Sorry what Is fastendpoints? Thanks for your fantastic share of knowledge...you rock!
English
2
0
2
821
Stanislav
Stanislav@heystanislav·
@_Danishhere Agree 👍 Though Minimal APIs are easy and fast too, what do you think about it?
English
1
0
3
1.4K
Stanislav
Stanislav@heystanislav·
@hanif2253 That sounds reasonable, which criteria would make you choose minimal API or controllers approach?
English
1
0
1
1.5K
Stanislav
Stanislav@heystanislav·
@ScottArbeit @_dotnetbot_ Fair enough What about using Minimal APIs in F#, did you try it and what was the experience?
English
1
0
2
1.5K