|
You are here |
conradakunga.com | ||
| | | | |
whatibroke.com
|
|
| | | | | Hey everyone, Just a quick post on how to use postman with a gRPC endpoint using .net core. Add the grpc reflection package to your project: dotnet add package Grpc.AspNetCore.Server.Reflection Add to the container and include the middleware in your program.cs: builder.Services.AddGrpc(); # Add this line. builder.Services.AddGrpcReflection(); var app = builder.Build(); app.MapGrpcService(); # Add this | |
| | | | |
newdevsguide.com
|
|
| | | | | The C# 11 required keyword lets you reduce constructor boiler plate code and ensure that new objects have required property members set when using inline initializers. | |
| | | | |
brendanbondurant.com
|
|
| | | | | Continuing with this idea of learning C#, I am going to look at how each language handles a simple class. I'll just make a class Person with a few properties/attributes and a method to describe the person. As usual, I'll start it out in Ruby. One thing that has stuck with me from a great... | |
| | | | |
jackhiston.com
|
|
| | | Programmers are lazy. We love tools that automate our lives. Why not automate data? A time-consuming but necessary part of a programmers job is seeding data into a database. Demonstrations, load performance, styling, testing, all need a way to generate data. A rudimentary way of doing this is by hand. Spending days, sometimes weeks, inputting data into a system until it represents a realistic go-live scenario. Once you begin to realise doing it by hand is inefficient, you decide to create a seeding application that does it for you. | ||