Wangkanai.Detection 5.0.0-alpha6

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-alpha6
                    
NuGet\Install-Package Wangkanai.Detection -Version 5.0.0-alpha6
                    
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-alpha6" />
                    
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-alpha6" />
                    
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-alpha6
                    
#r "nuget: Wangkanai.Detection, 5.0.0-alpha6"
                    
#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-alpha6
                    
#: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-alpha6&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Wangkanai.Detection&version=5.0.0-alpha6&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 31,155 7/17/2025
8.19.0 19,246 6/19/2025
8.18.0 9,462 6/8/2025
8.17.0 8,146 5/29/2025
8.16.0 10,901 5/19/2025
8.15.0 32,669 3/28/2025
8.14.0 438,442 5/8/2024
8.13.0 8,915 4/27/2024
8.12.0 109,339 3/9/2024
8.11.0 160,128 11/27/2023
8.10.0 3,005 11/23/2023
8.9.0 13,053 11/17/2023
8.8.0 2,252 11/15/2023
8.7.0 19,665 11/1/2023
8.6.0 1,320 10/22/2023
8.5.0 933 10/6/2023
8.4.0 1,126 9/28/2023
8.3.0 1,058 9/21/2023
8.2.0 2,525 7/20/2023
8.1.0 48,895 7/1/2023
8.0.0 2,614 6/28/2023
7.4.0 304,925 6/16/2023
7.3.2 296,235 6/7/2023
7.3.1 2,189 6/7/2023
7.3.0 57,376 5/15/2023
7.2.0 3,385 5/11/2023
7.1.1 49,081 4/13/2023
7.1.0 19,142 4/3/2023
7.0.0 107,821 1/18/2023
6.11.4 73,822 1/17/2023
6.11.3 48,650 1/10/2023
6.11.2 6,580 1/3/2023
6.11.1 2,793 12/31/2022
6.11.0 11,764 12/27/2022
6.10.0 7,466 12/23/2022
6.9.0 42,878 11/30/2022
6.8.0 17,219 11/28/2022
6.7.0 1,629 11/27/2022
6.6.0 4,992 11/26/2022
6.5.0 1,483 11/26/2022
6.4.0 2,677 11/24/2022
6.3.0 1,714 11/24/2022
6.2.0 26,500 11/14/2022
6.1.0 22,979 11/9/2022
6.0.0 5,485 11/9/2022
5.7.3 59,348 10/16/2022
5.7.2 37,900 9/27/2022
5.7.1 53,619 9/19/2022
5.7.0 13,269 9/13/2022
5.6.0 2,187 9/13/2022
5.5.300 4,399 9/9/2022
5.5.200 183,335 8/23/2022
5.5.100 7,451 8/21/2022
5.4.0 1,158 8/20/2022
5.3.0 69,589 6/23/2022
5.2.1 91,248 5/2/2022
5.2.0 245,833 3/8/2022
5.1.0 69,457 3/6/2022
5.0.0 15,476 2/9/2022
5.0.0-alpha8 895 2/9/2022
5.0.0-alpha7 860 2/8/2022
5.0.0-alpha6 588 2/8/2022
5.0.0-alpha5 935 2/4/2022
5.0.0-alpha4 4,360 12/7/2021
5.0.0-alpha3 702 12/5/2021
5.0.0-alpha2 642 12/4/2021
5.0.0-alpha1 615 12/3/2021
4.0.0 245,182 12/2/2021
4.0.0-beta4 642 12/2/2021
4.0.0-beta3 5,896 7/30/2021
4.0.0-beta2 70,904 5/11/2021
4.0.0-Beta1 1,030 5/5/2021
3.0.0 446,117 12/20/2020
3.0.0-beta2 910 12/20/2020
3.0.0-beta1 7,866 11/22/2020
3.0.0-alpha14 19,901 10/19/2020
3.0.0-alpha13 3,137 10/12/2020
3.0.0-alpha12 1,334 10/3/2020
3.0.0-alpha11 3,262 9/25/2020
3.0.0-alpha10 40,991 5/18/2020
3.0.0-alpha09 83,259 2/18/2020
3.0.0-alpha08 984 2/14/2020
3.0.0-alpha07 3,957 2/6/2020
3.0.0-alpha06 1,606 2/3/2020
3.0.0-alpha05 2,263 1/27/2020
3.0.0-alpha04 894 1/27/2020
3.0.0-alpha03 901 1/26/2020
3.0.0-alpha02 950 1/18/2020
3.0.0-alpha01 1,811 1/14/2020
2.0.1 277,331 9/25/2020
2.0.0 229,735 12/29/2019