Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers

Integrating Bitbucket extension to Visual Studio 2015/2017

If you are using BitBucket Git repositories for hosting and managing your code, Visual Studio 2015 and Visual Studio 2017 has the extension to easily manage your files, directly from the Team Explorer view of the IDE.

 

In this post, we are going to get you started with the extension and see the main features that the extension supports.



Marshal.ReleaseComObject() vs. Marshal.FinalReleaseComObject()

If you are using COM components on your .NET code, you might be already aware of the Marshal.ReleaseComObject and Marshal.FinalReleaseComObject, which are used to release the managed reference to Runtime Callable Wrapper (RCW) of the COM object.

 

If both are used to release COM objects from memory, and you are unsure which one to use, then this post will help you to learn the differences between the calls.


Get 'Early Access' to .NET Framework 4.7.1

.NET Framework 4.7.1 is the next version of the .NET Framework, which is going to ship with Windows 10 Fall Creators Update. Microsoft, in a blog post, announced the availability of 'Early Access Preview Build' of .NET Framework 4.7.1.

 

It's now a feature complete build and running under testing phase. If you are a Windows Insider, you can start validating your applications running on the latest version.


Here's how to retrieve Process details of Excel, PowerPoint app instance

If you are using COM objects like Microsoft Excel or Microsoft PowerPoint, you may sometime notice that the COM instances are not releasing from the process list; even though you called Close(), Quit() on the application instance.

 

In case you faced the same issue, this post will guide you to find the Process ID (from the HWND) of that particular instance to take further action to release it.


Solution for runtime error while repeatedly calling Ping.Send from C#

If you are using .NET Framework 2.0 or .NET Framework 3.5, and getting unexpected Runtime Error while repeatedly calling the System.Net.NetworkInformation.Ping.Send method from C# code, this is due to an issue which got resolved in .NET Framework 4.0 and above.

 

Today, we are going to discuss about the issue, the root cause and the workaround to resolve this issue targeting .NET Framework version older than 4.0.


Parse or TryParse? Which one should I use?

It's often require to parse a string value to another data type, like integer, and there exists a confusion among the developers whether to use the Parse method or the TryParse method that the framework provides to us.

 

In this post, we will discuss the difference between each of those two methods and guide you to understand and pick the preferable one. Continue reading to know more.



What's the difference between null string and string.Empty?

Let's continue our 'Back to Basics' series. It's often an interview question to get an idea of the basic knowledge of a candidate. This is one of the simple question that an interviewer may ask during an interview and you should also know this while writing your code.

 

In this post, we are again going to discuss on the basics and this time we will learn the difference between null string and empty string.


Book on Mastering Visual Studio 2017 has been published and available!

It gives me immense pleasure to announce that, my book titled 'Mastering Visual Studio 2017' has been published today. It was a great journey, with months of efforts. Thanks to Packt Publisher for the opportunity to write for them. Sincere thanks to the editorial team and the reviewer.

 

By reading this book, you will learn not only what Visual Studio 2017 offers, but also what it takes to put it to work for your project.


Windows 10 Insiders Preview Build 16251 got some new improvements

Microsoft, today announced a new PC build 16251 for the Windows Insiders in the Fast Ring, from the RS3 (Redstone 3) development branch. And thus, moving towards one step forward to the Windows 10 Fall Creators Update, which is expected to release within few months.

 

Along with this new PC build, they have also announced a new build 15235 for mobile devices. In this post, we are going to list the new features that you can see in the new PC build.


Have you heard about StringCollection class in .NET?

StringCollection class is a spcialized collection type present in .NET Framework class libraries. The name itself represents it as a collection of strings. It exposes common methods and properties to manage string collection.

 

If you do not know about this class, in this post we are going learn about it's properties, methods and learn how to use it.


Solution for NPOI only supports BIFF8 format exception

In last few articles we have discussed about NPOI libraries for .NET. There could be some cases, while reading Excel files, you may get an exception with 'The supplied spreadsheet seems to be Excel 5.0/7.0 (BIFF5) format. POI only supports BIFF8 format' as message.

 

In this quick tip, we are going to discuss about this issue, the way to handle it and the way to read the same Excel workbook content.


 
© 2008-2017 Kunal-Chowdhury.com - Microsoft Technology Blog for developers and consumers | Designed by Kunal Chowdhury
Back to top