<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/discdot/best-of/2022/11" -->

---
title: Best Discover .NET posts — November 2022 | daily.dev
description: The most upvoted Discover .NET posts from November 2022, curated by the daily.dev community.
canonical: https://daily.dev/sources/discdot/best-of/2022/11
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/discdot/best-of/2022/11
og:type: website
og:site_name: daily.dev
og:title: Best Discover .NET posts — November 2022 | daily.dev
og:description: The most upvoted Discover .NET posts from November 2022, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Discover .NET — November 2022

1. 1  
[](https://daily.dev/posts/design-patterns-explained-with-sketches-zhunoqojq "Design patterns explained with sketches")  
Article  
![Avatar of discdot](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ffa4f4ad5e0b4f9096da7a3943bd5ff2)Discover .NET · 4y  
Design patterns explained with sketches  
Mahdiye Ijavi made a big chunk of the design. The original version was really not that pleasing. So bookmark that page and check in from time to time. Stay tuned for the Book, which will come soon! The Book will be released soon.  
42
2. 2  
[](https://daily.dev/posts/stop-using-trivial-guard-clauses-try-this-instead-t3zej-i5f "Stop using trivial Guard Clauses! Try this instead")  
Article  
![Avatar of discdot](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ffa4f4ad5e0b4f9096da7a3943bd5ff2)Discover .NET · 4y  
Stop using trivial Guard Clauses! Try this instead  
The most common case of guard clauses is doing null checks. This method is in the BasketService and a part of the core application code. In doing so, you’re pushing the responsibility to the outer edge of your application to produce valid values.  
21  
1
3. 3  
[](https://daily.dev/posts/building-a-url-shortener-in-12-lines-of-code-using-cloudflare-workers-nk5ktv62i "Building a URL shortener in 12 lines of code using Cloudflare Workers")  
Article  
![Avatar of discdot](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/ffa4f4ad5e0b4f9096da7a3943bd5ff2)Discover .NET · 4y  
Building a URL shortener in 12 lines of code using Cloudflare Workers  
The code is deployed globally across the Cloudflare network, which means it’s always running as close as possible to the end user. You can use the code to build a short URL shortener in 12 lines of code. The code can be used in a serverless environment that runs Javascript.  
13  
1

[See all Discover .NET archives](/sources/discdot/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/discdot/best-of/2022/11#page","url":"https://daily.dev/sources/discdot/best-of/2022/11","name":"Best Discover .NET Posts — November 2022","description":"The most upvoted Discover .NET posts from November 2022, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/discdot/best-of/2022/11#items","numberOfItems":3,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/design-patterns-explained-with-sketches-zhunoqojq","name":"Design patterns explained with sketches"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/stop-using-trivial-guard-clauses-try-this-instead-t3zej-i5f","name":"Stop using trivial Guard Clauses! Try this instead"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/building-a-url-shortener-in-12-lines-of-code-using-cloudflare-workers-nk5ktv62i","name":"Building a URL shortener in 12 lines of code using Cloudflare Workers"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Discover .NET","item":"https://daily.dev/sources/discdot"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/discdot/best-of"},{"@type":"ListItem","position":5,"name":"November 2022"}]}]}
```

