<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/nickchapsas/best-of/2024/10" -->

---
title: Best Nick Chapsas posts — October 2024 | daily.dev
description: The most upvoted Nick Chapsas posts from October 2024, curated by the daily.dev community.
canonical: https://daily.dev/sources/nickchapsas/best-of/2024/10
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/nickchapsas/best-of/2024/10
og:type: website
og:site_name: daily.dev
og:title: Best Nick Chapsas posts — October 2024 | daily.dev
og:description: The most upvoted Nick Chapsas posts from October 2024, 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 Nick Chapsas — October 2024

1. 1  
[](https://daily.dev/posts/swagger-is-gone-in-net-9-replace-it-with-this--n5dlbimqt "Swagger is Gone in .NET 9! Replace It With This.")  
Video  
![Avatar of nickchapsas](https://media.daily.dev/image/upload/s--T_RLq3JV--/f_auto/v1716024738/logos/nickchapsas)Nick Chapsas · 2y  
Swagger is Gone in .NET 9! Replace It With This.  
Swagger has been removed in .NET 9 and replaced with Microsoft's built-in OpenAPI functionalities. To adapt to this change, developers can use the 'app.mapOpenAPI' call for API documentation without a UI. Alternatively, they can integrate third-party tools such as Swashbuckle to restore the Swagger UI, or use Scaler, which offers a modern and customizable API documentation UI. Scaler provides various themes and integration options, including dark mode and authentication schemes, making it a versatile alternative.  
69  
4
2. 2  
[](https://daily.dev/posts/how-to-measure-time-correctly-in-net-ralifjxey "How to Measure Time Correctly in .NET")  
Video  
![Avatar of nickchapsas](https://media.daily.dev/image/upload/s--T_RLq3JV--/f_auto/v1716024738/logos/nickchapsas)Nick Chapsas · 2y  
How to Measure Time Correctly in .NET  
Nick explains the correct method to measure elapsed time in .NET applications, emphasizing that using DateTime.UtcNow is incorrect due to performance issues. He demonstrates how to implement accurate time measurement using the Stopwatch class and introduces the more efficient Stopwatch.GetTimestamp method available in .NET 7\. This method avoids unnecessary allocations and provides precise time measurements by interacting directly with the operating system's low-level functions.  
22

[See all Nick Chapsas archives](/sources/nickchapsas/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/nickchapsas/best-of/2024/10#page","url":"https://daily.dev/sources/nickchapsas/best-of/2024/10","name":"Best Nick Chapsas Posts — October 2024","description":"The most upvoted Nick Chapsas posts from October 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/nickchapsas/best-of/2024/10#items","numberOfItems":2,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/swagger-is-gone-in-net-9-replace-it-with-this--n5dlbimqt","name":"Swagger is Gone in .NET 9! Replace It With This."},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/how-to-measure-time-correctly-in-net-ralifjxey","name":"How to Measure Time Correctly in .NET"}]},{"@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":"Nick Chapsas","item":"https://daily.dev/sources/nickchapsas"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/nickchapsas/best-of"},{"@type":"ListItem","position":5,"name":"October 2024"}]}]}
```

