How to Detect Session Timeout and Redirect to Login Page in ASP.NET

This is example of Detecting Session Timeout and Redirect to Login Page in ASP.NET, session timeout occurs when user is idle for the time specified as in web.config file. 1st Method In web.config file, set the sessionstate mode to inproc and authentication mode to Forms I’ve created three pages in this example , one is login […]

Read more
Use Serilog ASP.NET Core to SQL Server Database

Logging is an essential feature for any application, as it is necessary for detecting, investigating, and debugging issues. Serilog is a third-party, open source library that allows .NET developers to log structured data to the console, to files, and to several other kinds of data stores.  This article discusses how we can use Serilog to log structured […]

Read more
How to Customize ASP.NET Core Default UI

ASP.NET Core Identity includes a default UI as a Razor library that enables you to quickly add users to an application, without having to build all the UI yourself. The downside is that if you want to customise any of the pages associated with the default UI, then you end up taking ownership of all […]

Read more
How to Implement Mediator Pattern in ASP.NET Core 3.1

For the last few years, Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) emerged as patterns that can help implement large scale systems, with some risky complexity, by having different models to read or mutate data while also using events as a single source of truth. The mediator pattern is meant to split responsibilities between a caller and […]

Read more
How to Run .NET Core Generic as Windows Service

Net Core 2.2 provides Web Host for hosting web applications and Generic Host that is suitable for hosting a wider array of host apps. In the .Net Core 3 Generic Host will replace Web Host.  Generic Host will be suitable for hosting any kind of app including web applications. I looked at many examples but found that none showed […]

Read more
5 Tools to Check Your Website Speed

There are many speed test tools to use to measure your website speed. Many of the tools now reference the Google Page Speed Insights, and some tools give great explanations as to how you can improve your website speed based on the results. My personal experience is using Pingdom tools and Google Page Speed Insights. […]

Read more
HostForLIFE vs HostGator – ASP.NET Core Hosting Secret Revealed

The two organizations are ASP.NET hosting suppliers, both positioned in the Best and Cheap ASP.NET Hosting in 2018. Also, the accompanying post will do an examination between their ASP.NET Core hosting, through which individuals will see their disparities better. Short Introduction About HostForLIFEASP.NET and HostGator Founded in 2007, HostForLIFEASP.NET become one of the largest ASP.NET hosting in […]

Read more
Are You Looking for A2Hosting ASP.NET Hosting Alternatives?

Founded back in 2001, A2Hosting provide wide variety of web hosting services. They started from Linux hosting first and then they spread their wings to Windows Hosting. They have been the priority choice for beginners because their cost-effective solutions. However, in the past 4 months, they continuous decrease like speed and technical support and finally […]

Read more
How to Resolve Your High Usage on Shared Hosting

High CPU usage is a very common issue when it comes to shared hosting. Shared server hosts hundreds to thousands of websites and many of them are running their queries. Shared hosting tends to be limited in terms of resources and usage allocations. Many web hosts out there do offer unlimited bandwidth and storage, whereas […]

Read more