Setup environment for Python and ML

Follow the following steps to install the required packages on your development machine. Install Chocolatey – The package manager for Windows (Chocolatey – Software Management Automation) Run cmd as admin on your system Install the rest of the software using chocolatey.  To install the Python using choco            C:\> choco install python To install the…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Handle the unhandled exception in Window Service C#

Sometimes window service crash due to unhandled exception occur in the code. Which cause service to be on halt without any error log and we are unable to restart or stop the service in the windows. In .net framework 4.5, Microsoft provides a method to handle the exception in the async event handler. Simply write…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

How to identify critical code path

Before answering the question ‘How to identify critical code path?’ let me answer ‘Why identify critical code path?’ Why identify critical code path? There are a couple of answers to it: Performance Optimization Accurate Smoke Test Performance Optimization  In most applications, we have observed that less than 5% of application code accounts for more than…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

How to Set up Coturn TURN Server for WebRTC

Coturn is a free and open-source TURN and STUN server for VoIP and WebRTC. But there’s a problem: WebRTC won’t work if users are behind different NAT devices. It will be blocked. To traverse NAT, we need to set up a TURN server as a relay between Web browsers. TURN stands for Traversal Using Relays around NAT. How it…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Add Web API support to existing Asp.Net MVC application

TXTextControl.Web.MVC is using the ASP.NET Web API framework to synchronize the edited document with the server in order to render the output in a true WYSIWYG manner. From Microsoft MSDN: ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

ASP.NET Web API 2 action method return types

A Web API 2 action method return types can be any of the following : Void HttpResponseMessage IHttpActionResult Other type or Complex type   Void When an ASP.NET Web API return type is void, it will return an empty HTTP response. In the following example a web API with void return: Example public class SampleController…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

BlockChain Technology – Setup

What is BlockChain? As per wikipedia – originally block chain – is a continuously growing list of records, called blocks, which are linked and secured using cryptography. BlockChain programming is very much in trend as it is secure, reliable, very high up time and hack proof implementation. BlockChain Development setup Steps to follows: MetaMask: First you…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading

Get started with Azure Service Bus Queue (Pub/Sub)

To start with Azure Service bus queue you need to create the namespace for bus on azure which will be unique across azure. Log on to the Azure portal. In the left navigation pane of the portal, click New, then click Enterprise Integration, and then click Service Bus. In the Create namespace dialog, enter a namespace name. The system immediately checks…

Share the joy
  •  
  •  
  •  
  •  
  •  
Continue reading