• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

Droid/23-Nov-2023-464335

HelloworldXamarin/23-Nov-2023-464331

iOS/23-Nov-2023-749633

.gitignoreD23-Nov-2023422 4236

HelloworldXamarin.slnD23-Nov-20233 KiB4644

README.mdD23-Nov-20231.5 KiB3826

README.md

1gRPC C# on Xamarin
2========================
3
4EXPERIMENTAL ONLY
5-------------
6Support of the Xamarin platform is currently experimental.
7The example depends on experimental Grpc.Core nuget package that hasn't
8been officially released and is only available via the [daily builds](https://packages.grpc.io/)
9source.
10
11HINT: To download the package, please manually download the latest `.nupkg` packages from "Daily Builds" in [packages.grpc.io](https://packages.grpc.io/) into a local directory. Then add a nuget source that points to that directory (That can be [done in Visual Studio](https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui#package-sources) or Visual Studio for Mac via "Configure nuget sources"). After that, nuget will also explore that directory when looking for packages.
12
13BACKGROUND
14-------------
15The example project supports `Xamarin.Android` and `Xamarin.iOS`.
16
17For this sample, we've already generated the server and client stubs from [helloworld.proto][].
18
19PREREQUISITES
20-------------
21
22- The latest version Visual Studio 2017 or Visual Studio for Mac with Xamarin support installed.
23
24BUILD
25-------
26
27- Open the `HelloworldXamarin.sln` in Visual Studio (or Visual Studio for Mac)
28- Build the solution (Build -> Build All)
29
30Try it!
31-------
32
33You can deploy the example apps directly through Visual Studio IDE.
34Deployments can target both Android and iOS (both support physical device
35deployment as well as simulator).
36
37[helloworld.proto]:../../protos/helloworld.proto
38