Comparing time part only without comparing date part in SQL
Recently one of my colleagues asked how to compare only the time part of the DateTime field. I have seen many of us struggling to find an answer for this ( including me). If you are one of them, here...
View Article(413) Request Entity Too Large
Recently I worked with a WCF web service which is hosted in IIS7, and I used one of the service methods to send a byte array which contains a picture. This works well with small size images, but when...
View ArticleConnect to Ubuntu from Windows via RDP
In my office, we have an Ubuntu box which is installed OWASP tools (I’ll get back with what is OWASP later. For now check https://www.owasp.org). My laptop installed Windows 7 and I wanted to remotely...
View ArticleExclude crystal report embedding when building the ASP.Net web site
If you have worked with ASP.Net web applications which include number of crystal reports as part of that, you might have experienced it takes a long time to build the web site. This happens, because by...
View ArticleConfigure Entity Tags (ETags)
If you have ever used the YSlow (http://developer.yahoo.com/yslow/) to analyze the web page to improve the performance, you may have experienced with “Configure ETags” alert. What is Entity Tags...
View ArticleWeb service and Script service
Most of you are familiar about writing a web service using c#. Visual Studio provides the project template which easily creates a web service for you. I’m sure you may know how to call this web service...
View ArticleCounting Consecutive Dates Using SQL
Download demo query Recently I have answered one of the SQL based question in the CodeProject. Thanks for the participant that question wake up me to write this blog post. Question: He has a table...
View ArticleOnline tools for troubleshooting web, SQL, XML and JSON
Have you ever wanted to troubleshoot someone else web page which contains the combination of JavaScript, CSS and HTML? Have you ever wanted to troubleshoot someone else SQL query without entering to...
View ArticleJavaScript Frameworks and Resources
Knockout.js Knockout is a JavaScript library that helps you to create rich, responsive display and editor user interfaces with a clean underlying data model. Any time you have sections of UI that...
View ArticleHow to Fix Orphaned SQL Users
Recently I had to involve in a database migration task. I backed up the database and restored successfully in the new server. However when I access the database through the web site, database login...
View ArticleGenerate insert statements from the specific table data using SQL Server
When you are deploying your application, sometimes you may want to generate SQL script with the insert statement of the specific database table. In this article I will show you two easiest ways to do...
View ArticleEmoji and web application
Download SQL query I’m back after few months or so of not blogging. Have you heard something called “Emoji”? Emoji; is the Japanese term for the ideograms or smileys used mostly in Japanese electronic...
View ArticleHow to transfer ownership of your android application
Suppose you have developed an android game and publish that on the Google play. Many users downloaded your app and you have released few versions also. What if a company wants to acquire your app game?...
View ArticleAutomate PNG & JPG Image Optimization
Download Source Code Introduction If you are a web developer you already know how important to reduce the image size by compressing the image. When you checking the page speed using the tool like...
View ArticleRound up a number to highest 10s place
Download Source Code Recently we faced a problem that we need to round-up a number to greatest 10s place. For ex: we needed to round-up a number as follows 1023 -> 2000 37911 -> 40000 912345...
View ArticleJust Learned: Self-XSS
Have you ever tried chrome inspector with Facebook? If so, I am sure you have seen this. This warning message is to help prevent Self-XSS scams. Self-XSS Self-XSS is a social engineering attack that is...
View ArticleReflection deserialization and custom attributes
Download Source Code So, last week one of my colleagues wanted to serialize an object along with custom property attribute to JSON. Interesting… JSON.NET by default will not allow serializing custom...
View ArticleComparing time part only without comparing date part in SQL
Recently one of my colleagues asked how to compare only the time part of the DateTime field. I have seen many of us struggling to find an answer for this ( including me). If you are one of them, here...
View Article(413) Request Entity Too Large
Recently I worked with a WCF web service which is hosted in IIS7, and I used one of the service methods to send a byte array which contains a picture. This works well with small size images, but when...
View ArticleConnect to Ubuntu from Windows via RDP
In my office, we have an Ubuntu box which is installed OWASP tools (I’ll get back with what is OWASP later. For now check https://www.owasp.org). My laptop installed Windows 7 and I wanted to remotely...
View Article