Wangkanai.Detection.Core 2.0.0-beta13

Prefix Reserved
Suggested Alternatives

Wangkanai.Detection

Additional Details

Consolidation of project into a single .dll

This is a prerelease version of Wangkanai.Detection.Core.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Wangkanai.Detection.Core --version 2.0.0-beta13                
NuGet\Install-Package Wangkanai.Detection.Core -Version 2.0.0-beta13                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Wangkanai.Detection.Core" Version="2.0.0-beta13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wangkanai.Detection.Core --version 2.0.0-beta13                
#r "nuget: Wangkanai.Detection.Core, 2.0.0-beta13"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Wangkanai.Detection.Core as a Cake Addin
#addin nuget:?package=Wangkanai.Detection.Core&version=2.0.0-beta13&prerelease

// Install Wangkanai.Detection.Core as a Cake Tool
#tool nuget:?package=Wangkanai.Detection.Core&version=2.0.0-beta13&prerelease                

ASP.NET Core Detection

ASP.NET Core client web browser detection extension to resolve devices, platforms, engine of the client.

ASP.NET Core Responsive

Financial Contributors on Open Collective Build status

Build history

package nuget
Wangkanai.Detection NuGet Badge
Wangkanai.Detection.Device NuGet Badge
Wangkanai.Detection.Browser NuGet Badge
Wangkanai.Detection.Engine NuGet Badge
Wangkanai.Detection.Platform NuGet Badge
Wangkanai.Detection.Crawler NuGet Badge
Wangkanai.Responsive NuGet Badge

Installation

Installation of detection library is now done with a single package reference point.

PM> install-package Wangkanai.Detection -pre

While it is still possible to install the individual package if you just need that specific resolver.

PM> install-package Wangkanai.Detection.Device -pre  
PM> install-package Wangkanai.Detection.Browser -pre  
PM> install-package Wangkanai.Detection.Engine -pre   //concept
PM> install-package Wangkanai.Detection.Platform -pre //concept
PM> install-package Wangkanai.Detection.Crawler -pre  

Installation of Responsive library will bring in all dependency packages (This will include `Wangkanai.Detection.Device).

PM> install-package Wangkanai.Responsive -pre

Configuration

This library host the component to resolve the access client device type.

Implement of the library into your web application is done by configuring the Startup.cs by adding the detection service in the ConfigureServices method.

public void ConfigureServices(IServiceCollection services)
{
	// Add detection services container and device resolver service.
    services.AddDetection();

    // Add framework services.
    services.AddMvc();
}
  • AddDetection() Adds the detection services to the services container.

While the detection service is configured globally, its can also be configure individually if you only need some functions.

public void ConfigureServices(IServiceCollection services)
{
    // Add detection services container and device resolver service.
    services.AddDetectionCore()
        .AddDevice()
        .AddBrowser()
        .AddPlatform()  // concept
        .AddEngine()    // concept
        .AddCrawler();

    // Add framework services.
    services.AddMvc();
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Wangkanai.Detection.Core:

Package Downloads
Wangkanai.Detection.Browser

ASP.NET Core Detection Browser resolver components

Wangkanai.Detection.Device

ASP.NET Core Detection Device resolver components

Wangkanai.Detection.Crawler

ASP.NET Core Detection Crawler resolver components

Wangkanai.Detection.Platform

ASP.NET Core Platform Resolver components

Wangkanai.Detection.Engine

ASP.NET Core Detection Engine resolver components

GitHub repositories

This package is not used by any popular GitHub repositories.