Does elasticache supports the .net core 2.0? I am trying to implement elasticache in .net core webApi app but not sure how to configure it.
You can use ServiceStack Radis nuget package
https://www.nuget.org/packages/ServiceStack.Redis.Core/
ElastiCache supports Redis and Memcached clients, so to implement it you could use a library such as StackExchange Redis or EnyimMemcachedCore
Related
I have a .Net Core 3.1 Web API project which is currently hosted using IIS.
Is there a way to Host this web api in windows service Using TopShelf Nuget package as I don’t want to host it in IIS
If any reference document is available share that as it will be useful for understanding.
Here are some wonderful documents from Microsoft MVP to explain how to running Asp.Net Core as Windows service by TopShelf. I hope it can help you.
Link: https://anthonygiretti.com/?s=Topshelf.
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.
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 an console application on .NET Core 2.1. I have used top-shelf to have it configure it as a windows service.
Has anyone successfully ,installed a .NET Core console application as a windows services using top-shelf.
Any documentation leading to that, would be helpful
Thanks
I've written a small library that allows you to run IHostedServices as a Windows service. The service is configured and run using Topshelf.
https://github.com/erizet/TopshelfHosting
This discussion can be useful: https://github.com/Topshelf/Topshelf/issues/455
TLDR: There is no stable version for the .NETCore 2.1 and even when it will be available you need to use self-contained application.
Was sucessfully able to install it using NSSM - the Non-Sucking Service Manager
I am migrating an ASP.NET application to be on ASP.NET Core, but have met a problem of Ws-Federation authentication: there is no [Ws-Federation] (https://www.nuget.org/packages?q=Microsoft.Owin.Security.WsFederation) OWIN middleware available in ASP.NET Core platform.
But I noticed all authentication middleware for ASP.NET Core are now under Microsoft.AspNetCore.Authentication namespace, so I searched all packages from nuget.org and found most of the authentication packages are there, but unfortunately only the Microsoft.AspNetCore.Authentication.WsFederation is missing.
So, I would like to know, if the package is missing because it is not implemented yet or any other reason? Alternatively, is there existing ASP.NET Core based authentication middleware for Ws-Federation?
It's not implemented yet, mainly because .NET Core doesn't have the encrypted XML and XML dsig classes needed.
See https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/issues/500
I've ported the Katana middleware over to ASP.NET Core. It has a hard dependency on the full .NET Framework since that is the only place the required libraries exist right now.
https://github.com/chrisdrobison/aspnetcore-wsfed
It appears .NET Core 2.1 WS Federation package is now available. Microsoft.AspNetCore.Authentication.WsFederation.
More information found at the following link:
https://learn.microsoft.com/en-us/aspnet/core/security/authentication/ws-federation?view=aspnetcore-2.1