9. January 2017 13:25
/
Administrator
/
/
Comments (0)
If you are using Go extension for Visual Studio Code to develop Google App Engine backend code on a Windows machine, you may have encountered strange problems related to environment variables GOROOT and GOPATH, specially when you want to use 3rd party libraries and expect the extension to correctly highlight code errors.
After lots of experiments, I ended up with the following setup which seems to be working as desired: More...
fa182e25-b42d-4553-8106-4a2ffb355d80|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
23. November 2016 14:35
/
Administrator
/
/
Comments (0)
ReactJS seems to have picked up some die hard fans and recently I was looking at how to use D3 for charting in a React based UI. There are a few implementation of some of the D3 libraries and I picked reactd3 for my experiment. The documentation site has some examples of how this can be done, but they all use ReactDOM.render to directly render to a DOM element you have put in your HTML template. My preferred approach is to not rely on existence of a predefined HTML tag in the template, but use an element which is rendered by my chart component. Here is what I ended up doing:More...
930ec911-bcce-477f-ab87-3c738aadaa41|0|.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
I know I have been stuck with SQL server for too long and a lot behind in adopting newer database technologies, but late is better than never. While updating a web application which uses SQL Server, I realized the current relational structure of my database is not really the optimal solution. I have more than 120 million rows of data in one of the tables which represent Option Chains for Stocks, one row per Option. I store this data as snapshots in time and do not change them after they are stored. Anyone familiar with this type of data knows that these individual rows are not really interesting by themselves and they are normally looked at alongside others which belong to the same Stock, and with same expiration. In real world you are presented with the whole chain (see an example of such data here). More...
35034884-487d-4e54-aab1-d72c98ab90aa|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
16. July 2014 07:57
/
Administrator
/
/
Comments (1)
While ASP.net MVC makes it easy and clean to create a professional looking website, it seems to be a little harder to incorporate custome error pages (e.g. 404 page) which are part of general look and feel of your site. There are many good write-ups on how to do this (for example http://benfoster.io/blog/aspnet-mvc-custom-error-pages), but I was looking for an easy way to point to one of my views as the 404 page.
What I ended up doing was to create a controller for my error views and use the httpErrors section of web.config to point to it: More...
212b3a36-bc23-4f1a-a23b-88160f72ab04|12|4.8|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
5. June 2014 04:02
/
Administrator
/
/
Comments (0)
It took me a little bit to get a handle of creating and using Self Signed Certificates for IIS on a Windows Server 2012. Problem was not so much about running a couple of commands to create the certificate, but more related to where things are and what to do when things go wrong.
This page provides 2 commands to create a self signed certificate to be used by IIS. I had to make the key length equal to 2048 so Chrome browser does not complain about the keys: More...
2a2e317e-28c1-414a-a180-69a32094af73|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
2. June 2013 04:43
/
Administrator
/
/
Comments (12)
Few weeks ago I decided to add a channel to my Roku box to play live videos from a Free-To-Air Satellite TV channel. This specific channel has a live video stream from their website which requires authentication. My challenge was to build a Roku app using provided SDK to simulate the authentication process of the asp.net website so I can grab the URL of the live stream. (URL has a token attached to it which requires authentication).
To accomplish this More...
7ca45a7a-fe73-439c-b0fe-5340418e912e|3|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
23. January 2013 00:43
/
Administrator
/
Chrome
/
Comments (1)
Today I was trying to get Google chrome to save my username and password for a web site but it would not offer me to save it. This web site uses the browser popup for login credentials (which is caused by the server sending back HTTP 401: Unauthorized). Chrome would show the popup and I could login after entering credentials, but would not offer to save it. My settings related to saving passwords was correct and this site was not in the "Do not save" list. I tried many solutions, like deleting files from App Data folder or even uninstalling and re-installing chrome. Until I found an interesting behaviour by accident. More...
9199f476-b685-45aa-b700-090745e02772|2|3.5|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
If you have been involved in troubleshooting web applications providing APIs to clients, you know how easier it is to have the actual request sent from client and be able to replay that against your server code to find the problem. Tools we use in my team is WireShark and NCAT. When QA team finds a problem, we always ask for the WireShark capture of the communication. More...
cfa55358-2272-455b-8469-5231f4a804d4|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
I'm heavily depending on ASP.net performance counters to keep track of web application activity. After years of using IIS URL Rewrite to rewrite ASP.net 2.0 applications with no issue, we upgraded to ASP.net 4.0 and suddenly noticed a 100% jump in number of requests processed per second. I did a lot of search to understand why and could not find anything. More...
48514733-83bb-42f4-9cd2-578ca9d840be|2|4.5|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :
1. August 2012 02:43
/
Administrator
/
/
Comments (0)
There are many great articles on the internet comparing MS SQL server and AppFabric, and all of them show how AppFabric has better performance over SQL server. It is completely understandable that with complex queries, AppFabric would out perform SQL server. But in an environment where you have a huge number of very small objects to be cached and looked up, AppFabric shows very weak results. More...
adbef239-4ff4-4339-86fa-72b87c540f0e|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags :