Windows – Directory structure treeview
Representing a directory structure recursively in treeview form is very useful as it helps in understanding the environmental setup in a better way. There are tools that can do it for you but here is a simple…
Representing a directory structure recursively in treeview form is very useful as it helps in understanding the environmental setup in a better way. There are tools that can do it for you but here is a simple…
Web applications has been changed drastically over decade in the sense they are more interactive. From static HTMLs to dynamic ASP.NET or JSP based application followed by AJAX-enabled web applications and now client-side libraries like jQuery has…
Manipulating the application behavior based on the file type is a common scenario (like checking if used uploaded a PDF file or text file; whether video is custom player compatible or not, etc.). The whole process here…
Exceptions are safeguards to deal with any unexpected or exceptional situations and logging them helps finding the root cause of issues during runtime. Significance of logging becomes even more critical on production where resources to debug are…
Thinking of resizing an image programmatically? Pretty simple straight forward. Once done, the process can be use to resize images in bulk without any human intervention & third party software. Below is the C# implementation to do…
Getting bytes from a stream or file is quite a normal scenario & once you are able to retrieve the bytes, it can be saved in database as BLOB content as well. This is very handy way…
Cashing on CDN hosts like Microsoft, Google etc., for referencing jQuery & similar libraries is good performance optimization solution particularly for rich interactive web applications . However, consider a worst case scenario where CDN network is down…
There’s no reason not to use a CDN service like such as Akamai, Amazon CloudFront or Windows Azure, especially when most of end-user response time is spent downloading static resources like images, css and scripts. Regardless of…
Content Delivery Network (CDN) is network of geographically distributed multiple data centers with aim to serve end-user with higher availability and performance. Contents are served to end-user user from the nearest available data center. Apart from this, CDNs…
This C# implementation can help you uploading a file through SFTP access.
C# solution to import & use a custom Font file while drawing/editing images.
Its very important to know your database stats while planning for some architectural update or database migration. The beforehand information would always add a plus to mitigate any risk and proactively take actions. Below is SQL Server…