Wangkanai.Responsive 3.2.0

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

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

Wangkanai Responsive View

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.

Build Status Open Collective Patreon GitHub

Installation

Installation of detection library is now done with a single package reference point.

PM> install-package Wangkanai.Responsive

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.AddResponsive();

    // Add framework services.
    services.AddControllersWithViews();
}
  • AddResponsive() Adds the responsive 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.UseResponsive();
    
    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.Responsive
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 1,759 11/27/2023
7.7.0 519 11/23/2023
7.6.0 537 11/17/2023
7.5.0 540 11/15/2023
7.4.0 85 11/1/2023
7.3.0 190 10/22/2023
7.2.0 90 9/28/2023
7.1.0 71 9/21/2023
7.0.0 825 7/20/2023
6.2.0 927 7/7/2023
6.1.0 752 7/1/2023
6.0.0 813 6/28/2023
5.4.0 1,266 6/16/2023
5.3.1 979 6/7/2023
5.3.0 1,151 5/15/2023
5.2.0 807 5/11/2023
5.1.1 966 4/13/2023
5.1.0 1,284 4/3/2023
5.0.0 1,019 1/18/2023
4.10.4 952 1/17/2023
4.10.3 966 1/10/2023
4.10.2 1,028 1/3/2023
4.10.1 953 12/31/2022
4.10.0 3,391 12/27/2022
4.9.0 998 12/23/2022
4.8.0 1,068 11/30/2022
4.7.0 932 11/28/2022
4.6.0 965 11/27/2022
4.5.0 998 11/26/2022
4.4.0 966 11/24/2022
4.3.0 1,008 11/24/2022
4.2.0 1,002 11/15/2022
4.1.0 1,013 11/9/2022
4.0.0 987 11/9/2022
3.5.2 1,977 9/27/2022
3.5.1 1,093 9/19/2022
3.5.0 1,326 9/13/2022
3.4.0 1,061 9/13/2022
3.3.300 1,108 9/9/2022
3.3.200 1,293 8/23/2022
3.3.100 1,059 8/21/2022
3.2.0 2,358 6/23/2022
3.1.0 1,867 3/6/2022
3.0.0 2,252 2/9/2022
3.0.0-alpha3 773 2/9/2022
3.0.0-alpha2 759 2/8/2022
3.0.0-alpha1 784 2/4/2022
2.0.1 26,078 9/25/2020
2.0.0 18,151 12/29/2019
2.0.0-beta15 1,372 12/27/2019
2.0.0-beta14 1,239 12/25/2019
2.0.0-beta13 1,578 12/8/2019
2.0.0-beta12 3,706 8/2/2019
2.0.0-beta11 2,064 5/2/2019
2.0.0-beta04 1,452 5/3/2019