Adding an Infinite Nested Hierarchy of Observable Objects Using Knockout from .NET Core / MVC

Sometimes you may come across a situation where your JSON is representing a hierarchy of objects, which you then would like to show on a page. One of the common ways to do that is nested div‘s but, of course, … Read More »»»

Posted in Knockout | Tagged , , , , , , , , | Leave a comment

Calculating Statistical Values in T-SQL: Mean (Average), Median, Mode and Range

Sometimes you may need to calculate statistical values based on a set of values you have in a table. Let’s start with explaining what these values represent, in case you don’t already know. For the purposes of this post, we … Read More »»»

Posted in MSSQL | Tagged , , , , , , , | Leave a comment

Infinite Loop in Query String In MVC Project – Yellow Screen Of Death

When you set up your MVC project with Windows Authentication, e.g.

You are likely to encounter the yellow screen of death with the following error message when running your solution on the internal Visual Studio IIS Express: HTTP Error … Read More »»»

Posted in MVC | Tagged , , , , , , , , | Leave a comment

How To Change A Bootstrap Popover Title And Content Dynamically

Typically, when creating a bootstrap popover, you would declare, initialize and call it like this:

However, sometimes you want to change the content of the popover dynamically, based on some results in the call to, in this case, … Read More »»»

Posted in Bootstrap | Tagged , , , , , , , , , | Leave a comment

Domain Objects with Circular or Backwards References In C#, Serialization via JSON and Getting Them Across the Wire

There are always times when your child DOM object references a parent object that contains a list of them children DOM objects that, of have a parent, creating a rather nasty but simply to solve dilemma of circular reference. I’ll … Read More »»»

Posted in C# | Tagged , , , , , , , , , | Leave a comment

New Features of C# 6 You May Find Quite Useful

C# version 6 came out with the release of Visual Studio 2015. It includes quite a few useful features for the developers. Here is a list of the ones that will make a day for any developer who has been writing … Read More »»»

Posted in C# | Tagged , , , , , , , | Leave a comment

How to Sign an Assembly With Strong Name

It is, indeed, a trivial task but you may come across errors from other DLLs that require you to sign your library. The task to do that is rather simple: Open a command prompt and run: “C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX … Read More »»»

Posted in Quick Tips | Tagged , , , , , | Leave a comment

Just Young Is C# 6, And Here Comes C#7! What is New in C# 7 and What To Expect?

It has not been long since C# 6 release with a few useful improvements, and here comes C# 7 – excited yet?! Watch your recliner and read on: Tuples I have not used that much so please go ahead and … Read More »»»

Posted in C# | Tagged , , , , , , | Leave a comment

How to Trash/Spam All Unreviewed Posts in WordPress (MySql Way)

If you ever got too many comments that you feel are undesired (usually spam, or all) and need to do so, here is an easy way to do this: log in to your MySql database and run the following statement: … Read More »»»

Posted in Quick Tips, WordPress | Tagged , , , , , | Leave a comment

WordPress Error: Download failed. SSL certificate problem: unable to get local issuer certificate

When trying to upgrade WordPress, you may get the following error: Download failed.: SSL certificate problem: unable to get local issuer certificate In order to fix this error, you need to do the following: Download the Mozilla CA certificate store … Read More »»»

Posted in Quick Tips | Tagged , , , | Leave a comment