How to change lync status using C#

Standard

Another Lync post This snippet will help you to change the lync status(available, away, busy etc) using C# and Lync API. As I mentioned in the earlier post, you need to install the Lync SDK. Here is the snippet In this code, I am making read more →

Introduction to Dapper.NET ORM in ASP.NET 5

Standard

Dapper.NET is an open source, high performance Micro-ORM supporting Sql Server, MySQL, Sqlite, SqlCE, Firebird etc, from Stack Overflow team. Drapper provides extension methods for IDbConnection, so you require an instance of IDbConnection to use Dapper. To use Dapper, you need to include Dapper in read more →

Converting DataTable to Generic List<T>

Standard

Code snippet for converting a DataTable to Generic List<T>. You can use this as an extension method to the Data Table class. By providing the mapping dictionary, the consumer class can decide which all columns / properties need to participate in the conversion. Happy Programming

Verify Internet connection is available using C#

Standard

While reviewing some code, I found a snippet for checking internet connection, like this I found this way of internet connection availablilty many times, but most of the times it was google.com So I thought of writing the correct way (at least from my prespective) read more →