Wangkanai.Detection 5.3.0

.NET 6.0
Install-Package Wangkanai.Detection -Version 5.3.0
dotnet add package Wangkanai.Detection --version 5.3.0
<PackageReference Include="Wangkanai.Detection" Version="5.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wangkanai.Detection --version 5.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Wangkanai.Detection, 5.3.0"
#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.3.0

// Install Wangkanai.Detection as a Cake Tool
#tool nuget:?package=Wangkanai.Detection&version=5.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

JetLink.SharedKernel

Package Description

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

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.
wangkanai/wangkanai
ASP.NET Core Detection with Responsive View for identifying details about client device, browser, engine, platform, & crawler. Responsive middleware for routing base upon request client device detection to specific view.
mrellipse/toucan
Boilerplate template using Vue.js, TypeScript and .NET Core 2.1, based on SOLID design principles
Version Downloads Last updated
5.3.0 160 6/23/2022
5.2.1 9,013 5/2/2022
5.2.0 8,647 3/8/2022
5.1.0 4,447 3/6/2022
5.0.0 8,354 2/9/2022
5.0.0-alpha8 58 2/9/2022
5.0.0-alpha7 57 2/8/2022
5.0.0-alpha6 56 2/8/2022
5.0.0-alpha5 74 2/4/2022
5.0.0-alpha4 1,395 12/7/2021
5.0.0-alpha3 97 12/5/2021
5.0.0-alpha2 83 12/4/2021
5.0.0-alpha1 78 12/3/2021
4.0.0 47,865 12/2/2021
4.0.0-beta4 72 12/2/2021
4.0.0-beta3 4,355 7/30/2021
4.0.0-beta2 23,867 5/11/2021
4.0.0-Beta1 233 5/5/2021
3.0.0 195,311 12/20/2020
3.0.0-beta2 324 12/20/2020
3.0.0-beta1 3,669 11/22/2020
3.0.0-alpha14 13,862 10/19/2020
3.0.0-alpha13 2,331 10/12/2020
3.0.0-alpha12 727 10/3/2020
3.0.0-alpha11 1,076 9/25/2020
3.0.0-alpha10 30,232 5/18/2020
3.0.0-alpha09 40,488 2/18/2020
3.0.0-alpha08 441 2/14/2020
3.0.0-alpha07 919 2/6/2020
3.0.0-alpha06 663 2/3/2020
3.0.0-alpha05 1,616 1/27/2020
3.0.0-alpha04 328 1/27/2020
3.0.0-alpha03 335 1/26/2020
3.0.0-alpha02 364 1/18/2020
3.0.0-alpha01 1,230 1/14/2020
2.0.1 89,877 9/25/2020
2.0.0 138,436 12/29/2019