Hi Community, Today’s post is a quick recipe to enabling FTPS capabilities to our Xamarin applications. Please refer to code below to see it fully. Angel ObjectInfo Class using System; namespace WebUtils { /// <summary> /// /// </summary> public class ObjectInfo { /// <summary> /// Gets or sets the name. /// </summary> /// <value> /// […]
Easy and convenient way to serialize SQLite tables with xamarin
Hi Community, As a follow up to my previous post on Xamarin development, Today is about a common task which is serialization of SQLite tables as a CSV file (It could be any file actually, but in this specific case is a CSV file). At the same time, I’d like to also share with you […]
Overcoming lack of AppDomain class in PCL library with Xamarin
Hi Community, If you usually wear two hats (architect and developer) like I do, you might find this blog post useful. My current engagement requires me to have the precision of a surgeon, because anything misplaced might break the functionality of this Xamarin Android application. My customer’s requirement was “simple” being able to extend existing […]
Building smart and self-configurable Windows Services
Hi Community, This post is about a question that many of us as architects and developers tend to ask ourselves, how can we build reliable yet flexible software that has the ability to adapt itself on the fly based on configuration changes? There are a few approaches to this, but Today I’d like to share […]
LightIoC– Another lightweight IoC Library
Hi Community, Today’s post is about an IoC library I wrote back in 2013. I called it “LightIoc” because it’s self-contained in a single assembly file. Over the years I have used a few IoC libraries some of them are easy to use, others a bit bulkier or with more dependant assemblies but for this […]
Binary Palindrome check in C#
Hi Community, This post is about how to check whether the binary representation of a byte is a palindrome. I’ve recently received an email by a fellow developer requesting some help with this, and after having done a bit of research I couldn’t find any good example written in C#, so I decided to do […]
Remove unwanted HTTP response headers and enable HSTS on IIS
Hi Community, I don’t consider myself a security specialist (or specialist at anything for that matter but a generalist instead). I am currently architecting a Web solution for one of my clients, and they came to me with a requirement “review, assess and rectify security vulnerabilities” on an existing Web application. it’s not what I […]
How to properly sign-out users when session times out on an MVC app using ADFS as authentication mechanism
Hi Community, Today’s post is about a common issue faced by many Web developers when they build an MVC Web application that uses ADFS as its authentication mechanism. The problem lies that sessions might be abandoned by IIS when their time is up, but the MVC application might not even be aware of this fact, […]
Internals of C# 6 new features
Hi community, it has been a very busy start of the year for me, but here I am as usual sharing with you information that you might find useful. Today’s post is about the internals of a couple new features available in C# 6. The new version of the language introduces the following features and […]
NDepend 6.0
NDepend 6.0 was released a few months ago, and due to my workload I have been unable to blog about it until now. This version contains a ton of new features. I have been working with this product since 2009, I think (Sorry but I cannot remember the version back then) and I must say […]