Skip to content

Transactional Stream Setup instructions for C# are a bit outdated and incorrect #154

Description

@Figosen

The documentation suggests using Install-Package Postmark, which does not work with the .NET CLI.
Suggest replacing it with dotnet add package Postmark.
Also, the sample code using HeaderCollection { { "X-CUSTOM-HEADER", "Header content" } } fails to compile due to a missing Add(string, string) overload.
Either the overload should be added or the example should use explicit Dictionary initialization.

Headers = new HeaderCollection(new Dictionary<string, string>
{
  { "X-Custom-Tracking", "Header content" }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions