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

Obsolete UseAzureSignalR #1605

Merged
merged 5 commits into from
Jun 8, 2022
Merged

Conversation

xingsy97
Copy link
Contributor

@xingsy97 xingsy97 commented May 10, 2022

Summary of the changes (Less than 80 chars)

  • Obsolete IApplicationBuilder.UseAzureSignalR. Tell users to use IApplicationBuilder.UseEndpoints

Fixes #1602

…= 3.1. Replace it with IApplicationBuilder.UseEndpoints()
@@ -19,6 +19,9 @@ public static class AzureSignalRApplicationBuilderExtensions
/// <param name="app">The <see cref="IApplicationBuilder"/>.</param>
/// <param name="configure">A callback to configure the <see cref="ServiceRouteBuilder"/>.</param>
/// <returns>The same instance of the <see cref="IApplicationBuilder"/> for chaining.</returns>
#if NETCOREAPP3_1_OR_GREATER || NET5_0_OR_GREATER
Copy link
Member

Choose a reason for hiding this comment

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

use #if !NETSTANDARD2_0 to be consistent with how we support UseEndpoint in AzureSignalRHostingStartup?

@xingsy97 xingsy97 changed the title Obsolete UseAzureSignalR when .NET Core version >= 3.1 Obsolete UseAzureSignalR May 16, 2022
Co-authored-by: Liangying.Wei <lianwei@microsoft.com>
@xingsy97 xingsy97 enabled auto-merge (squash) June 8, 2022 05:13
@xingsy97 xingsy97 merged commit 1a5ecc4 into Azure:dev Jun 8, 2022
@vicancy vicancy mentioned this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants