Suspend or resume windows controls to be redraw

Recently, I was facing issue with third party Image Viewer to apply multiple operations before redrawing of images. Third-party control was not allowing to suspend and resume painting of images inherently. After searching for various solutions, I found a solution that can be achieved using windows message "WM_SETREDRAW" from an application to Windows to allow … Continue reading Suspend or resume windows controls to be redraw

Advertisements

Change Tracking example -Sql Server

If there is a requirement to get incremental or changed data from database frequently without putting a heavy load on database objects, then Change Tracking mechanism of Sql Server can be out of the box solution for this requirement. Normally, developers have to do custom implementation to achieve change tracking behavior. It can be implementation … Continue reading Change Tracking example -Sql Server

How to place Order via FIX message?

Purpose The purpose of this post is to walk-through implementation to “Place an Order on via FIX message channel”. In my previous posts, I have shown basic implementation of FIX messages like Establish connection with broker/exchange Fix End points, Consume Market Feeds etc. You can read my previous posts about topics mentioned above: Fix Message Implementation … Continue reading How to place Order via FIX message?

NoSql (It’s “Not only SQL” not “No to Sql”)

This is my first post on NoSql database technologies. There have been drastic changes in database technologies over the few years. Increase in user’s requests, high availability of applications, real time performance forced to think on different database technologies. We have traditional RDBMS, memory and NoSql databases available in market to suffice particular business needs. … Continue reading NoSql (It’s “Not only SQL” not “No to Sql”)

General tips: How to run Visual Studio as administrator always

Some times it is needed to run visual studio as administrator for system level activities like if you want to setup IIS virtual directory in your visual studio project, To setup IIS settings etc. If you want to run visual studio as administrator once, you can right click devenv.exe and select "Run As Administrator". But … Continue reading General tips: How to run Visual Studio as administrator always

Implementation of FIX messages for Fix 5.0 sp2 and FIXT1.1 specification

  This post will demonstrate how to connect with FIX5.0 server and FIXT1.1 specification and uses of QuickFix/n (native .net FIX engine). Introduction With this release of FIX protocol version 5.0, a new Transport Independence framework (TI) introduced which separates the FIX Session Protocol from the FIX Application Protocol. This gives freedom to send message … Continue reading Implementation of FIX messages for Fix 5.0 sp2 and FIXT1.1 specification

CRUD operations using KnockOutJS and Asp.Net MVC3

  In last posts about knockoutJs, I gave examples of Search, Binding server side model to KnockoutJs ViewModel. I’ll discuss today about sending data back to server so that we can do server side operations. I would like to present it doing CRUD operations for Account entity. Account entity has AccountId, Name and AccountBalance. I … Continue reading CRUD operations using KnockOutJS and Asp.Net MVC3

Problem in parsing string value to enum type

Today I faced one issue with Enum.TryParse or Enum.Parse method. I was trying to parse string value to Enum but Enum.TryParse/Enum.Parse method was giving always true value for string which is not member of enum. public enum FieldAccessType { ReadOnly = 1, Add = 2, Modify = 4, AddModify = 6 } I want to … Continue reading Problem in parsing string value to enum type

Implement Jquery.tmpl (template) with KnockoutJS, Asp.Net Mvc3

In continuation of my previous post on search implementation using knockoutjs. In previous example I bind grid with knockoutjs observable array object. Because of observable characteristics, once view model update then knockoutjs engine render html controls which are bound to that view model. I found one problem in it when dealing with huge data. I … Continue reading Implement Jquery.tmpl (template) with KnockoutJS, Asp.Net Mvc3

Implement Search screen using knockoutjs, Jquery and asp.net mvc3

Here I am trying to explain steps for how to use knockoutjs viewmodel, jquery ajax request in asp.net mvc3 project. I am taking practical example to show behavior. This example will have simple UI screen with search textbox and button. When click on search button ajax request will go to server and will call action … Continue reading Implement Search screen using knockoutjs, Jquery and asp.net mvc3