On blue sky as @robdevoer.bsky.social. Always learning and trying to improve our world. I love Fly-fishing, CrossFit, and my amazing wife Jan and son Val.
@mjovanovictech I could not find you on #Bluesky. Do you have an account there yet? Enjoying myself there and would really miss your posts when I shut down X.
Entity Framework 9 data seeding ⬇️
EF 9 introduces a new and convenient way to handle data seeding, allowing devs to easily populate a database with initial data.
Thanks to Nabi Karampour for the image ->
https://t.co/Nms39rhM3J
#dotnet
@annaspies I left before and used Mastodon but it didn't produce the same feeds. Tried to recreate the same people that i followed on Twitter somehow without the same result. Returned here after a long time. It's not what it was.
We realize setting up launch configurations for debugging is probably not your favorite thing to do.
But turns out that Copilot is pretty good at it when grounded in our docs. So we added a new capability to start debugging directly from chat!
CSS placeholder shimmer effect ✨
– overlay a placeholder element
– set aria-hidden and pointer-events: none
– show when :placeholder-shown
– visually hide actual :placeholder
– use mask for the border
– background-clip for the text 🤙
Check the debug 👇🎬
Writing good code is important for any software project.
It's also something I deeply care about.
However, it can be hard to spot problems by just reading through everything.
Luckily, there's a tool that can help: static code analysis.
𝗥𝗮𝘄 𝗦𝗤𝗟 𝗾𝘂𝗲𝗶𝗿𝗲𝘀 𝘄𝗶𝘁𝗵 𝗘𝗙 𝗖𝗼𝗿𝗲
EF 8 added support for raw SQL queries for unmapped types.
Why is this big news?
Until now, you could only return entity types with raw SQL queries.
You don't have to worry about SQL injection attacks.
This doesn't use interpolated string. Instead, it's a special type called FormattableString.
It can capture the interpolated values and convert them to SQL parameters.
You can also execute raw SQL queries and return results from:
- Stored procedures
- Functions
- Views
This feature also supports composing raw SQL queries with LINQ. You can write the SELECT statement in SQL and then chain the other things you need as LINQ methods.
Here's an in-depth explanation of this EF Core feature: https://t.co/QTomkCDUwv
What do you think about the raw SQL queries feature?
---
Do you want to simplify your development process? Grab my free Clean Architecture template here: https://t.co/s4zKdVpaaP
Have started responding with this anytime I share something new in Visual Studio and someone feels the need to comment to say 'Rider has had this for ... ' 🤣
#dotnet