In my .Net Core coding i need to call a Web API that uses OAuth 2.0. For the .Net Framework i can use the DotNetOpenAuth library that supports OAuth 2.0 calls. This library is not available in .Net Core. Is there a library for .Net Core that supports OAuth 2.0 client access?
There is already AddOAuth extension in .NET CORE.
Related
I have an application targeting .NET Framework and I'm using Signalr working
but now I need Signalr working with mobile flutter they specify need URL Signalr but .net framework cannot provide URl Signalr for flutter only .net core can provide, So how could I do?
I am researching how to use pingfederate authentication with .Net Core2 and I did not find much that would go with .NET Core 2. The only nuget package I found about this was Owin.Security.Providers.PingFederate I was wondering if there is a newer approach?
I have,
Existing class library written with .Net Framework 4.5.2
Exiting WPF application written with .Net Framework 4.5.2
WPF application using class library.
Now, I would like to create asp.net Core web app with dotnetcore 2.1 and want to reference the class library.
Do I need to,
Convert class library with .Net Standard?
Which version of .Net Standard so that I should be able to refer to my WPF application (with .Net Framework 4.5.2) which we can't convert to .Net Core UI app?
Yes, you have to convert you libriary to .NET Standard in order to reference it from both Framework and .Net Core apps
You would need to use .NET Standard version 1.2 or lower in order to support .NET Framework 4.5.2
See the documentation for details: https://learn.microsoft.com/en-us/dotnet/standard/net-standard#net-implementation-support
Is message pipe line and other constructs same for Web API that targets .Net Core or .Net framework? Can we use ActionFilters, DelagatingHandlers and other concepts while developing .Net Core based Web API?
For .NET Core, you want use the ASP.NET Core MVC project template. Note, .NET Core MVC and Web API were merged together.
You can read more about the Middleware here:
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/?view=aspnetcore-2.1
Is there any plan to support .NET Core in the near future? I mean, without refactoring my bot code. There are still components not compatible with it.
Yes, it is planned and in the works. You can follow the topic on this related GitHub issue: [Feature Request] Porting to .NET core #572
Update 2017-10-26:
Bot Framework team is working on a complete rewrite of BotBuilder SDK (v4) which will be fully compatible with .NET Core.
Update 2017-12-14
Bot Builder v3 - New Bot Connector support for ASP.NET Core 2.0 and 1.1 has been released on NuGet!
We’ve released two new nuget packages for the Microsoft Bot Connector to support .NET Core 2.0:
Microsoft.Bot.Connector.AspNetCore.1.1.3.2.nupkg
Microsoft.Bot.Connector.AspNetCore.2.0.0.3.nupkg
The above packages each target ASPNetCore 1.x and ASPNetCore 2.x respectively, and provision authentication for your bot. They must also use Microsoft.Bot.Connector.3.12.2.4 or higher.