Tags » .NET 4.5

Using HTTPS with basicHttpBinding in WCF Gateway

WCF can work as gateway and in this case you need to configure the service endpoint and client endpoint.

In some cases your client endpoint is HTTPS  and you are using basicHttpBinding.  68 more words

Security Requirements

.NET threading: native and managed thread IDs do not per se correlate

Next time I run into .NET and native threading issues:

Main UI threads often have a correlation between managed and native thread IDs.

But for other threads, you cannot be really sure.

176 more words
Development

Why is there no such thing as char.Empty?

Woah, it’s been years since the last time I wrote in this blog. I plan to write and update more this year.

For a quick blog, I was working in a textbox mask using devexpress today and I want to explicitly assign an empty character to the PromptChar. 248 more words

Application Development

Delegates in C#, simplified.

Delegates, a main question when it comes to C# interviews. When I faced the internship interview at IFS last October I was asked a question “What is a delegate” I said “It is a way to achieve thread safety”, actually I used delegates in my Imagine cup project in 2013 but when I faced that interviews, I really had a good clear concept of it. 397 more words

C#

IlMerge is on NuGet.

IlMerge is a great way to merge multiple .NET assemblies into one, and I use it most often to combine assemblies with console applications so I end up with one executable.. 89 more words

Development

Constructor chaining and some other good tips with constructors

Blogging after a long time actually, I was bit busy with last exams and migrating to Colombo, Sri Lanka. I have a good news for you guys that I have joined… 668 more words

C#

Azure AD Authentication Library for .NET

A new library useful to authenticate against AD Azure AD Authentication Library for .NET.

Some exemple on how to use it are hosted on github.  40 more words

.Net 4.5