Author Archives: Johan

About Johan

.Net Developer

Fast VPN

 Join now for the fastest VPN service around Advertisements

Posted in General | Leave a comment

Whitelist Outlook.com | Live.com | Hotmail.com

Got a call from a client today that my email are block from outlook.com, live.com and hotmail.com. Tried to talk to tech support which did not help. In the end I found a link to add my server ip to … Continue reading

Posted in General | Leave a comment

Super Fast – VPN

   Join now for the fastest VPN service around

Posted in General | Leave a comment

Easy

Just for me Get it here  

Posted in General | Leave a comment

Custom Numeric Format Strings

http://msdn.microsoft.com/en-us/library/0c899ak8.aspx You can create a custom numeric format string, which consists of one or more custom numeric specifiers, to define how to format numeric data. A custom numeric format string is any format string that is not a standard numeric … Continue reading

Posted in General | Leave a comment

The data protection operation was unsuccessful. This may have been caused by not having the user profile loaded for the current thread’s user context, which may be the case when the thread is impersonating

Recently I’ve developed a site for a customer using MVC 5 with Asp.net Identity (OWIN) everything worked 100% locally then I deployed it to their server and all the proverbial wheels fell off. Thanks to this wonderful post I’ve been … Continue reading

Posted in ASP.Net Identity | Leave a comment

Web Hosting

If your’re looking for good priced web hosting for windows goto Aspnix

Posted in General | Leave a comment

System.Security.SecureString HowTo

Today I’ve had to look at System.Security.SecureString to store passwords. I would have never in my wildest dreams thought that you will have to use System.Runtime.InteropServices.Marshal to convert the SecureString value to an IntPtr and then convert that back to … Continue reading

Posted in .Net, C# | Tagged , , | Leave a comment

How to delete a Project in Team Foundation Server (TFS)

Open Visual Studio Command Prompt (2008), (2010), etc… TFS 2008 and below: TFSDeleteProject /server:ServerName ProjectName TFS 2010 and above: TFSDeleteProject /collection:http[s]://Servername:port/tfs “Project Name” Warning: Deleting a team project is an irrecoverable operation. All version control, work item tracking and Team … Continue reading

Posted in TFS | Leave a comment

30 Free Programming books

While browsing the interwebs I found the following site where you can get 30 free programming books. Cheers

Posted in General | Leave a comment