Wangkanai.Detection 5.7.2

.NET 5.0 .NET Core 3.1
NuGet\Install-Package Wangkanai.Detection -Version 5.7.2
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.
dotnet add package Wangkanai.Detection --version 5.7.2
<PackageReference Include="Wangkanai.Detection" Version="5.7.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wangkanai.Detection --version 5.7.2
#r "nuget: Wangkanai.Detection, 5.7.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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=5.7.2

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

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

NuGet packages (8)

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

Package Downloads
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.

DevDiamond.AspNetCore

Package Description

Wangkanai.IdentityAdmin

IdentityAdmin is a free, open source that provides the necessary administration portal for managing IdentityServer to manage clients and users. IdentityAdmin will allow easier implementation of IdentityServer whom provides no administration tool for managing its configuration.

Wangkanai.Responsive.Core.Modified

Package Description

Wangkanai.Analytics

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 (4)

Showing the top 4 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.
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
5.7.2 0 9/27/2022
5.7.1 469 9/19/2022
5.7.0 879 9/13/2022
5.6.0 113 9/13/2022
5.5.300 465 9/9/2022
5.5.200 5,015 8/23/2022
5.5.100 173 8/21/2022
5.4.0 173 8/20/2022
5.3.0 18,048 6/23/2022
5.2.1 15,320 5/2/2022
5.2.0 14,109 3/8/2022
5.1.0 8,844 3/6/2022
5.0.0 9,963 2/9/2022
5.0.0-alpha8 72 2/9/2022
5.0.0-alpha7 65 2/8/2022
5.0.0-alpha6 67 2/8/2022
5.0.0-alpha5 89 2/4/2022
5.0.0-alpha4 1,884 12/7/2021
5.0.0-alpha3 115 12/5/2021
5.0.0-alpha2 95 12/4/2021
5.0.0-alpha1 89 12/3/2021
4.0.0 67,037 12/2/2021
4.0.0-beta4 84 12/2/2021
4.0.0-beta3 4,949 7/30/2021
4.0.0-beta2 29,135 5/11/2021
4.0.0-Beta1 268 5/5/2021
3.0.0 225,393 12/20/2020
3.0.0-beta2 332 12/20/2020
3.0.0-beta1 4,638 11/22/2020
3.0.0-alpha14 15,094 10/19/2020
3.0.0-alpha13 2,484 10/12/2020
3.0.0-alpha12 754 10/3/2020
3.0.0-alpha11 1,337 9/25/2020
3.0.0-alpha10 31,473 5/18/2020
3.0.0-alpha09 43,106 2/18/2020
3.0.0-alpha08 452 2/14/2020
3.0.0-alpha07 977 2/6/2020
3.0.0-alpha06 710 2/3/2020
3.0.0-alpha05 1,625 1/27/2020
3.0.0-alpha04 335 1/27/2020
3.0.0-alpha03 341 1/26/2020
3.0.0-alpha02 370 1/18/2020
3.0.0-alpha01 1,238 1/14/2020
2.0.1 105,943 9/25/2020
2.0.0 148,240 12/29/2019