Serving Industries Worldwide

Innovative Ways - Satisfied Clientele

How to create a shared library in .NET Core?


In a simple application sharing library is a fundamental requirement. The shared library is used so that developers can reuse packages as a library in a project and we can also upload a project to NUGET.org so that other users can download and install these projects into their project using the library. Table of Content 1. Why shared code across projects or assemblies? 2. Share Library through .Net Standard or concept of PCL 3. Multi-targeting Framework 4....

read more

Introduction to Mini-profiler in C-sharp


For a developer a main challenge is to debug and optimize queries that are written for the request made to the server. It is impossible to get the exact time of the queries request for each page. Usually, developer considers count such as one, two, three and calculate the average but this is not a solution and as a developer, this is not we want. In developer's tool network tab provide information about the time per the request made for a page load but that is not enough for a...

read more

How to store Encrypted Session Data in the Browser?


When you are developing the websites with JavaScript, you can use the localStorage and sessionStorage. In the localStorage and sessionStorage, the data stores in key-value pair in the user’s web browser. It is also known as sandboxed for each website, you can access only your data store on every website, and you can’t access to localStorage and sessionStorage objects being saved from another website. Table of Content 1. What’s the difference between...

read more

Class Library in .NET Core


A class library defines the types and methods which are referred to by an application. If your class library targets .NET Standard 3.1, it can be called by any .NET implementation (including .NET Framework) that supports .NET Standard 3.1. If your class library targets .NET 5, it can be invoked by any application that targets .NET 5. Table of Content 1. Prerequisites 2. Create a Solution 3. Create a Class Library Project 4. Add a Console App to the Solution 5. Insert...

read more

Dependency injection in action filters in ASP.NET Core


It is quite common to decorate the ASP.NET MVC controller actions with filter attributes to differentiate cross-cutting concerns from the main concern of the action. Sometimes these filters require the use of other components but the attributes are very limited in their efficiency and dependence injection into an attribute is not directly possible. This post looks at some of the different techniques for injection dependence in action filters in the ASP.NET Core. We discuss when each...

read more