C# Digest #429: New in Entity Framework 7: Bulk Operations with ExecuteDelete and ExecuteUpdate

And more news, tutorials and articles about C# and .NET in this week's issue.

#429 — August 22, 2022 View in browser

C# Digest

Spread the word, build the community, share the knowledge with your friends.

sponsor

Participate in our dev tools survey and win $25 gift

Help us solve the right problems and create better products! If you are part of the software development world, fill our survey on developer tooling, it should take you less than 10 minutes. The first 400 respondents will win $25 gift card!

this week's favorite

New in Entity Framework 7: Bulk Operations with ExecuteDelete and ExecuteUpdate

Version 7 of Entity Framework includes some popular features that have been asked for, one of which is Bulk Operations. This feature came to my attention from a tweet by Julie Lerman, and I had to try it out for myself.

Using LINQ and Getting Chunky With .NET

Sometimes you need to break down a large number into smaller chunks. For me, I regularly chunk data when I need to bulk import data records into a database. I find that fine-tuning the chunks can help improve data-loading performance when compared to trying to force all of the data in at once. In this short yet fun post, I will write a helper method that takes any number and chunk size and produces a data structure that you can use in loops to load data.

Detours: redirecting C# methods at runtime

Detours are a way to replace the implementation of a C# method. Basically, you take a method (typically from some assembly you don’t have the source for) and overwrite it with a jmp to your own implementation.

Finding .NET Transitive Dependencies and Tidying Up Your Project

Do you remember DLL Hell? 😈 Yes, me too. If you don't remember, I'm happy for you. No Developer should suffer like that.

Managing the most dangerous constructor ever

The design of the X509Certificate2 is badly broken in terms of safety. If you load a certificate from the disk or a byte buffer, it will go ahead and create a file on the disk behind the scene. If you’ll dispose the instance, the file will be removed. However, if you don’t explicitly dispose the instance, that is too bad. The file remains.

how did you like this issue?

1 = didn't like it at all and 5 = loved it and shared it with everyone I know

newsletters

© 2022 Bonobo Press

Would you like to advertise with us? Check out our latest media kit for more information.
If you no longer wish to receive these emails, click to unsubscribe.

Key phrases

Older messages

C# Digest #428: A .NET distributed cache with a ~25 nanosecond read time!

Sunday, August 14, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #428 — August 15, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #427: How to effectively compose your business logic

Sunday, August 7, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #427 — August 08, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #426: Asynchronous Programming in .NET - Introduction, Misconceptions, and Problems

Sunday, July 31, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #426 — August 01, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #425: 5 tricks every C# dev should know about LINQPad

Sunday, July 24, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #425 — July 25, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #424: Customizing Controls in .NET MAUI

Sunday, July 17, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #424 — July 18, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

You Might Also Like

Tesla's ride hailing app 🚗, Apple AI server chips 🤖, building a new city 🏙️

Wednesday, April 24, 2024

Tesla teased screenshots of its ride-hailing feature along with the release of its Q1 2024 financial results Sign Up |Advertise|View Online TLDR Together With Dollar Flight Club TLDR 2024-04-24 Save Up

AI search engine startup Perplexity eyes a $3B valuation

Tuesday, April 23, 2024

Plus: It's Tesla earnings day and AWS wants to host your AI models View this email online in your browser By Cody Corrall Tuesday, April 23, 2024 Welcome back to TechCrunch PM. Today we have big

🎞️ We Tried 3D Printing a Photo — You'll Love This Secret Samsung Galaxy Bluetooth Feature

Tuesday, April 23, 2024

Also: Transferring Your Phone Number to a New Carrier, and More! How-To Geek Logo April 23, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to

You're invited – product sense, prioritization, careers

Tuesday, April 23, 2024

Product Sense Product Sense Wednesday, May 1st @ 01:00 PM EST Learn how to identify opportunities, assess risks, and make informed decisions that lead to successful product innovations by better

CTRL-C, Exceptions, Ruff Speed-up, and More

Tuesday, April 23, 2024

Asyncio Handle Control-C (SIGINT) #626 – APRIL 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio Handle Control-C (SIGINT) When the user presses CTRL-C on the keyboard, the OS raises an

Writing Contests Just Landed On Product Hunt 🔥

Tuesday, April 23, 2024

Upvote us to keep the $$$ coming! 👍 ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ ͏ ‌  ͏ ‌  ͏ ‌  ͏ ‌ 

Daily Coding Problem: Problem #1421 [Hard]

Tuesday, April 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Uber. Given an array of integers, return a new array such that each element at index i

Ranked | The Top 10 EV Battery Manufacturers 🔋

Tuesday, April 23, 2024

Asia dominates this ranking of the world's largest EV battery manufacturers in 2023. See which battery makers feature in the top 10. View Online | Subscribe Presented by: EnergyX's

Bringing PGO to the build pipeline

Tuesday, April 23, 2024

Plus how Go grew at Google, cmp.Or, and ways to visualize makefiles, Go binaries, and live Go processes. | #​504 — April 23, 2024 Unsub | Web Version Together with Three Dots Labs Go Weekly How Dolt

Noonification: Leetcode: Two-sum an Intuitive Approach

Tuesday, April 23, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech this week: The Noonification by HackerNoon has got you covered with