Skip to content
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

Multi-target .NET 5 #987

Merged
merged 2 commits into from
Aug 20, 2020
Merged

Multi-target .NET 5 #987

merged 2 commits into from
Aug 20, 2020

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Jul 17, 2020

Testing multi-target packages on .NET 5

Soon the client and server will start using .NET 5 specific APIs, e.g. configuring the client to create a connections when there are more than 100 concurrent requests.

@JamesNK
Copy link
Member Author

JamesNK commented Jul 17, 2020

Interop tests are failing because of grpc/grpc#23523

@JamesNK JamesNK force-pushed the jamesnk/multitarget-net5 branch 3 times, most recently from e6710f2 to a3295c1 Compare July 20, 2020 05:56
@JamesNK
Copy link
Member Author

JamesNK commented Jul 20, 2020

Everything is passing apart from interop tests

@jtattermusch When you have time can you help with grpc/grpc#23523. Need to update grpc/grpc so changing the framework doesn't change the path and break interop tests.

Copy link
Contributor

@jtattermusch jtattermusch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for adding net5 targets, @JunTaoLuo can you please review the rest of the changes in detail?

global.json Outdated
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "3.1.300"
"version": "5.0.100-rc.1.20367.2"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we explicitly set rollForward ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know. I have used that setting.

Is it required? I haven't had trouble with installing newer versions yet.

@JamesNK JamesNK force-pushed the jamesnk/multitarget-net5 branch 3 times, most recently from df49146 to 78b9dcc Compare August 2, 2020 23:48
@JamesNK JamesNK requested a review from JunTaoLuo August 14, 2020 07:19
@JamesNK JamesNK removed the blocked label Aug 14, 2020
@JamesNK
Copy link
Member Author

JamesNK commented Aug 14, 2020

@JunTaoLuo This is ready to review


<Project Sdk="Microsoft.NET.Sdk.Web">
<!--
TODO(JamesNK): SDK temporarily changed from Microsoft.NET.Sdk.Worker to Microsoft.NET.Sdk.Web
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

File an issue so we don't forget to do this in the future?

using Grpc.Core;
using Grpc.Net.Client.Internal;
using Grpc.Net.Compression;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using System;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

@JamesNK JamesNK merged commit ef77760 into grpc:master Aug 20, 2020
@JamesNK JamesNK deleted the jamesnk/multitarget-net5 branch August 20, 2020 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants