Wangkanai.Responsive 3.0.0-alpha3

Prefix Reserved
This is a prerelease version of Wangkanai.Responsive.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Wangkanai.Responsive --version 3.0.0-alpha3
                    
NuGet\Install-Package Wangkanai.Responsive -Version 3.0.0-alpha3
                    
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.0.0-alpha3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Wangkanai.Responsive" Version="3.0.0-alpha3" />
                    
Directory.Packages.props
<PackageReference Include="Wangkanai.Responsive" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Wangkanai.Responsive --version 3.0.0-alpha3
                    
#r "nuget: Wangkanai.Responsive, 3.0.0-alpha3"
                    
#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.
#addin nuget:?package=Wangkanai.Responsive&version=3.0.0-alpha3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Wangkanai.Responsive&version=3.0.0-alpha3&prerelease
                    
Install as a Cake Tool

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.

GitHub Open Collective Patreon

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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.13.0 111 6/19/2025
7.12.0 225 6/8/2025
7.11.0 157 5/29/2025
7.10.0 160 5/19/2025
7.9.0 273 3/28/2025
7.8.0 10,735 11/27/2023
7.7.0 568 11/23/2023
7.6.0 584 11/17/2023
7.5.0 585 11/15/2023
7.4.0 121 11/1/2023
7.3.0 227 10/22/2023
7.2.0 125 9/28/2023
7.1.0 112 9/21/2023
7.0.0 875 7/20/2023
6.2.0 986 7/7/2023
6.1.0 806 7/1/2023
6.0.0 868 6/28/2023
5.4.0 1,982 6/16/2023
5.3.1 1,037 6/7/2023
5.3.0 1,455 5/15/2023
5.2.0 868 5/11/2023
5.1.1 1,025 4/13/2023
5.1.0 1,345 4/3/2023
5.0.0 1,098 1/18/2023
4.10.4 1,011 1/17/2023
4.10.3 1,027 1/10/2023
4.10.2 1,089 1/3/2023
4.10.1 1,033 12/31/2022
4.10.0 5,237 12/27/2022
4.9.0 1,072 12/23/2022
4.8.0 1,157 11/30/2022
4.7.0 993 11/28/2022
4.6.0 1,023 11/27/2022
4.5.0 1,061 11/26/2022
4.4.0 1,031 11/24/2022
4.3.0 1,070 11/24/2022
4.2.0 1,078 11/15/2022
4.1.0 1,084 11/9/2022
4.0.0 1,045 11/9/2022
3.5.2 2,231 9/27/2022
3.5.1 1,158 9/19/2022
3.5.0 1,538 9/13/2022
3.4.0 1,132 9/13/2022
3.3.300 1,169 9/9/2022
3.3.200 1,358 8/23/2022
3.3.100 1,121 8/21/2022
3.2.0 2,458 6/23/2022
3.1.0 2,055 3/6/2022
3.0.0 2,396 2/9/2022
3.0.0-alpha3 854 2/9/2022
3.0.0-alpha2 823 2/8/2022
3.0.0-alpha1 851 2/4/2022
2.0.1 32,759 9/25/2020
2.0.0 18,752 12/29/2019
2.0.0-beta15 1,539 12/27/2019 2.0.0-beta15 is deprecated because it is no longer maintained.
2.0.0-beta14 1,399 12/25/2019 2.0.0-beta14 is deprecated because it is no longer maintained.
2.0.0-beta13 1,744 12/8/2019 2.0.0-beta13 is deprecated because it is no longer maintained.
2.0.0-beta12 3,864 8/2/2019 2.0.0-beta12 is deprecated because it is no longer maintained.
2.0.0-beta11 2,213 5/2/2019 2.0.0-beta11 is deprecated because it is no longer maintained.
2.0.0-beta04 1,627 5/3/2019 2.0.0-beta04 is deprecated because it is no longer maintained.