Skip to content
/ tauri-sharp Public template

Tauri + Vite + React + C#

License

Notifications You must be signed in to change notification settings

LuanRoger/tauri-sharp

Repository files navigation

TauriSharp

screenshot

It's a simple template that uses Tauri with a C# (gRPC) backend.

Techs

How it works?

A simple Tauri application but it starts with a gRPC server at localhost:5030, made in C#, and the Rust layer uses Tonic to communicate with it.

Motivation

The C# layer was introduced to extends the Rust backend with more Windows native capabilities, or just to use some C# library.

So you can build desktop applications using web technologies that has no limitation when comes to native integration, in addition to having a wide range of libraries available to be used, together with the .NET library.

How to run?

Pre-requisites

Steps

  1. Clone the repository (recomended to use SSH)
git clone git@github.com:LuanRoger/tauri-sharp.git
  1. Install the dependencies
cd tauri-sharp
npm install
  1. Run the application
npm run tauri dev

The C# server will start automatically when you run the Tauri application. You can check this configuration in the tauri.conf.json file.

License

This project is under the MIT license. See the LICENSE file for more details.