Skip to content

SolaceSamples/solace-samples-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started Examples

Solace C#/.NET API

The "Getting Started" tutorials will get you up to speed and sending messages with Solace technology as quickly as possible. There are three ways you can get started:

  • Follow these instructions to quickly spin up a cloud-based Solace messaging service for your applications.
  • Follow these instructions to start the Solace VMR in leading Clouds, Container Platforms or Hypervisors. The tutorials outline where to download and how to install the Solace VMR.
  • If your company has Solace message routers deployed, contact your middleware team to obtain the host name or IP address of a Solace message router to test against, a username and password to access it, and a VPN in which you can produce and consume messages.

Contents

This repository contains code and matching tutorial walk throughs for five different basic Solace messaging patterns. For a nice introduction to the Solace API and associated tutorials, check out the tutorials home page.

Obtaining the Solace API

The Solace Messaging API for C#/.NET (also referred to as SolClient for .NET) is available as a Nuget package and is included as a package reference in each sample project in the repository. If you are building the projects using Visual Studio, the library will be installed automatically when you load the Solution. If using Visual Studio code, run dotnet restore from the src directory to download the API.

Building and Running the Project

To check out the project and build it, do the following:

Visual Studio

  1. Clone this GitHub repository
  2. Open the Solution src/SolaceExamples.sln
  3. Designate a startup project (or projects)
  4. Start debugging by pressing F5

VS Code

  1. Clone this GitHub repository
  2. cd solace-samples-dotnet/src
  3. dotnet restore
  4. dotnet build
  5. dotnet run --project <ProjectName> -- [args]

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the Apache License, Version 2.0. - See the LICENSE file for details.

Resources

For more information try these resources: