Few years ago When I just start work in office I can hardly see smartphone anywhere. The person sit next to me spent 10,000 or 15,000 in 2010 to get a phone (which is not smart as today). that phone have hardly  1.3 MP camera and 3-4 inch screen. Yeah, Maybe that is touch ( I don’t have remembered those days very well) .


Those days are gone. Now Android phone is everywhere and people use phone day to day for many purpose.


So Responsive design is all about focus on Make good experience on Mobile & tablet.


Go with a framework.


Using framework like bootstrap solved a big trouble of responsive.   Bootstrap’s provide solid foundation for making design work in mobile phones and other small devices.


Write our own custom CSS and other code that we can use in every project.


After spent a lot of time on fixing basic thing I finally able to find some basic thing that I need to put on every project (html,CSS, JS) too. Like I do same for MySQL. Same settings to handle Unicode and other thing in every MySQL database.


This will save you a lot of time. Like Most of small work is about margin and padding. Making a class like .mt10 or .pb10 mt stand for Margin top and pb stand for padding bottom.  this basic idea save a lot of time.


All design are same so make it simple and just copy the code and modify.


When you write same thing again and again you will learn many things. For example You can figure out how one of your code is different from other. You can see the same code you write again is better then the one that you write last time.  You are able to copy basic things from this to another one and it will save your time. This thing will not be easy if you don’t have a good practice of what are you doing.


Framework tricks & perfection habit.


Sometime we don’t have a control on project timeline. We need to do thing faster. You can simply complete the design. Sometime we have enough time for finish the work and later if you invest more time in it. Like you spent nights on fixing same thing that you complete in hours. You can learn many good thing which you found never able to learn when you do the work and just complete it.


Focusing on improving things will give you better image of how things can be improved.   Like Prime minister of India do there work better then other and they have proved what is the difference between them and the other. Some people handle things well and other don’t.

If you complete the design and start new it will never gonna better anytime soon. What is need here is spent more and more time on perfecting things.  You can show that someone who use same thing will figure out that this work is better than others.



when you have done enough of the work you can later produce thing faster then ever. Like old C# developer write code faster, same way you can write code better and faster.


Bye !

Happy Coding  Smile

Every Chinese brand come with a once advantage that is called cost-friendly. As these brand continuously fooling  Indian customers. Here is my own experience.

Meizu m1 note is a good device but it’s a short term phone. it will broke in 1 year something. You need to repair it after that period. Same happen to most of people ( I watch them on YouTube). You can find them on YouTube.


I don’t use phone for gaming. My main purpose was to use the phone for watching videos and Quora/Reddit and other apps for reading articles. The phone was awesome but suddenly it’s touch stop working one day. This is same happen to Most YouTube user.


In next few days it’s broken. Now repairing it cost 6000, when new phone (m3) with new feature can be bought in 8999 or 9999. So Company make no sense what kind of business they doing.


Next time you see a brand like Meizu. see what happen to the device after 11-12 month. Does phone works after that period. The only solution of this problem is going with non-Chinese brand which have good reputation, build-quality and after sales support.


Happy shopping Smile


lesson learned : Never buy Chinese stuff by just watching their specification. I can utilize what I paid for last year much better this year.

Few years ago I bought a swan harmonica which work great. it cost me 6$ and I sell it in 5-4 $ after using it for half year.  I can’t blame all Chinese brand but be careful. Maybe Chinese brand sell you something that will only work for very low time period compare to other brand.

Last year Microsoft released VS 15 and add a interesting new feature called “ Diagnostic Tools debugger window

Asy you read on internet when someone trying to show the execution time of 2 different2- function it will use stopwatch and some other kind of thing to prove which one is better. From VS 2015 you have a better option to check the execution time of code. You can exactly figure out how much time it will take.11







Just open the diagnostic window and put a breakpoint in code. and another one when execution complete. You can see how much time your code take to execute in diagnostic window as given example.

For more information look at this article written by Visual studio team

If you work in Visual studio 2015 update 1 and got issue like this“

An error was encountered during code generation. The changes you have made in the designer have not been committed to the source code”

then you are not alone. Many developer found this issue. Check this page for detail.

For fix this problem install this

This will fix this problem in Visual studio update 1.

Few months ago I work on a .net project (windows form actually)  which I downgrade to .net 2.0 for some reason ( it 4). Downgrade the project is not done easily but at the end we win the War. We finally downgrade the project to .net 2.


For System.Linq I use LinqBridge 

So Chart control will not show to you unless you have a project made in .net 3.5+

I research a lot and many trick is no longer works.


Here is the trick to implement the Chart control.

Actually my chart in winform is working (in .net 2 code is ready but only visual studio refuse to run it) so I make a new Winform project in .net 3.5 add the dll reference and add the chart to form. This is all I need to use it in my project.

When I compile it’s done (.net 3.5)

Now I copied the same dll to .net 2 project. You can add this dll in .net 2 and it will run on system those contain .net 2 framework. You need to copy local the chart dll (so it will not require anything on client pc).


Now When you open the form it will not show anything but it  will run perfectly. My Visual studio 2015 simply refuse it because it’s doesn’t get it. But it will run perfectly.


For any debug issue you can simply make a copy and change it to .net 3.5  and debug it for fix. Copy the same code back in .net 2 and it will run.


The only thing that you will miss is you can’t see when you open the form in design mode. You need to use another copy in .net 3.5 to debug it. Except this, this code will work fine.

If your visual studio run too slow for download the nuget package that is common to the most project you build in daily rutine then you can follow same trick as 2013.

open the local appdata folder by this


open the nuget > cache folder and add it to

Tools > options > Package source > Add it here and next time choose Offline for package source and you can save your time and bandwidth both.

If you compile your winform project (regardless to target version of .net framework) and it’s can’t be compiled on another machine (which don’t have update 1 RC as yours) then here is the trick to fix it.


Delete Every obj folder in root of every projects. if you have multiple project then consider this stackoverflow post to do it faster

Now when you done after delete all obj folder you can simply click F5 and it will be run fine.



I am removing this post since I am no longer use or for anything. For more information search the internet for better result.