Wangkanai.Responsive
3.0.0-alpha1
Prefix Reserved
See the version list below for details.
dotnet add package Wangkanai.Responsive --version 3.0.0-alpha1
NuGet\Install-Package Wangkanai.Responsive -Version 3.0.0-alpha1
<PackageReference Include="Wangkanai.Responsive" Version="3.0.0-alpha1" />
paket add Wangkanai.Responsive --version 3.0.0-alpha1
#r "nuget: Wangkanai.Responsive, 3.0.0-alpha1"
// Install Wangkanai.Responsive as a Cake Addin #addin nuget:?package=Wangkanai.Responsive&version=3.0.0-alpha1&prerelease // Install Wangkanai.Responsive as a Cake Tool #tool nuget:?package=Wangkanai.Responsive&version=3.0.0-alpha1&prerelease
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.
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 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. |
-
net6.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Wangkanai.Detection (>= 5.0.0-alpha5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
7.8.0 | 4,529 | 11/27/2023 | |
7.7.0 | 545 | 11/23/2023 | |
7.6.0 | 562 | 11/17/2023 | |
7.5.0 | 566 | 11/15/2023 | |
7.4.0 | 103 | 11/1/2023 | |
7.3.0 | 208 | 10/22/2023 | |
7.2.0 | 106 | 9/28/2023 | |
7.1.0 | 88 | 9/21/2023 | |
7.0.0 | 850 | 7/20/2023 | |
6.2.0 | 961 | 7/7/2023 | |
6.1.0 | 779 | 7/1/2023 | |
6.0.0 | 838 | 6/28/2023 | |
5.4.0 | 1,811 | 6/16/2023 | |
5.3.1 | 1,005 | 6/7/2023 | |
5.3.0 | 1,264 | 5/15/2023 | |
5.2.0 | 840 | 5/11/2023 | |
5.1.1 | 994 | 4/13/2023 | |
5.1.0 | 1,311 | 4/3/2023 | |
5.0.0 | 1,056 | 1/18/2023 | |
4.10.4 | 977 | 1/17/2023 | |
4.10.3 | 992 | 1/10/2023 | |
4.10.2 | 1,054 | 1/3/2023 | |
4.10.1 | 980 | 12/31/2022 | |
4.10.0 | 4,613 | 12/27/2022 | |
4.9.0 | 1,031 | 12/23/2022 | |
4.8.0 | 1,106 | 11/30/2022 | |
4.7.0 | 957 | 11/28/2022 | |
4.6.0 | 987 | 11/27/2022 | |
4.5.0 | 1,022 | 11/26/2022 | |
4.4.0 | 996 | 11/24/2022 | |
4.3.0 | 1,033 | 11/24/2022 | |
4.2.0 | 1,035 | 11/15/2022 | |
4.1.0 | 1,040 | 11/9/2022 | |
4.0.0 | 1,009 | 11/9/2022 | |
3.5.2 | 2,142 | 9/27/2022 | |
3.5.1 | 1,119 | 9/19/2022 | |
3.5.0 | 1,480 | 9/13/2022 | |
3.4.0 | 1,083 | 9/13/2022 | |
3.3.300 | 1,128 | 9/9/2022 | |
3.3.200 | 1,314 | 8/23/2022 | |
3.3.100 | 1,079 | 8/21/2022 | |
3.2.0 | 2,389 | 6/23/2022 | |
3.1.0 | 1,953 | 3/6/2022 | |
3.0.0 | 2,320 | 2/9/2022 | |
3.0.0-alpha3 | 792 | 2/9/2022 | |
3.0.0-alpha2 | 777 | 2/8/2022 | |
3.0.0-alpha1 | 804 | 2/4/2022 | |
2.0.1 | 30,787 | 9/25/2020 | |
2.0.0 | 18,497 | 12/29/2019 | |
2.0.0-beta15 | 1,422 | 12/27/2019 | |
2.0.0-beta14 | 1,281 | 12/25/2019 | |
2.0.0-beta13 | 1,620 | 12/8/2019 | |
2.0.0-beta12 | 3,734 | 8/2/2019 | |
2.0.0-beta11 | 2,088 | 5/2/2019 | |
2.0.0-beta04 | 1,501 | 5/3/2019 |