Debugging IIS 7.5 FTP Custom Authentication Provider

A customers need was to have quickly an ftp server to share large files with some third party. The security restrictrions in our company need a two-factor autentication. So I had the idea to create a custom authentication provider where the user can provider his password and token in the ftp password field like password#token. In this post I will not explain how you create a custom authetication provider. This is explained very well on the links I'll post. I found this great blog post of Robert MyMurray where he describes how to create a custom provider with multiple examples. I followed his steps and realized that I couldn't debug the code I wrote with Visual Studio. Then I found this post on iis.net, which finally helped me to debug my code. Steps to debug: I assume that: You already created a solution and implemeted one of the examples of Rober McMurray or your own one. You signed your dll and deployed it to your Global Assembly Cache You installed and co...