singhsharp.hashnode.dev路Jul 30, 2021 路 3 min readDo better code reviews! 馃挴Peer PR (Pull Request) reviews are an important part of a developer's everyday schedule. Whenever we are assigned a PR for peer code review many times we aren't exactly sure what to check. So here are some tips and suggestions about what I check wh...01T
singhsharp.hashnode.dev路Jul 24, 2021 路 3 min readC# LINQ: Implementing SQL LIKE using LINQEF Core is a very powerful and convenient way of writing SQL queries in C#. Though we have a native method EF.Functions.Like() to directly translate and filter match expression to SQL but there are scenarios where we need to add more than one match e...00
singhsharp.hashnode.dev路Jul 24, 2021 路 3 min readC# Design Patterns: Fluent Builder PatternSuppose we have to build an object with a lot of different configurations based on a scenario. For example, we have to send an Email where we have optional properties like CC (carbon copy), BCC (blind carbon copy), attachments, etc. So the method to ...00
singhsharp.hashnode.dev路Jul 23, 2021 路 2 min readSay Goodbye馃憢 to multiple If..ElseEvery developer encounters a situation where they have to write a logic that requires checking multiple conditions but out of them only one can be true. Let's take an example- We have to figure out the type of car based on the dimensions given. We ha...01C
singhsharp.hashnode.dev路Jul 23, 2021 路 3 min readSend emails with custom templates using SendGridSending an email is an important feature that's required for any production-level application. While there are other ways like creating a SMTP(Simple Mail Transfer Protocol) Server (for sending, receiving emails) and Razor Pages (for designing custo...00