Category Archives: C#

C# language

3 ways to communicate between Angular components

Src: https://medium.com/dailyjs/3-ways-to-communicate-between-angular-components-a1e3f3304ecb How to communicate between components? This is the topic I’ve seen many new Angular developers to struggle with. I will show you the three most common approaches, with examples that fits different use cases. There is also the “redux … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

How to Troubleshoot IIS Worker Process (w3wp) High CPU Usage

Source https://stackify.com/w3wp-high-cpu-usage/ Having IIS performance problems? Do you have w3wp.exe high CPU usage? In this article, we will discuss some tips to identify what is causing high CPU usage for your ASP.NET web applications. There are a lot of reasons that your … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Software architecture, Uncategorized | Leave a comment

HTTP vs Websockets: A performance comparison

Source: https://blog.feathersjs.com/http-vs-websockets-a-performance-comparison-da2533f13a77 In many web applications, websockets are used to push messages to a client for real-time updates. One of the more interesting and often overlooked features is that most websocket libraries also support directly responding to websocket messages from a … Continue reading

Posted in C#, Integration, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

Low latency html5 WebSocket Server to stream live and computed data to web browser grid (a flavor of SignalR)

From https://www.codeproject.com/Articles/890092/Low-latency-html-WebSocket-Server-to-stream-live-a   Introduction Live updates to browser is an important scenario in today’s world.  All businesses (Banking, Trading, Healthcare, Retail etc..) rely heavily on internet/browser based apps to reach their esteemed customers.  Be it stock quote, news, mail – live … Continue reading

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Uncategorized | Leave a comment

What are the differences between “git commit” and “git push”?

Source: https://stackoverflow.com/questions/2745076/what-are-the-differences-between-git-commit-and-git-push

Posted in ASP.NET MVC, C#, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

What is the best way to paginate results in SQL Server

What is the best way (performance wise) to paginate results in SQL Server 2000, 2005, 2008, 2012 if you also want to get the total number of results (before paginating)? Getting the total number of results and paginating are two … Continue reading

Posted in C#, Database, Knowledge, Problem solving, Programming, Uncategorized | Leave a comment

All About TransactionScope

1. Introduction TransactionScope is a very special and important class in the .NET Framework. Supporting transactions from a code block is the main responsibility of this class. We often use this class for managing local as well as distributed transactions from … Continue reading

Posted in ASP.NET MVC, C#, Database, Uncategorized | Leave a comment