Wangkanai.Detection 5.0.0-alpha3

ASP.NET Core Detection with Responsive View

ASP.NET Core Detection service components for identifying details about client device, browser, engine, platform, & crawler. Responsive middleware for routing base upon request client device detection to specific view. Also in the added feature of user preference made this library even more comprehensive must for developers whom to target multiple devices with view rendered and optimized directly from the server side.

ASP.NET Core Detection

GitHub Open Collective Patreon

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

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