This article will explain how to do daily based logging using Log4Net in Worker Service. Create one Worker service in .Net core latest version and install the package of Log4net from Manage Nuget packages, Create a Log class and add the below code for error, debug and info functions to write a log message in…
Category: Cheap Windows Hosting
ASP.NET Core Hosting Tips: Ways To Optimize Performance In ASP.NET Core Applications
Distributed cache plays a major role in optimizing the application’s performance by caching the data in memory and reducing database trips. In simple words, caching refers to storing the result of an operation so that the future request returns faster. When do we cache? When the computation is slow. Computation will run multiple times. When…
Special Discount! Best Umbraco 11.1.0 Hosting in Europe
After reviewing hundreds of Umbraco 11.1.0 hosting plans on price, features, Umbraco 11.1.0 compatibility & installation, reliability, performance and technical support, we found that HostForLIFEASP.NET are the best. In below, we have worked out a comprehensive review to explain why they are the winners in detail. All of the selected solutions are some of the…
ASP.NET Core Hosting Tips: Create Custom Session ID Manager
In ASP.Net, the SessionIDManager class is used to generate and validate the Session ID. By default, it is saved in a cookie with the name ASP.NET_SessionId. Get session ID by HttpContext class like below. HttpContext.Current.Session.SessionID This session id is randomly generated and encoded with 24 characters containing lowercase a to z and numbers 0 to…
Drupal Security and Performance Tips
Drupal is supposed to be a very secure CMS and the Drupal security team is a highly efficient team of people scouting the Drupal camp to find and sort out security issues as soon as they crop up. But no amount of programming will fix security issues caused by incorrect configuration of a Drupal site….