• C# Insights
  • Posts
  • 📦 NuGet: A Step-by-Step Guide to Publishing Your Own Packages

📦 NuGet: A Step-by-Step Guide to Publishing Your Own Packages

Learn NuGet package publishing, Azure secrets automation, Dijkstra's algorithm in .NET 9, MongoDB in C#, GitHub JWT auth, and more!

Hi! ✌️

Learn how to effortlessly create and publish your own packages, fostering collaboration and efficiency in the development process.

Learn the basics of MongoDB in C# with Nick Cosentino's guide on inserting data efficiently. Explore using synchronous and asynchronous methods like InsertOne and InsertMany, along with best practices for optimizing performance.

Learn how to benchmark a method's performance across different .NET versions to identify potential upgrades or downgrades in your codebase. Dive into setting up the benchmark environment, defining the method, creating and running benchmarks, and interpreting results for informed decision-making in upgrading your .NET projects.

Discover how static initialization in C# optimizes performance and enhances code readability.

Discover the streamlined solution for visualizing OpenTelemetry data during local development with .NET. Replace complex setups with the efficient Aspire dashboard, providing a seamless way to collect and display traces, metrics, and logs.

Learn how to automatically generate .NET secrets from Azure deployments, eliminating the need to manually edit magic strings in your code. Using Bicep and Azure Developer CLI, create a PowerShell or Bash script to set .NET secrets, enhancing deployment efficiency and security.

This blog post discusses the challenges of managing dependencies in Windows and cross-platform applications, exploring issues like dependency selection, updates, and interdependencies.

Learn how to authenticate a GitHub App built using .NET by creating and signing a JSON Web Token (JWT). Follow along as Steve Gordon shares the steps, complete with code snippets and explanations, for generating the JWT from an RSA private key PEM file, and authenticating requests to the GitHub REST API.

Learn how to leverage PriorityQueue in .NET 9 for implementing Dijkstra's algorithm, vital for finding the shortest path between two nodes. Explore the rationale behind introducing PriorityQueue.Remove() and delve into its practical implementation through an illustrative example of city networks.

♻️ If you liked this edition consider forwarding it to other .NET devs!

What did you think of this week's issue?

We take your feedback seriously.

Login or Subscribe to participate in polls.

Subscribe to keep reading

This content is free, but you must be subscribed to C# Insights to continue reading.

Already a subscriber?Sign In.Not now

Join the conversation

or to participate.