Tips and Tricks about Razor Partial Views

By: Dino Esposito

Partial views in ASP.NET MVC allow you to reuse and customise components to act like user controls. They consist of both code and markup. They are an idea that is easy to grasp but they have great potential for the more adventurous developer who is prepared to experiment. Dino Esposito explains.

Here is the article

Understand The JavaScript Ternary Operator like the ABCs by William Imoh (thanks)

If you made it this far then it’s either you know of ternary operators and want to know more, you have no idea of ternary operators, or you’re just somewhere in-between. Keep on.

From my time writing JavaScript, and of course looking through the JavaScript of others especially beginner developers, I have noticed the age-long trend of using if/else statements and really long chains of them too! As an advocate of DRY code -Don’t Repeat Yourself, I ensure my code stays DRY, and maybe cold-hearted, lol.

In this post, we’ll be explaining ternary operators in the simplest way and how they make coding and life in general, easier.

Table of Contents

Go to the link…