Wangkanai.Detection.Device 2.0.0-beta13

ASP.NET Core Detection Device resolver components

This is a prerelease version of Wangkanai.Detection.Device.
Install-Package Wangkanai.Detection.Device -Version 2.0.0-beta13
dotnet add package Wangkanai.Detection.Device --version 2.0.0-beta13
<PackageReference Include="Wangkanai.Detection.Device" Version="2.0.0-beta13" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Wangkanai.Detection.Device --version 2.0.0-beta13
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

ASP.NET Core Detection

ASP.NET Core client web browser detection extension to resolve devices, platforms, engine of the client.

ASP.NET Core Responsive

Financial Contributors on Open Collective Build status

Build history

package | nuget |
--------|----------|
Wangkanai.Detection | NuGet Badge |
Wangkanai.Detection.Device | NuGet Badge |
Wangkanai.Detection.Browser | NuGet Badge |
Wangkanai.Detection.Engine | NuGet Badge |
Wangkanai.Detection.Platform | NuGet Badge |
Wangkanai.Detection.Crawler | NuGet Badge |
Wangkanai.Responsive | NuGet Badge |

Installation

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

PM> install-package Wangkanai.Detection -pre

While it is still possible to install the individual package if you just need that specific resolver.

PM> install-package Wangkanai.Detection.Device -pre  
PM> install-package Wangkanai.Detection.Browser -pre  
PM> install-package Wangkanai.Detection.Engine -pre   //concept
PM> install-package Wangkanai.Detection.Platform -pre //concept
PM> install-package Wangkanai.Detection.Crawler -pre  

Installation of Responsive library will bring in all dependency packages (This will include `Wangkanai.Detection.Device).

PM> install-package Wangkanai.Responsive -pre

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.AddMvc();
}
  • AddDetection() Adds the detection services to the services container.

While the detection service is configured globally, its can also be configure individually if you only need some functions.

public void ConfigureServices(IServiceCollection services)
{
    // Add detection services container and device resolver service.
    services.AddDetectionCore()
        .AddDevice()
        .AddBrowser()
        .AddPlatform()  // concept
        .AddEngine()    // concept
        .AddCrawler();

    // Add framework services.
    services.AddMvc();
}

ASP.NET Core Detection

ASP.NET Core client web browser detection extension to resolve devices, platforms, engine of the client.

ASP.NET Core Responsive

Financial Contributors on Open Collective Build status

Build history

package | nuget |
--------|----------|
Wangkanai.Detection | NuGet Badge |
Wangkanai.Detection.Device | NuGet Badge |
Wangkanai.Detection.Browser | NuGet Badge |
Wangkanai.Detection.Engine | NuGet Badge |
Wangkanai.Detection.Platform | NuGet Badge |
Wangkanai.Detection.Crawler | NuGet Badge |
Wangkanai.Responsive | NuGet Badge |

Installation

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

PM> install-package Wangkanai.Detection -pre

While it is still possible to install the individual package if you just need that specific resolver.

PM> install-package Wangkanai.Detection.Device -pre  
PM> install-package Wangkanai.Detection.Browser -pre  
PM> install-package Wangkanai.Detection.Engine -pre   //concept
PM> install-package Wangkanai.Detection.Platform -pre //concept
PM> install-package Wangkanai.Detection.Crawler -pre  

Installation of Responsive library will bring in all dependency packages (This will include `Wangkanai.Detection.Device).

PM> install-package Wangkanai.Responsive -pre

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.AddMvc();
}
  • AddDetection() Adds the detection services to the services container.

While the detection service is configured globally, its can also be configure individually if you only need some functions.

public void ConfigureServices(IServiceCollection services)
{
    // Add detection services container and device resolver service.
    services.AddDetectionCore()
        .AddDevice()
        .AddBrowser()
        .AddPlatform()  // concept
        .AddEngine()    // concept
        .AddCrawler();

    // Add framework services.
    services.AddMvc();
}

Showing the top 3 GitHub repositories that depend on Wangkanai.Detection.Device:

Repository Stars
dodyg/practical-aspnetcore
Practical samples of aspnet core 2.1, 2.2, 3.0 and 3.1-Preview3 projects you can use. Readme contains explanations on all projects.
grandnode/grandnode
Free and Open Source Ecommerce Shopping Cart solution based on ASP.NET CORE and MongoDB
WebVella/WebVella-ERP
Free and open-source pluggable ERP and CRM software based on ASP.NET Core 3.1, RazorPages and PostgreSQL 11. Targets Linux or Windows as host OS.

Version History

Version Downloads Last updated
2.0.0-beta13 31 12/8/2019
2.0.0-beta12 9,683 8/2/2019
2.0.0-beta11 15,603 5/2/2019
2.0.0-beta10 4,975 2/21/2019