Common.Messaging.Lib 2.2.95

There is a newer version of this package available.
See the version list below for details.
dotnet add package Common.Messaging.Lib --version 2.2.95
                    
NuGet\Install-Package Common.Messaging.Lib -Version 2.2.95
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Common.Messaging.Lib" Version="2.2.95" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Common.Messaging.Lib" Version="2.2.95" />
                    
Directory.Packages.props
<PackageReference Include="Common.Messaging.Lib" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Common.Messaging.Lib --version 2.2.95
                    
#r "nuget: Common.Messaging.Lib, 2.2.95"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Common.Messaging.Lib@2.2.95
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Common.Messaging.Lib&version=2.2.95
                    
Install as a Cake Addin
#tool nuget:?package=Common.Messaging.Lib&version=2.2.95
                    
Install as a Cake Tool

Common Messaging Protocols

This repository contains all the .proto files required for defining and serializing messaging protocols used in the project. The .proto files are organized by categories and functionalities to support various operations such as event management, API validation, and data serialization.


Table of Contents


Overview

This repository includes all .proto files necessary for defining messages and services used in the project. These files are used to generate code for both server and client implementations across various services.


Structure

The .proto files are organized as follows:

Top-level Directory: Protos

Contains various categories such as:

  • APIPermissionManagement
  • AccessShield/GetAccessShield
  • ApiKeyValidation
  • BookedEvent
  • Comparison/WeeklyComparison
  • CompetitorData

Each directory represents a specific service or feature and may have subdirectories for related operations. For example, the BookedEvent directory contains the following .proto files:

  • CreateBookedEvent.proto
  • DeleteBookedEvent.proto
  • GetBookedEvent.proto
  • GetBookedEvents.proto
  • UpdateBookedEvent.proto

Installation

To use the .proto files in your project, follow these steps:

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-folder>
    
  2. Install the required dependencies for protocol buffer compilation:

    dotnet add package Google.Protobuf --version 3.29.0-rc2
    dotnet add package Grpc.Tools --version 2.67.0
    
  3. Ensure that your build system is configured to compile .proto files.


Usage

Example Command to Generate Code

You can use protoc or equivalent tools to generate code from .proto files. Example command:

protoc --proto_path=Messaging/Serialization/Protos --csharp_out=GeneratedCode/ Messaging/Serialization/Protos/BookedEvent/CreateBookedEvent.proto

Integration in .csproj

Ensure that your .csproj file includes the .proto files:

<ItemGroup>
  <Protobuf Include="Messaging/Serialization/Protos/**/*.proto" />
</ItemGroup>

This allows the .proto files to be compiled automatically during the build process.


Example Protobuf Files

1. CreateBookedEvent.proto

Defines the message structure for creating a booked event.

syntax = "proto3";

message CreateBookedEvent {
  string event_id = 1;
  string event_name = 2;
  string event_date = 3;
  int32 guest_count = 4;
}

2. GetBookedEvent.proto

Defines the message structure for retrieving a booked event.

syntax = "proto3";

message GetBookedEventRequest {
  string event_id = 1;
}

message GetBookedEventResponse {
  string event_id = 1;
  string event_name = 2;
  string event_date = 3;
  int32 guest_count = 4;
}

Dependencies

This project uses the following dependencies for handling protocol buffers:

  • Google.Protobuf: 3.29.0-rc2
  • Grpc.Tools: 2.67.0

Ensure these packages are installed in your project.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.2.98 0 2/13/2026
2.2.97 46 2/12/2026
2.2.96 57 2/12/2026
2.2.95 83 2/11/2026
2.2.94 79 2/11/2026
2.2.93 75 2/11/2026
2.2.92 94 2/11/2026
2.2.91 93 2/11/2026
2.2.90 98 2/10/2026
2.2.89 109 2/10/2026
2.2.88 98 2/10/2026
2.2.87 99 2/10/2026
2.2.86 116 2/9/2026
2.2.85 104 2/9/2026
2.2.84 101 2/9/2026
2.2.83 110 2/9/2026
2.2.82 123 2/9/2026
2.2.81 135 2/9/2026
2.2.80 124 2/9/2026
2.2.79 143 2/9/2026
Loading failed