-
Notifications
You must be signed in to change notification settings - Fork 10.5k
gRPC template updates #11473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gRPC template updates #11473
Conversation
6712d8e to
e64daf3
Compare
|
I'm able to test the project template in VS and command line. I've tested the item template on the command line but I don't think there's a good way to test it in vs cc @BillHiebert @phenning ? |
...jectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Properties/launchSettings.json
Show resolved
Hide resolved
|
@JunTaoLuo Can you confirm this blows up on a Mac as expected by #11061? |
|
Error at startup: |
|
😮 We still call it OSX instead of macOS? |
...jectTemplates/Web.ProjectTemplates/content/GrpcService-CSharp/Properties/launchSettings.json
Show resolved
Hide resolved
Looks like we aren't consistent. We're all over the place on this 😞 |
|
@DamianEdwards FYI. Based on our conversation earlier, the gRPC templates will use HTTPS by default. It will blow up on macOS on Startup where there is no server-side ALPN. |
JamesNK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to double check with Jan about why gRPC samples use ports in 5005x.
Also need to update the linked tutorial to add HTTPS, and change the port used in it. Shouldn't be merged until preview 7 ships
| <GoogleProtobufPackageVersion>3.8.0</GoogleProtobufPackageVersion> | ||
| <GrpcAspNetCoreServerPackageVersion>0.1.21-pre1</GrpcAspNetCoreServerPackageVersion> | ||
| <GrpcToolsPackageVersion>1.21.0</GrpcToolsPackageVersion> | ||
| <GrpcAspNetCorePackageVersion>0.1.22-pre1</GrpcAspNetCorePackageVersion> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note. Need to publish a version of this metapackage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll update this to 0.1.22-pre2 when it gets published. this version is currently published to the nightly feed so we this PR is unblocked.
Looks like this broke the SignalR samples because it removed the Google.Protobuf version. |
|
Ahh... I thought we were the only ones using it. |
ec9aa55 to
4da74df
Compare
It's good practice to do a "Ctrl-F" of the whole repo for references before removing anything (class, package, etc). Even if it SHOULDN'T be used by something else sometimes it is anyway. |
Addresses grpc/grpc-dotnet#141 and #10820