We all know that C# is one of the most popular programming languages. We will find lots of content regarding C# but there is only few infomentor blogs about one of most useful NuGet Package which is really helpful in our daily tasks related to C# development also I have shared why they are trending and most download packages.
So let’s start with major outlines.
What Are NuGet Packages?
A NuGet package is a single ZIP file with the . nupkg extension that contains compiled code (DLLs), other files related to that code, and a descriptive manifest that includes information like the package’s version number.
Detailed Information of NuGet Packages
- Provide from converting LINQ to JSON for manually reading and writing JSON
- Flexible JSON serializer for converting from .NET objects and JSON
- It is more faster than .NET’s built-in JSON serializers
- Write indented, easy-to-read JSON
- Convert JSON to and from XML
- Currently Supports
.NET Standard 2.0,
Windows Phone and Windows 8 Store
The JSON serializer in Json.NET is more convenient when the JSON you are reading or writing maps closely to a .NET class.
LINQ to JSON is good in scenarios where you are only interested in getting values from JSON, when you don’t have a class to serialize or deserialize to,
or the JSON is totally different from your class and you need to manually read and write from your objects.
Serilog is a . NET library has one good thing that it provides diagnostic logging to files, the console, and almost everywhere you would like. Serilog can be used in classic .NET Framework applications and for applications running on the greatest and latest versions of the framework.
You might have a question that what is diagnostic logging, So Basically, Diagnostic log files are files used to store message information which is generated by Oracle Business Intelligence servers.
Entity Framework Core, it is the modern object-database mapper for .NET and it supports LINQ queries more on that , change tracking, updates, and also schema migrations. Entity Framework Core is also compatible with SQL Server, Azure SQL Database, SQLite, Azure CosmosDB, MySQL, PostgreSQL, and other databases through a provider plugin API as well.
Commonly Used Types
This Microsoft.Identity.Client package contains the binaries of the Microsoft Authentication Library for .NET also called MSAL.NET.
It makes it easy to obtain tokens from the Microsoft identity platform for developers(formally Azure AD v2.0) so they can easily sign-in users that have their accounts belonging to certain organizations like work and school accounts, social identities Azure AD B2C and Microsoft personal accounts. These provided tokens gain access to Microsoft Cloud API and any other API secured by the Microsoft identity platform. This version supports adding authentication functionality to your .NET based client on Windows desktop (.NET 4.5+), UWP, .NET Core, Xamarin iOS and Xamarin Android etc.
Azure Blob storage package is Microsoft’s object storage solution for the cloud and this package is optimized for storing massive amounts of unstructured data. Unstructured data means the kind of data that does not adhere to a particular data model or definition, such as text or binary data.
Blob storage is designed for:
- Serving images or documents that can be directly to a browser.
- Storing files for distributed access.
- Streaming video and audio.
- Writing to log files.
- Storing data for archiving, backup and restore, disaster recovery.
- Storing data for analysis by an Azure-hosted service or on-premises.
Blob storage offers three types of resources:
- The storage account used via BlobServiceClient.
- A container in the storage account used through BlobContainerClient.
- A blob in a container used through the help of BlobClient.
AutoMapper is a simple library that helps us to transform from one object type into another object. It is a convention-based object-to-object mapper that requires very little configuration so performance level high end. The object-to-object mapping works by transforming an input object of one type into an output object of a different type which is way lengthy and time consuming manually.
Swagger is a set of open-source tools , built around the OpenAPI Specification in a simple and readable manner. Swashbuckle is a NuGet package. It contains Swagger tools for documenting APIs built on Microsoft.NET platform, one of the most useful packages for losing APIs with end points and required details.
|Rank||NuGet Package||Total Downloads||Current Version|