Zohar Peled

Zohar Peled @peledzohar

About: By day, try to work. By night, try to sleep.

Location:
Israel
Joined:
Sep 9, 2019

Zohar Peled
articles - 58 total

Result.Simplified now live on nuget

TL;DR; - Here's the Nuget link A few years back I've decided to create a Result and Result<T>...

Learn More 2 0Apr 29

AI based technical interview questions generator

First published on What The # Do I Know? TL;DR If you don't want to read the background story, skip...

Learn More 0 0Mar 18

AutoEntityGenerator – my first visual studio extension.

(First published on What The # Do I Know?) TL;DR – There are links to the Visual Studio Marketplace...

Learn More 0 0Jul 16 '24

I'm a c# developer, want to start working as a fullstack web. What frontend framework(s) should I learn?

Some background: I've started my professional career as a full stack developer back in late 1999,...

Learn More 1 5Feb 4 '24

Quick question about code review comments

Recently I've started working with an environment that is new to me - the Git repository is stored on...

Learn More 0 0Apr 28 '22

Just popped in to let you know

Hi, It's been quite a while since my last post here (and in my own blog, but that's besides the...

Learn More 3 0Oct 17 '21

Which do you prefer, and why?

Yes, I'm here again with a c# coding style question - and today - between the following different cod...

Learn More 5 2Mar 29 '21

Celebrating 1k downloads of ExtendedConsole

ExtendedConsole was the second open source project I've uploaded to GitHub and it's my first public N...

Learn More 0 0Mar 10 '21

Handling non exceptional errors using Result and Result<T>

(First published on What the # do I know?) tl;dr; – Check out the code on GitHub. Microsoft’s recom...

Learn More 6 0Mar 5 '21

c#9 is finally here (this is not about init-only or records)

c# 9 and .Net 5 are finally officially released, and everybody blogs about init-only properties and r...

Learn More 5 1Nov 15 '20

Fashionably late but I've finally joined Twitter

I'm not really sure why I did that - I'm not really a social media kind of guy (Don't even have a fac...

Learn More 1 0Nov 9 '20

Role based security database design

(First published on What The # Do I Know? I’ve recently got one more upvote to my second most upvote...

Learn More 19 0Nov 7 '20

default vs null - which is a better choice, and why?

Some background: Some of the projects I'm in charge of at work are basically mapping projects - we co...

Learn More 1 2Oct 14 '20

Why is SQL injection still a thing?

I've just published Back to basics: SQL Injection over on What the # do I know?. It's not that I thin...

Learn More 4 1Jul 16 '20

writing code: Native language or English only?

This question is obviously not for native English speakers - they don't have this problem. It's addre...

Learn More 4 4Jul 8 '20

How to properly reference not overloaded operators in documentation?

I've asked this on stackoverflow back in April, didn't get very much attention. Hopefully, someone he...

Learn More 1 0Jun 18 '20

I'm in a book! Ha!

I got board today, so I did what everyone is doing from time to time and googled my name - and much t...

Learn More 5 0Jun 9 '20

local constants vs comments

Consider the following code (c#, but I hope readable for developers of other languages also): bool...

Learn More 1 6May 21 '20

Insert multiple parents with multiple children in a single stored procedure (SQL Server)

(First published on What the # do I know?) TL;DR There’s a full demo on Db&lt;&gt;Fiddle, and as an...

Learn More 9 1May 17 '20

How to automate nuget updates?

In the company I work for we host a nuget service, containing mostly infrastructure Dlls and stuff li...

Learn More 3 7May 5 '20

Validate mail address format the easy way – a follow up

(First published on What the # do I know?) A while ago I’ve blogged about an easy way to validate ma...

Learn More 2 0Apr 6 '20

What is your favorite ORM (None is a valid answer)?

Personally, I like Dapper because it gives me complete control over the SQL and is easy to use (well,...

Learn More 9 15Mar 29 '20

T-SQL CRUD procedures auto-generator

Are you tired of manually writing simple CRUD stored procedures? If so, this is the post for you! It...

Learn More 39 2Feb 6 '20

Would you like to have better XML support in SQL Server?

If so, you should check out and vote for Yitzhak Khabinsky's proposal SQL Server vNext (post 2019) an...

Learn More 5 0Jan 9 '20

When is it appropriate to use expression bodied methods?

C#6 introduced the concept of expression bodied members for methods and readonly properties, and c#7...

Learn More 7 5Dec 25 '19

Value Tuples makes actions better

(First published on What the # do I know?) After a long wait, c#7 finally introduced value tuples -...

Learn More 7 1Dec 23 '19

The Irresistible clickbait

A post by Zohar Peled

Learn More 34 2Dec 22 '19

For the 1024 time – DateTime has no format!

(This is a shortened version of my most recent blog post) This is probably one of the most frequent...

Learn More 11 2Dec 19 '19

Css turned out really nice today...

Full picture:

Learn More 6 0Dec 15 '19

A more controllable random string generator function for SQL Server

(First published on What the # do I know) In a previous post, entitled How to pre-populate a random...

Learn More 8 0Dec 10 '19