Wangkanai.Detection.Browser 2.0.0-beta13

.NET Standard 2.0
Suggested Alternatives

Wangkanai.Detection

This is a prerelease version of Wangkanai.Detection.Browser.
There is a newer version of this package available.
See the version list below for details.
Install-Package Wangkanai.Detection.Browser -Version 2.0.0-beta13
dotnet add package Wangkanai.Detection.Browser --version 2.0.0-beta13
<PackageReference Include="Wangkanai.Detection.Browser" 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.Browser --version 2.0.0-beta13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Wangkanai.Detection.Browser, 2.0.0-beta13"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Wangkanai.Detection.Browser as a Cake Addin
#addin nuget:?package=Wangkanai.Detection.Browser&version=2.0.0-beta13&prerelease

// Install Wangkanai.Detection.Browser as a Cake Tool
#tool nuget:?package=Wangkanai.Detection.Browser&version=2.0.0-beta13&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 162,432 9/25/2020
2.0.0 257,901 12/29/2019
2.0.0-beta15 550 12/27/2019
2.0.0-beta14 455 12/25/2019
2.0.0-beta13 3,993 12/8/2019
2.0.0-beta12 35,613 8/2/2019
2.0.0-beta11 43,954 5/2/2019
2.0.0-beta10 13,494 2/21/2019