Monday, December 14, 2020

Why not c# 9

To be on top in tech skills is need to this time, frameworks are evolving and new ones are coming in market in bulks. As a developer and software engineer your skill will standout if you have latest tools in your hand, may be you don't agree but this can be experienced more in high posts as you grow in your career. The only purpose of above talk is, "Update your visual studio and get c# 9 in action".

To start working with c#9 make sure you have installed dot net 5 sdk in your system and you have visual studio 16.8+ on your system. One you done that restart your visual studio and go to project properties you will find dot net 5 in target framework which includes c#9 by default. Wasn't that easy one step process. If you still have confusion, you can follow my youtube video : https://www.youtube.com/watch?v=oQmVxfIsW_Q ( and subscribe to my channel ).

Sunday, December 13, 2020

Make you blogger posts colorful with highlightjs

Long time ago I started blogging about tech stuff and changed a lot of platform from wordpress to my own hosted blog and for some reasons I started using blogger with my custom domain and when it comes to add code snippet in the posts, github's gist feature was my first choice but it involves writing snippet and adding its reference into my blog which is more than one step process. For that reason I recently explored highlightjs for code highlighting in my posts and it works great. The configuration is easy 1 step process. Configuration: To configure highlightjs into blogger, just go to the theme option in your blogger control panel and click customize. After that in the page header add following script:


<link href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/styles/atom-one-light.min.css"
rel="stylesheet"></link>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.1/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
And you have successfully configured it.


To utilize that add you content inside <pre><code>...</code></pre> and it will be highlighted.

.NET 7 Minimal APIs Series - An Introduction

Introduction to .NET 7 Minimal APIs The release of .NET 6 brought about several exciting features and improvements, and one of the most exci...