Technology & Me ...

Continuous integration in Azure using Kudu

WebApp is one of the core components in Azure Ecosystem. Azure allows you to deploy a web app built using different technologies like ASP.NET, Node, PHP, HTML + JS etc. These sites can be deployed using different methods like FTP, Web deployment using Visual Studio, using Team Foundation Server [TFS] or using Kudu! You might have heard about these deployment techniques earlier except Kudu, so let’s first understand what Kudu is all about? Kudu Azure supports continuous integration of Web Apps from source code control and repository tools like BitBucket, CodePlex, Dropbox, Git, GitHub, Mercurial, and TFS. Kudu is the…

WCF Binding Decision Tree

If you’re a .NET developer, specifically a WCF developer, you know that choosing correct WCF binding for your application is always confusing. This is not only due to wide range of bindings available, but you also need to consider features like security, reliability, transport protocol, legacy application support, in process – out of process communication, intranet vs internet applications etc. Some of the WCF bindings like NetTcpBinding or BasicHttpBinding clearly indicate the transport protocol; however you still need to understand differences between BasicHttpBinding and WsHttpBinding in order to choose between the two. I have been part of large scale, complex…

C# 6.0 Language Features – Declaration Expressions

Welcome to C# 6.0 language features article series. As you might have heard about Visual Studio 2015 and .Net framework 4.6 announcements in various Microsoft events earlier, one of the most exciting news was the next version of C# language, which is 6.0 and new features added to it. C# has come a long way since 2002 when C# 1.0 was released along with Visual Studio. Since then with every major release of .Net framework, C# became better and better language, which has tremendously helped application developers to minimize the code complexity and focus on business functionality. With the new…

C# 6.0 Language Features – nameof Operator

Welcome to C# 6.0 language features article series. As you might have heard about Visual Studio 2015 and .Net framework 4.6 announcements in various Microsoft events earlier, one of the most exciting news was the next version of C# language, which is 6.0 and new features added to it. C# has come a long way since 2002 when C# 1.0 was released along with Visual Studio. Since then with every major release of .Net framework, C# became better and better language, which has tremendously helped application developers to minimize the code complexity and focus on business functionality. With the new…

Conditionally compile XAML in an Universal App

Conditional compilation feature is primarily used to include or exclude a portion of source code file based on certain condition. In a typical C# program, you can use preprocessor directives to perform conditional compilation as shown below – public double MyMethod(int input) { double result; #if CONDITION result = input * 0.5; #else result = input * 0.10; #endif return result; } If the CONDITION is set, result = input * 0.5 code will get compiled otherwise result = input * 0.10 will be compiled. Such type of conditional compilation is commonly used if you want to isolate platform specific…

1 of 14
12345