Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers: C#
Showing posts with label C#. Show all posts

Microsoft .NET Framework is a programming infrastructure created by Microsoft for building, deploying and running applications & services that use .NET technologies, such as desktop applications, web applications and Web services.


In this post, I am going to list down the history of .NET Framework along with the key features which has been introduced with each version of the framework.

Published by on under .Net |

Last Sunday (29th May 2016), we have organized an event in Kolkata, clubbed with topics on different technologies. This includes topics like C# 7.0 Concepts, Azure PowerShell, UWP (Universal Windows Platform), HoloLens with Unity 3D and IoT (Internet of Things).


I have given a session on building UWP apps using C# and XAML. Here I am sharing my slides for you to refer. Those who missed to join the event, check it out.

Published by on under C# |

If you are building a custom installer of your own, you might want to compress the files inside a ZIP and extract them on need basis. You can easily do this by using some 3rd party libraries, among which some are free and some are paid versions. Why to use additional libraries if the .NET framework provides you the set of APIs?


You might be aware of this, but if you are unaware of it, let me tell you that, it was present since .NET 2.0. Let’s explore it in today’s quick blog tips & tricks. Continue reading and share the link in your network.

Published by on under .Net |

If you are working with XML serialization in .NET/C#, you might have already encountered this and might have analyzed a lot why your data is not serializing though you have written proper code. The reason/solution might be simple but in case you are not aware of such common mistakes, you will definitely break your head finding the root cause.


In this quick post, we will learn about the common mistakes that may happen while declaring the properties of data class that you are going to serialize. Continue reading and let me know, if you find more points to be added here.

Published by on under .Net |

Most of the cases we use XML files to serialize/de-serialize data from/to the app. To do this, we expose properties of known types and pass it to the serializer for automatic serialization process. Sometime, we don’t need to serialize all the properties and manually need to mark them from serialization process.


In this small blog post, we are going to see the way, by which you can prevent a property from the XML serialization process. Continue reading to know more.

Published by on under .Net |

Not every system has the right folder permission set to all user account and hence, sometime we need special access to specific folder during installation or while executing the application. It is not possible to manually set it up by browsing the folder and hence an automation is mandatory.


If you are looking for a way to set the right permission to specific folder(s) using C# code, this post will help you. Continue reading to learn more about it and grab the code.

Published by on under .Net |

Registry is the heart of Windows Operating System and all/most of the apps and games associates various values/data into the registry, which can be accessed at different point of time. Playing with Windows registry is very dangerous and hence general people should avoid or take special care while working with it.


In case you are a developer, you want to read/write/delete entries to/fro Windows Registry. This post will cover details and code snippets to delete an entire key tree from it. Continue reading to learn how to do it.

Published by on under .Net |

Sometime we need to find out details of running process which is external to your current process, might be a third party one. If you are currently looking for some code to find out details of a process, this post will definitely help you. Here we will learn, how to get the process description using C#.


Continue reading to learn about it. Also, sample code has been shared for you to understand it better. If you have specific query, drop a line in the comment section.

Published by on under .Net |

When downloading from a remote location, many time we need to know whether the file downloaded properly or not. There are many techniques to know about it but among them, one of the approach is to check the hash value of the file. The Cryptography APIs of .NET can help you to calculate the same.


Today in this post, we will learn how to calculate the hash value of file stored in local resource. Continue reading to learn more about the steps. Code has been shared.

Published by on under .Net |
© 2008-2018 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top