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

Here's how to run web application in multiple browsers from Visual Studio

If you are a web developer and designing any website or a page, you may want to run it in multiple browsers to check cross-browser issues. Visual Studio provides an easy way to run the web application in all the selected browsers at a single shot.

 

In this quick tip, today, we are going to learn how to run the web application in multiple browsers from the Visual Studio IDE. Continue reading to know more about it.



Let's learn about default literal in C# 7.1

If you are using Visual Studio 2017 version 15.3, it came with new improvements on top of C# 7.0, thus changing the version to 7.1. One of the new change in C# 7.1 is 'default' literal to avoid the redundant information while writing code.

 

In this post, we will learn about this improvement and will also cover how to use this. Continue reading to know about it.


Do you know that, there exist a snippet to generate reverse 'for' loop?

In every programming language, when you want to loop through a collection, you use the 'for' loop in maximum scenarios. When writing code in Visual Studio, you might be aware that, there exist a code snippet to write the for-loop structure.

 

But you might not noticed that, there exist another code snippet to generate a reverse for-loop. Let's see what it is and how it operates.


Visual Studio 2017 (version 15.3) and .NET Core 2.0 is now available

Visual Studio 2017 version 15.3, has been released, along with .NET Core 2.0 and Visual Studio for Mac (version 7.1) operating system. Microsoft, in a blog post, announced the availability of both the products. Visual Studio 2017 version 15.3 contains many new improvements and fixes.

 

.NET Core 2.0 is the second major version of .NET Core and this release focuses on performance improvements and expanded set of APIs available via .NET Standard 2.0.


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.


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