Friday, November 8, 2013
Friday, October 11, 2013
HttpContext.Current.Profile.GetPropertyValue and even worse you have to call a SetPropertyValue method to set the Profile property which is really ugly! The good news is that you can still use the inherits property of the Profile configuration and set your own class, instead of specifying the properties inside the web.config.
Monday, October 7, 2013
I have also spotted Delimon.Win32.IO Library (V4.0) which I would have used if it was available as a Nuget package. This lib provides a lot of System.IO classes using the win32 api instead, handy if you are dealing with long filenames.
Friday, October 4, 2013
Saturday, September 7, 2013
I have just upgraded to IE11 and although it’s really awesome I had some weird issues with some MVC applications I am using. The problem occurred with the authentication cookie and the session id being stored in the URL. Although I explicitly enabled cookies for my custom applications’ URLs, the session id and the asp.net authentication token would still persist in the URL. This broke the POST requests as the server could not authenticate the request (the token was not posted in neither the URL nor a cookie) and would return a 401 response.
Sunday, June 16, 2013
As a security measure, Chrome doesn’t allow by default to visit any not known web port (eg not 80,443, 8080 etc).
I had to debug site hosted on port 102 so I made the following bat file to fire up Chrome and test the website:
Note that AppData lands you to the Roaming profile, while Chrome installs (if you select to install it only on your account) in the Local folder.
Hope this helps.