Blog posts on .NET, Azure, and more.

Expression Bodied Functions and Properties in C# 6.0

December 03, 2014 by Anuraj

.Net ASP.Net Visual Studio

Expression bodied functions are another syntax simplification in C# 6.0. These are functions with no statement body. Instead, you implement them with an expression, similar to Lamda expressions.

Verify Internet connection is available using C#

December 01, 2014 by Anuraj

.Net .Net 4.0 Windows 7 Windows Forms WPF

While reviewing some code, I found a snippet for checking internet connection, like this

Dependency Injection in ASP.NET 5

November 19, 2014 by Anuraj

.Net ASP.Net CodeProject

Dependency injection is a software design pattern that implements inversion of control and allows a program design to follow the dependency inversion principle. An injection is the passing of a dependency (a service) to a dependent object (a client). The service is made part of the client’s state. Passing the service to the client, rather than allowing a client to build or find the service, is the fundamental requirement of the pattern. The pattern is used to create program designs that are loosely coupled and testable.

New C# 6.0 features

November 14, 2014 by Anuraj

.Net ASP.Net CodeProject Miscellaneous Visual Studio

As part of the Connect(); event, Microsoft introduced VS2015 Preview, which includes C# 6.0 with few more features. (These features are not included in my earlier post What is new in C# 6.0, as I already mentioned these features introduced by Microsoft in the Connect(); event few days back.)

First look into Visual Studio Community 2013

November 13, 2014 by Anuraj

.Net ASP.Net ASP.Net MVC HTML5 Visual Studio WCF WPF

Yesterday Connect(); Event, Scott Guthrie and Soma Somasegar made a number of important announcements for the cloud-first, mobile-first developer. Visual Studio Community 2013 is a new free, fully-featured edition of Visual Studio that lets developers target any platform, from desktop and mobile to web and cloud.

Copyright © 2024 Anuraj. Blog content licensed under the Creative Commons CC BY 2.5 | Unless otherwise stated or granted, code samples licensed under the MIT license. This is a personal blog. The opinions expressed here represent my own and not those of my employer. Powered by Jekyll. Hosted with ❤ by GitHub