Wangkanai.Detection 7.3.0

ASP.NET Core Detection

NuGet Badge NuGet Badge

ASP.NET Core Detection service components for identifying details about client device, browser, engine, platform, & crawler.

Build Status Open Collective Patreon GitHub

ASP.NET Core Detection

Installation

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

PM> install-package Wangkanai.Detection

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.AddControllersWithViews();
}
  • AddDetection() Adds the detection services to the services container.

The current device on a request is set in the Responsive middleware. The Responsive middleware is enabled in the Configure method of Startup.cs file.

public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    app.UseDetection();
    
    app.UseRouting();  

    app.UseEndpoints(endpoints => endpoints.MapDefaultControllerRoute());
}

Adding the TagHelper features to your web application with following in your _ViewImports.cshtml

@using WebApplication1

@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@addTagHelper *, Wangkanai.Detection

No packages depend on Wangkanai.Detection.

.NET 6.0

.NET 7.0

Version Downloads Last updated
8.20.0 3 08/01/2025
8.19.0 3 08/01/2025
8.18.0 3 08/01/2025
8.17.0 4 06/04/2025
8.16.0 4 06/04/2025
8.15.0 4 06/04/2025
8.14.0 5 02/25/2025
8.13.0 5 02/25/2025
8.12.0 5 02/25/2025
8.11.0 44 09/15/2024
8.10.0 5 02/25/2025
8.9.0 4 02/25/2025
8.8.0 4 02/25/2025
8.7.0 4 02/25/2025
8.6.0 4 02/25/2025
8.5.0 4 02/25/2025
8.4.0 4 02/25/2025
8.3.0 4 02/25/2025
8.2.0 4 02/25/2025
8.1.0 4 02/25/2025
8.0.0 4 02/25/2025
7.4.0 4 02/25/2025
7.3.2 4 02/25/2025
7.3.1 4 02/25/2025
7.3.0 4 02/25/2025
7.2.0 4 02/25/2025
7.1.1 4 02/25/2025
7.1.0 4 02/25/2025
7.0.0 4 02/25/2025
6.11.4 5 02/25/2025
6.11.3 5 02/25/2025
6.11.2 5 02/25/2025
6.11.1 5 02/25/2025
6.11.0 5 02/25/2025
6.10.0 5 02/25/2025
6.9.0 4 02/25/2025
6.8.0 4 02/25/2025
6.7.0 4 02/25/2025
6.6.0 4 02/25/2025
6.5.0 4 02/25/2025
6.4.0 4 02/25/2025
6.3.0 4 02/25/2025
6.2.0 5 02/25/2025
6.1.0 4 02/25/2025
6.0.0 4 02/25/2025
5.7.3 5 02/25/2025
5.7.2 4 02/25/2025
5.7.1 4 02/25/2025
5.7.0 4 02/25/2025
5.6.0 4 02/25/2025
5.5.300 5 02/25/2025
5.5.200 5 02/25/2025
5.5.100 5 02/25/2025
5.4.0 4 02/25/2025
5.3.0 4 02/25/2025
5.2.1 4 02/25/2025
5.2.0 4 02/25/2025
5.1.0 3 02/25/2025
5.0.0 4 02/25/2025
5.0.0-alpha8 5 02/25/2025
5.0.0-alpha7 5 02/25/2025
5.0.0-alpha6 5 02/25/2025
5.0.0-alpha5 5 02/25/2025
5.0.0-alpha4 5 02/25/2025
5.0.0-alpha3 5 02/25/2025
5.0.0-alpha2 5 02/25/2025
5.0.0-alpha1 5 02/25/2025
4.0.0 4 02/25/2025
4.0.0-beta4 5 02/25/2025
4.0.0-beta3 5 02/25/2025
4.0.0-beta2 5 02/25/2025
4.0.0-Beta1 5 02/25/2025
3.0.0 3 02/25/2025
3.0.0-beta2 5 02/25/2025
3.0.0-beta1 5 02/25/2025
3.0.0-alpha14 5 02/25/2025
3.0.0-alpha13 5 02/25/2025
3.0.0-alpha12 5 02/25/2025
3.0.0-alpha11 5 02/25/2025
3.0.0-alpha10 5 02/25/2025
3.0.0-alpha09 5 02/25/2025
3.0.0-alpha08 5 02/25/2025
3.0.0-alpha07 5 02/25/2025
3.0.0-alpha06 5 02/25/2025
3.0.0-alpha05 5 02/25/2025
3.0.0-alpha04 5 02/25/2025
3.0.0-alpha03 5 02/25/2025
3.0.0-alpha02 5 02/25/2025
3.0.0-alpha01 5 02/25/2025
2.0.1 4 02/25/2025
2.0.0 5 02/25/2025