Custom response caching in ASP.NET Core

Cache invalidation is the process that entries in the cache which can be replaced or removed. The server cannot force the new version of the page to be used instead of the cached page, once the page is cached in the browser. So, pages likely to change cannot be cached for a very long time at the client and we cannot change this too. On the server-side, built-in response caching does not permit cache invalidation. Same cache duration for both for instructing the browser to cache the page,...

Read More

Addtransient Vs Addscoped Vs Addsingleton in .NET Core

Let's try to understand the life cycle of Dependency Injection (DI) using this blog as it is very important in the .NET Core Project. As we know, Dependency injection (DI) is a technique for getting loose coupling between objects and their assistant, or dependencies. Most classes will declare their own dependencies using their constructor, allowing them to follow the Explicit Dependencies Role. Table of Content 1. What is Asp.net Core? 2. What is Addtransient? 3. What is...

Read More

Retrieve Coordinates on Android and iOS device (with Xamarin.forms and Xamarin Essentials)

In this blog, we will be going to acquire our coordinates and retrieves those coordinates on the default map application. We will create one simple application to get and retrieve coordinates. This will be possible by using the Xamarin Essentials API for Geo-Location and Maps. Xamarin Essentials provides cross-platform APIs for mobile applications. Xamarin Essentials provides a single cross-platform API, that works with any Xamarin.forms, and all three platforms Android, iOS, or UWP. It...

Read More

Open Play Store or App Store in Xamarin App using Xamarin.Forms

Xamarin.Forms code runs on multiple platforms like Android, iOS, UWP, and each of them has its own file system. Using native APIs, we can read or write files easily. Embedded resources are a simple solution for distributing data files with the application. In this blog, we will be going to create an application, in which we will open the play store by using the device as an android and App store by using the device as iOS. The prerequisite is Visual Studio 2017 or later versions (Mac or...

Read More

How to create Outlook Add-in with Angular 2+?

In this blog, we will explain the process of building an Outlook task pan add-in that displays at least one property of a selected message. With Outlook add-ins we can use ordinary web technologies like HTML, CSS, and JavaScript to build a solution that can run in Outlook throughout multiple platforms, as well as on the web, Windows, iOS, and Mac. Table of Content 1. Create the add-in 2. Requirements 3. Create the add-in project 4. Explore the project 5. Update the...

Read More