Wangkanai.Detection 5.0.0-alpha5

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-alpha5
                    
NuGet\Install-Package Wangkanai.Detection -Version 5.0.0-alpha5
                    
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-alpha5" />
                    
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-alpha5" />
                    
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-alpha5
                    
#r "nuget: Wangkanai.Detection, 5.0.0-alpha5"
                    
#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-alpha5
                    
#: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-alpha5&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Wangkanai.Detection&version=5.0.0-alpha5&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 28,339 7/17/2025
8.19.0 18,927 6/19/2025
8.18.0 9,193 6/8/2025
8.17.0 7,956 5/29/2025
8.16.0 10,713 5/19/2025
8.15.0 31,982 3/28/2025
8.14.0 434,180 5/8/2024
8.13.0 8,866 4/27/2024
8.12.0 108,429 3/9/2024
8.11.0 159,059 11/27/2023
8.10.0 2,994 11/23/2023
8.9.0 13,036 11/17/2023
8.8.0 2,241 11/15/2023
8.7.0 19,535 11/1/2023
8.6.0 1,315 10/22/2023
8.5.0 930 10/6/2023
8.4.0 1,118 9/28/2023
8.3.0 1,052 9/21/2023
8.2.0 2,518 7/20/2023
8.1.0 48,598 7/1/2023
8.0.0 2,603 6/28/2023
7.4.0 302,904 6/16/2023
7.3.2 295,365 6/7/2023
7.3.1 2,175 6/7/2023
7.3.0 57,156 5/15/2023
7.2.0 3,325 5/11/2023
7.1.1 49,016 4/13/2023
7.1.0 19,117 4/3/2023
7.0.0 107,621 1/18/2023
6.11.4 73,502 1/17/2023
6.11.3 48,612 1/10/2023
6.11.2 6,555 1/3/2023
6.11.1 2,784 12/31/2022
6.11.0 11,729 12/27/2022
6.10.0 7,424 12/23/2022
6.9.0 42,790 11/30/2022
6.8.0 17,133 11/28/2022
6.7.0 1,622 11/27/2022
6.6.0 4,969 11/26/2022
6.5.0 1,482 11/26/2022
6.4.0 2,665 11/24/2022
6.3.0 1,710 11/24/2022
6.2.0 26,455 11/14/2022
6.1.0 22,957 11/9/2022
6.0.0 5,413 11/9/2022
5.7.3 59,333 10/16/2022
5.7.2 37,839 9/27/2022
5.7.1 53,593 9/19/2022
5.7.0 13,226 9/13/2022
5.6.0 2,174 9/13/2022
5.5.300 4,382 9/9/2022
5.5.200 182,772 8/23/2022
5.5.100 7,326 8/21/2022
5.4.0 1,157 8/20/2022
5.3.0 69,450 6/23/2022
5.2.1 91,061 5/2/2022
5.2.0 244,413 3/8/2022
5.1.0 69,288 3/6/2022
5.0.0 15,459 2/9/2022
5.0.0-alpha8 893 2/9/2022
5.0.0-alpha7 855 2/8/2022
5.0.0-alpha6 586 2/8/2022
5.0.0-alpha5 934 2/4/2022
5.0.0-alpha4 4,358 12/7/2021
5.0.0-alpha3 700 12/5/2021
5.0.0-alpha2 639 12/4/2021
5.0.0-alpha1 613 12/3/2021
4.0.0 244,791 12/2/2021
4.0.0-beta4 630 12/2/2021
4.0.0-beta3 5,893 7/30/2021
4.0.0-beta2 70,834 5/11/2021
4.0.0-Beta1 1,016 5/5/2021
3.0.0 445,799 12/20/2020
3.0.0-beta2 907 12/20/2020
3.0.0-beta1 7,864 11/22/2020
3.0.0-alpha14 19,740 10/19/2020
3.0.0-alpha13 3,130 10/12/2020
3.0.0-alpha12 1,330 10/3/2020
3.0.0-alpha11 3,257 9/25/2020
3.0.0-alpha10 40,965 5/18/2020
3.0.0-alpha09 83,037 2/18/2020
3.0.0-alpha08 981 2/14/2020
3.0.0-alpha07 3,915 2/6/2020
3.0.0-alpha06 1,604 2/3/2020
3.0.0-alpha05 2,261 1/27/2020
3.0.0-alpha04 891 1/27/2020
3.0.0-alpha03 897 1/26/2020
3.0.0-alpha02 949 1/18/2020
3.0.0-alpha01 1,807 1/14/2020
2.0.1 277,047 9/25/2020
2.0.0 229,259 12/29/2019