My Experience Developing on MacBook Pro

Approximately 6 months ago I needed to upgrade my development notebook and faced a dilemma which one to buy. As a for a long time developer working primarily with Microsoft operating systems, frameworks and development environments the obvious choice was “a Windows notebook”. But which one? I really like Lenovo’s W Series, but they moved a touchpad off center in the latest 15″ models and it was a huge turn off for me. And then a friend of mine recommended to get a MacBook Pro. What? A Mac?

After few more conversations I finally decided to buy one. After developing on it for almost half-a-year I’m ready to share my experience with it.

Continue reading “My Experience Developing on MacBook Pro”

My Experience Developing on MacBook Pro

Custom Reason Phrase in ASP.NET Web API Controller Action

The source code for this post can be found at https://github.com/DmitryZinchenko/blog-WrappedHttpActionResult .

So, you are in the middle of your iteration or heavy refactoring. The API documentation is not ready yet but you deployed your ASP.NET Web API application (Release build) to remote server for dev testing. Your UX teammates started using it periodically checking browser’s Developer Tools Network tab.

As long as they see 200 OK or 404 Not Found – everything is clear and fine. But once in a while you get 400 Bad Request and 500 Internal Server Error and you wish you could get a hint what have caused it.

Continue reading “Custom Reason Phrase in ASP.NET Web API Controller Action”

Custom Reason Phrase in ASP.NET Web API Controller Action