ASP.NET MVC: Display Total and Avg in Table footer in Razor Views

There are various cases in which you may want to display results from aggregate functions (Sum, Avg, Count, Min, Max) performed over the columns in the grid in their footer. This post explains how to display aggregate functions in ASP.NET MVC Razor views.

Used Environment for this post: VS 2015 Update 3, ASP.NET MVC 5

For ASP.NET Web Forms, Read following post:
Displaying Total in ASP.NET Gridview Footer Row Without using Template Field

HTTP to HTTPS Migration, WordPress and SEO

Before I start this article, I would like to ask one question to you, How many HTTPS links do you see in first page of Google search result? Generally, I get more than 50% for my search queries and major top links belong to HTTPS. It is self explanatory how important HTTPS and SSL is. As SSL is mandatory for safely processing transaction e-commerce website, but here I am not going to talk about security and safety, my concern is SEO. The web is moving toward using HTTPS encryption by default and it is encouraged by Google with announcement HTTPS as a ranking signal in 2014. Chrome and Firefox browsers started to display warning for HTTP (Non secure) websites. So you decided to move on HTTPS. Hold a minute and see the challenges. you will get many examples on Google saying huge drop in traffic after moving HTTPS if not implemented properly. So you must aware of the challenges. In this post, we will move a WordPress website to HTTPS, Setup free SSL and update dependencies to meet SEO guidelines. It is assumed Apache server is used in Ubuntu server.

Azure Functions + Cognitive Services: Automate Image Moderation

Generally, User submitted images (profile pictures, social media posts, and business documents) are needed to be moderated to protect business and quality. If a large number of images are submitted in an application then manual moderation is time consuming and is not instantaneous. This post explains how to automate image moderation using Azure functions and Cognitive Services. Automated moderation applies machine learning and AI to cost-effectively moderate at scale, without human involvement.