Akbar on Development
Attaining the Impossibles
  • All Projects
  • Jack Sparrow Compass
  • Subtitles Translator
  • USB Disk Manager
  • Swift MVC Framework
  • TaskbarExt
  • Quick Chess
  • Basecamp Extension
  • Language Tools
  • Rapid Downloader

Archive for the ‘C#’ Category

SAML 2.0

Recently, one of my clients decided to support the SAML 2.0 for SSO to their website. Since, the plan was to just support it as Service Provider, it was decided to use a custom implementation in C# as the overall concept and idea is of SAML sounds very simple. In the end, even though we were able to make the service work and running in less than 2 days for internal demo, we ran into many integration problem when working with Identity Providers of client using the different SAML 2.0 implementation on various platforms. We run into problems like:

– Some clients were using Deflated XML while others were not
– Encryption Algorithms Choice per client
– Difference in the NameID format being used
– Difference in how SAML attributes were being communicated/passed

SQL Server TLS 1.0 Fix

Few days ago, I have to disable TLS 1.0 on one of our Windows 2012 Server for PCI Compliance. This machine was also acting as Database server, and runs MS SQL Server 2012. After disabling the TLS 1.0 (using IISCrypto tool), I ran into SQL Server compatibility issues where first the SQL Server Service wouldn’t start, and once that issue was fixed, SQL Server Management Studio failed to connect with that SQL Server. Thanks to the RobWillis.info post, I was able to solve both of these issues.

Recently, when working on an integration API written in ASP.Net which communicates with a web-services developed using PHP, the tech support requested to force all the secure communication (over HTTPS) to use only the SSL v3 version. This can be controlled in PHP CURL via single line of code as shown blow: 1 curl_setopt($curl, CURLOPT_SSLVERSION,3); […]

When debugging some problem, usually the “Call Stack” window is really of help. It let’s quickly see how you reached in current location i.e. call chain. This is of help when using some Visual Debugger, but you know what, the actual error happens when the application goes Live. For live applications, a good practice is […]

One has to often import and export dates in different format in the day to day programming. Though most of the .Net developers know how to export (convert the date to string) in a specific format, it’s little tricky when it comes to importing that i.e. loading the date in a custom string format to […]