Top 10 ASP.NET Libraries in 2017

ASP.NET is an open source and server-side web application framework for creating modern web applications, websites, and web services. ASP.NET creates websites based on HTML5, CSS, and JavaScript which is simple, fast, and can scale to millions of users.

  • ASP.NET Core is a successor of ASP.NET and is a re-implementation of ASP.NET as a modular web framework, together with other frameworks like Entity Framework.
  • The new framework uses the new open-source, cross-platform .NET Compiler Platform known as Roslyn.
  • A platform using only Razor pages such as ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages have merged into a unified MVC 06

ASP.NET is a unified Web development model that includes the services necessary for you to build enterprise-class Web applications with a minimum of coding. It is part of the .NET Framework, and you can code your applications in any language compatible with the common language runtime (CLR), including Microsoft Visual Basic and C#. There are a lot of libraries available which can enhance, extend, and improve the functionality of ASP.NET framework

In this article, we will discuss the top 10 ASP.NET libraries, or you can say the most useful libraries which are used in 20107

01 Swashbuckle.AspNetCore.Swagger By domaindrivendev

Downloads (Total: 1m+, Daily: 3,156)

Swagger tooling for API's built with ASP.NET Core. Generate beautiful API documentation, including a UI to explore and test operations, directly from your routes, controllers and models.

  • In addition to its Swagger generator, Swashbuckle also provides an embedded version of the awesome swagger-ui that's powered by the generated Swagger JSON.
  • This means you can complement your API with living documentation that's always in sync with the latest code.
  • Best of all, it requires minimal coding and maintenance, allowing you to focus on building an awesome API.

For further details, you can visit https://github.com/domaindrivendev/Swashbuckle.AspNetCore

02 Unity.WebAPI By devtrends

Downloads (Total: 013m+, Daily: 626)

Unity.WebAPI is a library that allows the simple integration of Microsoft's Unity IoC container with ASP.NET Web API.

  • Unity.WebAPI is a port of the popular Unity.Mvc3 package, specifically for ASP.NET Web API scenarios.
  • No references to any ASP.NET MVC DLLs are necessary, though if you do host your API within an MVC application, Unity.WebAPI will work in harmony with Unity.Mvc03
  • Unity.WebAPI works in exactly the same way as Unity.Mvc3, the NuGet package will add a boostrapper class at the root of your application.
  • The bootstrapper should contain your Unity registration code and you do not need to add the controllers to Unity, but any other components that are used by the controllers should be added.

03 Serilog.AspNetCore By serilog

Downloads (Total: 46k+, Daily: 565)

Serilog support logging for ASP.NET Core. This package routes ASP.NET Core log messages through Serilog, so that you can get information about ASP.NET's internal operations logged to the same Serilog sinks as your application events.

  • With Serilog.AspNetCore installed and configured, you can write log messages directly through Serilog or any ILogger interface injected by ASP.NET.
  • All loggers will use the same underlying implementation, levels, and destinations.

04 SimpleInjector.Integration.WebApi By .net junkie & SimpleInjector-Contributors

Downloads (Total: 680k+, Daily: 501)

The goal of Simple Injector is to provide .NET application developers with an easy, flexible, and fast Inversion of Control library that promotes best practice to steer developers towards the pit of success.

  • Many of the existing DI libraries have a big complicated legacy API or are new, immature, and lack features often required by large-scale development projects.
  • Simple Injector fills this gap by supplying a simple implementation with a carefully selected and complete set of features.
  • File and attribute based configuration methods have been abandoned (they invariably result in brittle and heavy maintenance applications), favoring simple code based configuration instead.

For further details, you can visit https://simpleinjector.readthedocs.io/en/latest/

05 IdentityServer04AspNetIdentity By identity

Downloads (Total: 187k+, Daily: 429)

IdentityServer04AspNetIdentity is a User Service plugin for IdentityServer4 that uses ASP.NET Identity as its identity management library

  • ASP.NET Core Identity integration support for IdentityServer04
  • This repo contains extensions for IdentityServer to easily integrate with ASP.NET Core Identity.
  • You simply add the UseAspNetIdentitymethod when configuring IdentityServer

For further details, you can visit 04AspNetIdentity"> https://github.com/IdentityServer/IdentityServer04AspNetIdentity

06 SimpleInjector.Integration.Web By .net junkie & SimpleInjector-Contributors

Downloads (Total: 609k+, Daily: 309)

The Simple Injector ASP.NET Integration package adds a lifestyle to the Simple Injector called Per Web Request, which allows instances to live within a single HTTP request and get disposed when the request ends.

For further details, you can visit https://simpleinjector.readthedocs.io/en/latest/

07 NSwag.AspNet.Owin By rsuter

Downloads (Total: 30k+, Daily: 58)

  • NSwag is a Swagger 020 API (OpenAPI) toolchain for .NET, Web API, ASP.NET Core, TypeScript (jQuery, AngularJS, Angular 2+, Aurelia, KnockoutJS, and more) and other platforms, written in C#.
  • The Swagger specification uses JSON and JSON Schema to describe a RESTful web API.
  • The NSwag project provides tools to generate Swagger specifications from existing ASP.NET Web API controllers and client code from these Swagger specifications.

For further details, you can visit https://github.com/RSuter/NSwag

08 React.AspNet By Daniel15

Downloads (Total: 53k+, Daily: 53)

  • ReactJS and Babel tools for ASP.NET Core, including ASP.NET Core MVC.
  • ReactJS.NET makes it easier to use Facebook's React and JSX from C# and other .NET languages, focusing specifically on ASP.NET MVC (although it also works in different environments).
  • It supports both ASP.NET 4 (with MVC 4 or 5), and ASP.NET Core MVC. It is cross-platform and can run on Linux via Mono or .NET Core.

For further details, you can visit https://reactjs.net/

09 Auth0-ASPNET By ntotten

Downloads (Total: 63k+, Daily: 37)

  • Creates an HTTP handler to accept Auth0 callback and exchange code with the access token.
  • You can easily create a login session by creating a handler mocklogin.ashx with this code.
  • This could be useful if you are doing automated tests or load testing.

For further details, you can visit https://github.com/auth0/auth0-aspnet

10 Microsoft.PowerBI.AspNet.Mvc By powerbi

Downloads (Total: 76k+, Daily: 127)

  • A suite of ASP.NET MVC helpers for integrating Power BI into your app.
  • The Microsoft.PowerBI.Api is a .NET REST Client to easily consume the Power BI Embedded REST services.

For further details, you can visit https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedding/?cdn=disable