solace-samples-dotnet
solace-samples-dotnet copied to clipboard
Getting Started Samples for the Solace .NET API
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
- Clone this GitHub repository
- Open the Solution
src/SolaceExamples.sln
- Designate a startup project (or projects)
- Start debugging by pressing F5
VS Code
- Clone this GitHub repository
-
cd solace-samples-dotnet/src
-
dotnet restore
-
dotnet build
-
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:
- Tutorials
- The Solace Developer Portal website at: http://dev.solace.com
- Get a better understanding of Solace technology.
- Check out the Solace blog for other interesting discussions around Solace technology
- Ask the Solace community.