Wangkanai.Detection 3.0.0

ASP.NET Core Detection service components for identifying details about client device, browser, engine, platform, and 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.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Wangkanai.Detection -Version 3.0.0
dotnet add package Wangkanai.Detection --version 3.0.0
<PackageReference Include="Wangkanai.Detection" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wangkanai.Detection --version 3.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Wangkanai.Detection, 3.0.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=3.0.0

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

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

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

  • .NETCoreApp 3.0

    • No dependencies.

NuGet packages (6)

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

Package Downloads
JetLink.SharedKernel
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.
DevDiamond.AspNetCore
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.
Wangkanai.Responsive.Core.Modified
Package Description

GitHub repositories (3)

Showing the top 3 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.
mrellipse/toucan
Boilerplate template using Vue.js, TypeScript and .NET Core 2.1, based on SOLID design principles
grandnode/grandnode2
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.

Version History

Version Downloads Last updated
4.0.0-beta3 122 7/30/2021
4.0.0-beta2 2,113 5/11/2021
4.0.0-Beta1 81 5/5/2021
3.0.0 60,743 12/20/2020
3.0.0-beta2 173 12/20/2020
3.0.0-beta1 1,841 11/22/2020
3.0.0-alpha14 8,490 10/19/2020
3.0.0-alpha13 1,946 10/12/2020
3.0.0-alpha12 492 10/3/2020
3.0.0-alpha11 374 9/25/2020
3.0.0-alpha10 25,396 5/18/2020
3.0.0-alpha09 19,908 2/18/2020
3.0.0-alpha08 324 2/14/2020
3.0.0-alpha07 665 2/6/2020
3.0.0-alpha06 476 2/3/2020
3.0.0-alpha05 1,487 1/27/2020
3.0.0-alpha04 253 1/27/2020
3.0.0-alpha03 241 1/26/2020
3.0.0-alpha02 291 1/18/2020
3.0.0-alpha01 863 1/14/2020
2.0.1 39,279 9/25/2020
2.0.0 99,773 12/29/2019