Archives for All Articles - Page 2
Copying events from one JavaScript Element to another JavaScript Element
Problem Statement We need to bind specific events like click, onchange of one element to another element due to there could be a situation where we cannot access the methods which are calling an event handler of…
Safely Storing Sensitive Configuration Data in .NET Core
Problem Statement There could be a situation where the application will use some sensitive data such as Payment Gateway live credentials and client don’t want to expose the data to any of…
Understanding Produces and Consumes Attribute in MVC 6
Produces and Consumes Attributes are newly introduced in MVC 6 ( Core) to control the content negotiation. What is Content Negotiation? The process of picking the correct output format is known as Content Negotiation. Generally, Frameworks will…
Time to Upgrade from .NET core 2.0 to .NET core 2.1
It's time to upgrade your existing .NET core application running on to .NET core as .NET core support from Microsoft will be ended on 1st October 2018. Why? .NET Core was…
Decoding HTML string to Normal String in JavaScript
There could be a situation where we might be store both HTML decoded text as well as HTML text such as email message. Generally, we use to have some text…
Approaches for Cloning JavaScript Object
Sometimes we need to have a copy of existing JavaScript object and work on it by modifying cloned copy and send or do some other operations without disturbing existing global…
Working with Moment.JS
is an intelligent JavaScript library to Parse, validate, manipulate, and display dates and times for given formats. Here in this article, I want to provide some mostly used conversions for any projects which hard to…
Showing any Language Text to a Screen as Bitmap
Recently I had a requirement to print the Telugu language characters on the PDF file. I was just done some research but not found any concrete solution on google. Finally, I came with the following solution…
WinForms CheckedListBox control Select ALL Implementation
Recently I am working on windows based application after a long back in which I am using ChekedListBox control where I need to list all the subdistricts information based on…
How to configure C# WebApi2 to display data in JSON format directly in browser?[Solved]
Recently I was asked a question "How to configure C# WebApi2 to display data in JSON format directly in browser?" by one of my colleague. This is a simple solution…