---
title: "Discussion on \"How to improve memory allocation when creating HttpContent\" | Hashnode"
description: "Discussion on \"How to improve memory allocation when creating HttpContent\". In almost every application created in .NET, there will be a use case for making an outgoing HTTP call to an external resource. For some of these calls, especially when using POST and PUT verbs, a payload is usually attached to the HttpRequest object..."
url: "https://hashnode.com/posts/how-to-improve-memory-allocation-when-creating-httpcontent/6464440fd2d320ca9eef4fb5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to improve memory allocation when creating HttpContent](https://hashnode.devindran.com/how-to-improve-memory-allocation-when-creating-httpcontent?utm_source=hashnode&utm_medium=feed)

In almost every application created in .NET, there will be a use case for making an outgoing HTTP call to an external resource. For some of these calls, especially when using POST and PUT verbs, a payload is usually attached to the HttpRequest object...

May 17, 2023 · 6 min read · hashnode.devindran.com  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#memory-management](https://hashnode.com/tag/memory-management)
-   [#net](https://hashnode.com/tag/net)
-   [#http](https://hashnode.com/tag/http)

## Written by

[Devindran Ramadass](https://hashnode.com/@devindran)

@devindran

  
[View profile](https://hashnode.com/@devindran)

## Responses

Comments are turned off for this post.
