README ¶ C# twirp client generator How to use Get the plugin go get gitlab.com/RoarkeRandall/protoc-gen-twirp_csharp Generate with the csharp & twirp csharp plugin's enabled: add the --csharp_out option to specify where the models will be generated add the --twirp_csharp_out option to specify where the client will be generated It's recommended to add option csharp_namespace = "Your.Base.Namespace"; to your proto file's Add the Client to your IoC Container: services.AddExperimentsServiceClient(); Register the config: services.AddOptions<ExperimentsServiceClientConfig>(); Add the required references to your project: Google.Protobuf Newtonsoft.Json Microsoft.Extensions.Http Microsoft.Extensions.Options.ConfigurationExtensions Credits Forked from github.com/gaffneyc/protoc-gen-twirp_ruby Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files csharpTemplate.go csharpTemplatePresentor.go generator.go main.go message.go method.go service.go utils.go Click to show internal directories. Click to hide internal directories.