What to do when Visual Studio 2015 hangs while loading a solution

10 בMarch 2016

From time to time, my visual studio got stuck, in previous versions I used to erase the <solution>.suo filehowever on visual studio 2015 I couldn’t find one.   I couldn’t find it because Visual Studio started behaving like other IDEs and put its solution user option file among other in a subfolder. So the .suo file moved to <Solution Dir>\.vs\<Solution Name>\v14\.suo (no file name, just the extension)   Erasing the SUO file has brought my Visual Studio on its feet again, however, what actually caused it to hang was the fact that I left too many files opened, but...
no comments

Self Hosting a secured ASP.Net Web API

3 בMarch 2016

  Recently I had to build a self-hosted service that needs also to be contacted via SSL. I’ve found a few guides on the internet however they weren’t updated to the Owin.SelfHost so I’ve decided to write one of my own.   So, Here it is. 1, On your service you need to have a startup class, the same as you might have on your ASP.Net application.  There is nothing different between a regular and secured service. public class Startup { // This code configures Web API. The Startup class is specified as a type // parameter in the WebApp.Start method. public void Configuration(IAppBuilder appBuilder) { // Configure Web API for self-host. HttpConfiguration config =...
no comments