×

iFour Logo
 

Our Insights

Innovative Ways - Satisfied Clientele

How to create a shared library in .NET Core?

Kapil Panchal - February 22, 2021

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.   Why shared code across projects or assemblies? There are multiple reasons to share code across project or assemblies: Code Reuse: Shared library...

Introduction to Mini-profiler in C#

Kapil Panchal - February 21, 2021

Introduction to Mini-profiler in C#

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 developer...

How to store Encrypted Session Data in the Browser?

Kapil Panchal - February 18, 2021

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 localStorage and sessionStorage? 2....

Class Library in .NET Core

Kapil Panchal - February 16, 2021

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...

Dependency injection in action filters in ASP.NET Core

Kapil Panchal - February 12, 2021

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 method...

Categories

Ensure your sustainable growth with our team

Talk to our experts
Sustainable
Sustainable