Wangkanai.Detection 5.0.0-alpha3

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-alpha3
                    
NuGet\Install-Package Wangkanai.Detection -Version 5.0.0-alpha3
                    
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-alpha3" />
                    
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-alpha3" />
                    
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-alpha3
                    
#r "nuget: Wangkanai.Detection, 5.0.0-alpha3"
                    
#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.
#addin nuget:?package=Wangkanai.Detection&version=5.0.0-alpha3&prerelease
                    
Install Wangkanai.Detection as a Cake Addin
#tool nuget:?package=Wangkanai.Detection&version=5.0.0-alpha3&prerelease
                    
Install Wangkanai.Detection 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 Preview 4, 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
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.
minhsangdotcom/Clean-Architecture_The-Template
The .NET Core Clean Architecture Solution Template is here! 🚀 help you deliver robust applications effortlessly.
Version Downloads Last updated
8.18.0 1,170 6/8/2025
8.17.0 1,830 5/29/2025
8.16.0 2,888 5/19/2025
8.15.0 18,079 3/28/2025
8.14.0 333,124 5/8/2024
8.13.0 7,801 4/27/2024
8.12.0 88,498 3/9/2024
8.11.0 131,202 11/27/2023
8.10.0 2,690 11/23/2023
8.9.0 12,683 11/17/2023
8.8.0 2,075 11/15/2023
8.7.0 15,870 11/1/2023
8.6.0 1,143 10/22/2023
8.5.0 805 10/6/2023
8.4.0 973 9/28/2023
8.3.0 918 9/21/2023
8.2.0 2,357 7/20/2023
8.1.0 38,861 7/1/2023
8.0.0 2,416 6/28/2023
7.4.0 252,793 6/16/2023
7.3.2 273,130 6/7/2023
7.3.1 2,049 6/7/2023
7.3.0 54,493 5/15/2023
7.2.0 3,145 5/11/2023
7.1.1 48,086 4/13/2023
7.1.0 18,349 4/3/2023
7.0.0 102,988 1/18/2023
6.11.4 68,361 1/17/2023
6.11.3 47,626 1/10/2023
6.11.2 5,893 1/3/2023
6.11.1 2,657 12/31/2022
6.11.0 11,276 12/27/2022
6.10.0 6,103 12/23/2022
6.9.0 41,142 11/30/2022
6.8.0 14,327 11/28/2022
6.7.0 1,484 11/27/2022
6.6.0 4,466 11/26/2022
6.5.0 1,370 11/26/2022
6.4.0 2,505 11/24/2022
6.3.0 1,597 11/24/2022
6.2.0 25,157 11/14/2022
6.1.0 22,706 11/9/2022
6.0.0 3,845 11/9/2022
5.7.3 57,343 10/16/2022
5.7.2 36,276 9/27/2022
5.7.1 52,357 9/19/2022
5.7.0 12,228 9/13/2022
5.6.0 2,058 9/13/2022
5.5.300 3,874 9/9/2022
5.5.200 172,074 8/23/2022
5.5.100 5,149 8/21/2022
5.4.0 1,043 8/20/2022
5.3.0 67,258 6/23/2022
5.2.1 87,053 5/2/2022
5.2.0 216,918 3/8/2022
5.1.0 63,590 3/6/2022
5.0.0 15,196 2/9/2022
5.0.0-alpha8 809 2/9/2022
5.0.0-alpha7 778 2/8/2022
5.0.0-alpha6 513 2/8/2022
5.0.0-alpha5 858 2/4/2022
5.0.0-alpha4 4,289 12/7/2021
5.0.0-alpha3 619 12/5/2021
5.0.0-alpha2 567 12/4/2021
5.0.0-alpha1 543 12/3/2021
4.0.0 235,151 12/2/2021
4.0.0-beta4 574 12/2/2021
4.0.0-beta3 5,819 7/30/2021
4.0.0-beta2 69,175 5/11/2021
4.0.0-Beta1 950 5/5/2021
3.0.0 435,361 12/20/2020
3.0.0-beta2 830 12/20/2020
3.0.0-beta1 7,774 11/22/2020
3.0.0-alpha14 19,490 10/19/2020
3.0.0-alpha13 3,046 10/12/2020
3.0.0-alpha12 1,257 10/3/2020
3.0.0-alpha11 3,063 9/25/2020
3.0.0-alpha10 40,228 5/18/2020
3.0.0-alpha09 79,709 2/18/2020
3.0.0-alpha08 917 2/14/2020
3.0.0-alpha07 3,800 2/6/2020
3.0.0-alpha06 1,504 2/3/2020
3.0.0-alpha05 2,174 1/27/2020
3.0.0-alpha04 818 1/27/2020
3.0.0-alpha03 828 1/26/2020
3.0.0-alpha02 870 1/18/2020
3.0.0-alpha01 1,741 1/14/2020
2.0.1 266,975 9/25/2020
2.0.0 221,679 12/29/2019