Skip to main content

Posts

Showing posts from December, 2020

gRPC in .NET Core

 gRPC in .NET Core Source: https://docs.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-5.0&tabs=visual-studio-code Create a gRPC service dotnet new grpc -o GrpcGreeter code -r GrpcGreeter dotnet dev-certs https --trust CTRL+F5 Create a gRPC client dotnet add GrpcGreeterClient.csproj package Grpc.Net.Client dotnet add GrpcGreeterClient.csproj package Google.Protobuf dotnet add GrpcGreeterClient.csproj package Grpc.Tools Copy the Protos\greet.proto from the server. edit: option csharp_namespace = "GrpcGreeterClient"; Edit: GrpcGreeterClient.csproj <ItemGroup>      <Protobuf Include="Protos\greet.proto" GrpcServices="Client" /> </ItemGroup> Edit: Program.cs using   System ; using   System . Threading . Tasks ; using   Grpc . Net . Client ; namespace   GrpcGreeterClient {      class   Program     {          static   async   Task   Main ( string []  args )         {              // The port number(5001) must ma

Gettting stored Wifi connections passwords in Windows

Gettting stored Wifi connections passwords in Windows Read WiFi passwords You can read WiFi passwords for networks you have been connected to. If you don’t know a network name, you can check saved profiles with the following command: netsh wlan show profiles Once you know the network name, execute this command: netsh wlan show profile name=[NETWORK NAME] key=clear