Wangkanai.Detection 5.0.0-alpha2

Prefix Reserved
This is a prerelease version of Wangkanai.Detection.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Wangkanai.Detection --version 5.0.0-alpha2
                    
NuGet\Install-Package Wangkanai.Detection -Version 5.0.0-alpha2
                    
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" Version="5.0.0-alpha2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wangkanai.Detection" Version="5.0.0-alpha2" />
                    
Directory.Packages.props
<PackageReference Include="Wangkanai.Detection" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wangkanai.Detection --version 5.0.0-alpha2
                    
#r "nuget: Wangkanai.Detection, 5.0.0-alpha2"
                    
#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.
#:package Wangkanai.Detection@5.0.0-alpha2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Wangkanai.Detection&version=5.0.0-alpha2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Wangkanai.Detection&version=5.0.0-alpha2&prerelease
                    
Install as a Cake Tool

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
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (17)

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

Package Downloads
WebVella.Erp.Web

The web components library for the open-source and free platform WebVella ERP. It allows a quick and painless creation of business web applications.

Wangkanai.Responsive

ASP.NET Core 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.

Wangkanai.Analytics

Embrace the power of data with Analytics, a .NET Core library for comprehensive website tracking. Delve into insightful statistics, understand your audience better, and make data-driven decisions with ease. From session duration to bounce rate, Analytics transforms raw data into meaningful insights. Join our community, shine a light on your website's performance, and let's unlock the full potential of website analytics with Analytics.

ZC.Middleware.DefaultAPI

Package Description

Wangkanai.Webmaster

Revolutionize your SEO with Wangkanai Webmaster. This ASP.NET Core tool boosts your site's traffic and visibility. Ideal for developers aiming to elevate their site's SEO. A must-have for enhanced web traffic, visibility, and efficiency

GitHub repositories (8)

Showing the top 8 popular GitHub repositories that depend on Wangkanai.Detection:

Repository Stars
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 RC 1, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
grandnode/grandnode
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
WebVella/WebVella-ERP
Free and open-source pluggable ERP and CRM software based on ASP.NET Core 9, RazorPages and PostgreSQL . Targets Linux or Windows as host OS.
grandnode/grandnode2
E-commerce platform built with ASP.NET Core using MongoDB for NoSQL storage
mrellipse/toucan
Boilerplate template using Vue.js, TypeScript and .NET Core 2.1, based on SOLID design principles
valdisiljuconoks/LocalizationProvider
Database driven localization provider for .NET applications
minhsangdotcom/clean-architecture
Clean Architecture Solution Template is for .NET Core🚀.
episerver/Foundation
Foundation offers a starting point that is intuitive, well-structured and modular allowing developers to explore CMS, Commerce, Personalization, Search and Navigation, Data Platform and Experimentation.
Version Downloads Last Updated
8.20.0 18,341 7/17/2025
8.19.0 16,991 6/19/2025
8.18.0 8,116 6/8/2025
8.17.0 6,994 5/29/2025
8.16.0 9,591 5/19/2025
8.15.0 29,571 3/28/2025
8.14.0 416,522 5/8/2024
8.13.0 8,725 4/27/2024
8.12.0 104,206 3/9/2024
8.11.0 155,111 11/27/2023
8.10.0 2,915 11/23/2023
8.9.0 12,921 11/17/2023
8.8.0 2,185 11/15/2023
8.7.0 19,010 11/1/2023
8.6.0 1,265 10/22/2023
8.5.0 894 10/6/2023
8.4.0 1,063 9/28/2023
8.3.0 1,006 9/21/2023
8.2.0 2,467 7/20/2023
8.1.0 47,471 7/1/2023
8.0.0 2,543 6/28/2023
7.4.0 293,425 6/16/2023
7.3.2 293,236 6/7/2023
7.3.1 2,127 6/7/2023
7.3.0 56,557 5/15/2023
7.2.0 3,220 5/11/2023
7.1.1 48,778 4/13/2023
7.1.0 18,968 4/3/2023
7.0.0 106,788 1/18/2023
6.11.4 72,813 1/17/2023
6.11.3 48,393 1/10/2023
6.11.2 6,411 1/3/2023
6.11.1 2,734 12/31/2022
6.11.0 11,643 12/27/2022
6.10.0 7,233 12/23/2022
6.9.0 42,463 11/30/2022
6.8.0 16,562 11/28/2022
6.7.0 1,575 11/27/2022
6.6.0 4,856 11/26/2022
6.5.0 1,440 11/26/2022
6.4.0 2,614 11/24/2022
6.3.0 1,671 11/24/2022
6.2.0 26,180 11/14/2022
6.1.0 22,888 11/9/2022
6.0.0 5,068 11/9/2022
5.7.3 59,134 10/16/2022
5.7.2 37,500 9/27/2022
5.7.1 53,297 9/19/2022
5.7.0 13,034 9/13/2022
5.6.0 2,127 9/13/2022
5.5.300 4,288 9/9/2022
5.5.200 180,544 8/23/2022
5.5.100 6,905 8/21/2022
5.4.0 1,117 8/20/2022
5.3.0 68,822 6/23/2022
5.2.1 90,422 5/2/2022
5.2.0 239,492 3/8/2022
5.1.0 68,482 3/6/2022
5.0.0 15,383 2/9/2022
5.0.0-alpha8 871 2/9/2022
5.0.0-alpha7 831 2/8/2022
5.0.0-alpha6 569 2/8/2022
5.0.0-alpha5 911 2/4/2022
5.0.0-alpha4 4,341 12/7/2021
5.0.0-alpha3 683 12/5/2021
5.0.0-alpha2 621 12/4/2021
5.0.0-alpha1 597 12/3/2021
4.0.0 243,164 12/2/2021
4.0.0-beta4 626 12/2/2021
4.0.0-beta3 5,872 7/30/2021
4.0.0-beta2 70,578 5/11/2021
4.0.0-Beta1 1,000 5/5/2021
3.0.0 444,216 12/20/2020
3.0.0-beta2 890 12/20/2020
3.0.0-beta1 7,845 11/22/2020
3.0.0-alpha14 19,696 10/19/2020
3.0.0-alpha13 3,110 10/12/2020
3.0.0-alpha12 1,310 10/3/2020
3.0.0-alpha11 3,216 9/25/2020
3.0.0-alpha10 40,810 5/18/2020
3.0.0-alpha09 82,502 2/18/2020
3.0.0-alpha08 973 2/14/2020
3.0.0-alpha07 3,864 2/6/2020
3.0.0-alpha06 1,560 2/3/2020
3.0.0-alpha05 2,227 1/27/2020
3.0.0-alpha04 872 1/27/2020
3.0.0-alpha03 880 1/26/2020
3.0.0-alpha02 928 1/18/2020
3.0.0-alpha01 1,801 1/14/2020
2.0.1 275,442 9/25/2020
2.0.0 227,996 12/29/2019