Docker doesn’t have to be complicated to start playing with. Matter of fact you can play with it any Visual Studio project you have. I have this quick video to show how. Hope this helps you.
Category: Jibber Jabber
Be aware about SecurityProtocolType while creating request from code
If you are using code-behind to create a HttpWebRequest like var request = (HttpWebRequest)WebRequest.Create(Url); and then trying to use that request to get the WebResponse like var response = (HttpWebResponse)request.GetResponse(); This will error out as following “HttpWebRequest The underlying connection was closed: An unexpected error occurred on a send” To fix that you have to…
Want a cookie for you or foreach of you?
Ran into a weird cookie issue HttpWebRequest cookies are disabled for security by default. You need to enable it. Now if you want to add cookies from your current request, since they are seperate types, you have add it manually. Example my httpCookies – HttpContext.Current.Request.Cookies; var request = (HttpWebRequest)WebRequest.Create(url); request.CookieContainer = new CookieContainer(); //now your…
Learn from failure. Fail quick and fail fast.
I know when I was learning to walk, I fell many times. So many times that it was ok to fall down and it was neither good or bad. It was just a process to “learn” how to walk. That’s the way it should be. I never trust a person who will say they were…