Wangkanai.Detection 7.0.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0
dotnet add package Wangkanai.Detection --version 7.0.0
NuGet\Install-Package Wangkanai.Detection -Version 7.0.0
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="7.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wangkanai.Detection --version 7.0.0
#r "nuget: Wangkanai.Detection, 7.0.0"
#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.
// Install Wangkanai.Detection as a Cake Addin
#addin nuget:?package=Wangkanai.Detection&version=7.0.0

// Install Wangkanai.Detection as a Cake Tool
#tool nuget:?package=Wangkanai.Detection&version=7.0.0

ASP.NET Core Detection

NuGet Badge NuGet Badge

ASP.NET Core Detection service components for identifying details about client device, browser, engine, platform, & crawler.

Build Status Open Collective Patreon GitHub

ASP.NET Core Detection

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 Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (9)

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 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.

ZC.Middleware.DefaultAPI

Package Description

DevDiamond.AspNetCore

Package Description

Wangkanai.Analytics The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Wangkanai Analytics is a .NET Core library extension that tracks and generates details statistics about visitors to your website. The core feature is to track website activity such as session duration, pages per session, bounce rate and etc. of individuals using the site, along with the information on the source of the traffic..

GitHub repositories (5)

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

Repository Stars
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 5, RazorPages and PostgreSQL 13. Targets Linux or Windows as host OS.
grandnode/grandnode2
Free, Open source, Fast, Headless, Multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, LiteDB, Vue.js.
mrellipse/toucan
Boilerplate template using Vue.js, TypeScript and .NET Core 2.1, based on SOLID design principles
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
7.0.0 14,867 1/18/2023
6.11.4 2,706 1/17/2023
6.11.3 3,804 1/10/2023
6.11.2 1,428 1/3/2023
6.11.1 999 12/31/2022
6.11.0 2,276 12/27/2022
6.10.0 621 12/23/2022
6.9.0 8,526 11/30/2022
6.8.0 3,040 11/28/2022
6.7.0 346 11/27/2022
6.6.0 373 11/26/2022
6.5.0 284 11/26/2022
6.4.0 652 11/24/2022
6.3.0 364 11/24/2022
6.2.0 8,249 11/14/2022
6.1.0 5,971 11/9/2022
6.0.0 594 11/9/2022
5.7.3 20,997 10/16/2022
5.7.2 11,461 9/27/2022
5.7.1 14,411 9/19/2022
5.7.0 4,379 9/13/2022
5.6.0 630 9/13/2022
5.5.300 1,833 9/9/2022
5.5.200 35,957 8/23/2022
5.5.100 598 8/21/2022
5.4.0 421 8/20/2022
5.3.0 34,710 6/23/2022
5.2.1 33,224 5/2/2022
5.2.0 33,191 3/8/2022
5.1.0 18,020 3/6/2022
5.0.0 11,257 2/9/2022
5.0.0-alpha8 92 2/9/2022
5.0.0-alpha7 85 2/8/2022
5.0.0-alpha6 88 2/8/2022
5.0.0-alpha5 126 2/4/2022
5.0.0-alpha4 3,254 12/7/2021
5.0.0-alpha3 134 12/5/2021
5.0.0-alpha2 113 12/4/2021
5.0.0-alpha1 111 12/3/2021
4.0.0 107,843 12/2/2021
4.0.0-beta4 103 12/2/2021
4.0.0-beta3 5,100 7/30/2021
4.0.0-beta2 46,245 5/11/2021
4.0.0-Beta1 321 5/5/2021
3.0.0 278,793 12/20/2020
3.0.0-beta2 364 12/20/2020
3.0.0-beta1 5,843 11/22/2020
3.0.0-alpha14 16,428 10/19/2020
3.0.0-alpha13 2,529 10/12/2020
3.0.0-alpha12 795 10/3/2020
3.0.0-alpha11 1,564 9/25/2020
3.0.0-alpha10 32,855 5/18/2020
3.0.0-alpha09 46,837 2/18/2020
3.0.0-alpha08 470 2/14/2020
3.0.0-alpha07 1,185 2/6/2020
3.0.0-alpha06 865 2/3/2020
3.0.0-alpha05 1,650 1/27/2020
3.0.0-alpha04 351 1/27/2020
3.0.0-alpha03 358 1/26/2020
3.0.0-alpha02 389 1/18/2020
3.0.0-alpha01 1,256 1/14/2020
2.0.1 140,861 9/25/2020
2.0.0 162,289 12/29/2019