Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Azure SignalR Service now supports ASP.NET!

#1
Azure SignalR Service now supports ASP.NET!

<div style="margin: 5px 5% 10px 5%;"><img src="https://www.sickgaming.net/blog/wp-content/uploads/2019/04/azure-signalr-service-now-supports-asp-net.jpg" width="58" height="58" title="" alt="" /></div><div><div class="row justify-content-center">
<div class="col-md-4">
<div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/04/azure-signalr-service-now-supports-asp-net.jpg" width="58" height="58" alt="Avatar" class="avatar avatar-58 wp-user-avatar wp-user-avatar-58 photo avatar-default"></p>
<p>Zhidi</p>
</div>
</div>
</div>
<div class="entry-meta">
<p>April 26th, 2019</p>
</p></div>
<p><!-- .entry-meta --> </p>
<p>We’ve just shipped the official version of the SignalR Service SDK for ASP.NET support:</p>
<p>Azure SignalR Service is a fully managed Azure service for real-time messaging. It is a preferred way for scaling ASP.NET Core SignalR application. However, SignalR Service is based on&nbsp;<a href="https://docs.microsoft.com/aspnet/core/signalr/introduction">SignalR for ASP.NET Core 2.0</a>, which is&nbsp;<strong>not</strong>&nbsp;100% compatible with ASP.NET SignalR. Some code changes and proper version of dependent libraries are needed to make ASP.NET SignalR application work with SignalR Service.</p>
<p>We have received many usage feedbacks from customers since we announced the preview support for ASP.NET, at Microsoft Ignite 2018. Today, we are excited to announce that we have released the generally available version 1.0.0 of ASP.NET support SDK for Azure SignalR Service!</p>
<p>This diagram shows the typical architecture to use Azure SignalR Service with application server either written in ASP.NET Core, or now, in ASP.NET.</p>
<p><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/04/azure-signalr-service-now-supports-asp-net.png" class="wp-image-21873" alt="arch.png"></p>
<p>For self-hosted SignalR application, the application server listens to and serves client connections directly. With SignalR Service, the application server will only respond to clients’ negotiate requests, and redirect clients to SignalR Service to establish the persistent client-server connections.</p>
<p>Using the ASP.NET support for Azure SignalR Service you will be able to:</p>
<ul>
<li>Continue to keep SignalR application using ASP.NET, but work with fully managed ASP.NET Core based SignalR Service. </li>
<li>Change a few lines of SignalR API codes, to switch to use SignalR Service instead of self-hosted SignalR Hubs. </li>
<li>Leverage Azure SignalR Service’s built-in features and tools to help operate the SignalR application, with guaranteed SLA. </li>
</ul>
<p>To receive the full benefit from the new ASP.NET support feature, please download and upgrade your SDKs to the latest supported versions:</p>
<ul>
<li>.NET: <a href="https://www.microsoft.com/net/download/windows">4.6.1+</a> </li>
<li>Microsoft.AspNet.SignalR.*: <a href="https://www.nuget.org/packages/Microsoft.AspNet.SignalR/">2.4.1</a> </li>
<li>Microsoft.Azure.SignalR.AspNet: <a href="https://www.nuget.org/packages/Microsoft.Azure.SignalR.AspNet/">1.0.0</a> </li>
</ul>
<p>Many factors, including non-technical ones, make the web application migrate from ASP.NET to ASP.NET Core difficult.</p>
<p>The ASP.NET support for Azure SignalR Service is to enable ASP.NET SignalR application developers to easily switch to use SignalR Service with minimal code change.</p>
<p>Some APIs and features are no longer supported:</p>
<ul>
<li>Automatic reconnects </li>
<li>Forever Frame transport </li>
<li>HubState </li>
<li>PersistentConnection class </li>
<li>GlobalHost object </li>
<li>HubPipeline module </li>
<li>Client side Internet Explorer support before Microsoft Internet Explorer 11 </li>
</ul>
<p>ASP.NET support is focus on compatibility, so not all ASP.NET Core SignalR new features are supported. To name a few: MessagePack, Streaming, etc., are only available for ASP.NET Core SignalR applications.</p>
<p>SignalR Service can be configured for different service mode: <em>Classic/Default/Serverless</em>. For ASP.NET support, the <em>Serverless</em> mode is not supported.</p>
<p>For a complete list of feature comparison between ASP.NET SignalR and ASP.NET Core SignalR, the proper version of SDKs to use in each case, and what are the recommended alternatives to use for features discontinued in ASP.NET Core SignalR, please refer to doc <a href="https://docs.microsoft.com/aspnet/core/signalr/version-differences?view=aspnetcore-2.2">here</a>.</p>
<p>We’d like to hear about your feedback and comments. You can reach the product team at the <a href="https://github.com/azure/azure-signalr/issues">GitHub repo</a>, or by <a href="mailto:[email protected]">email</a>.</p>
<div class="row justify-content-center"> <a class="cta_button_link" href="https://aka.ms/aspnet-doc" target="_blank" rel="noopener noreferrer">Get started for ASP.NET support</a> </div>
<div class="authorinfoarea">
<div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/04/azure-signalr-service-now-supports-asp-net-1.jpg" width="96" height="96" alt="Avatar" class="avatar avatar-96 wp-user-avatar wp-user-avatar-96 photo avatar-default"></div>
<div>
<h5><a class="no-underline" aria-label="Zhidi Shang" target="_blank" href="https://devblogs.microsoft.com/aspnet/author/shangzd/" rel="noopener noreferrer">Zhidi Shang</a></h5>
<p>Principal Program Manager,&nbsp;Azure SignalR Service</p>
<p><strong>Follow Zhidi</strong>&nbsp;&nbsp;&nbsp;<a class="no-underline stayinformed" aria-label="Zhidi Shang Twitter profile" target="_blank" href="https://twitter.com/shangzd" rel="noopener noreferrer"><i class="fa fa-twitter"></i></a><a class="no-underline stayinformed" aria-label="Zhidi Shang LinkedIn profile" target="_blank" href="https://www.linkedin.com/in/shangzd" rel="noopener noreferrer"><i class="fa fa-linkedin"></i></a><a class="no-underline stayinformed hvr-pop" aria-label="Zhidi Shang RSS Feed" target="_blank" href="https://devblogs.microsoft.com/aspnet/author/shangzd/feed/" rel="noopener noreferrer"></a></p>
</p></div>
</p></div>
</div>
Reply



Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016