On page 28 from “97 Things Every Programmer Should Know” Mattias Karlsson talks about Code Reviews and the benefits of them. He stated that “Instead of simply correcting mistakes in code, the purpose of code reviews should be to share knowledge and establish common coding guidelines”. I thought “This is very insightful indeed and I… Continue reading The benefits of Code Reviews
Reasonable points to consider when you are going to create your professional blog
The professional blog is a good way to : share valuable content to others from your field of expertise connect with other professionals who work on similar problems share ideas and expertise
Mocking HttpContext when testing IActionFilters in MVC
While trying to figure out how to make a full featured implementation of ContextMock builder based solely on Moq in order to make unit tests for an implementation of IActionFilter I stumbled upon a problem : System.NotSupportedException Invalid setup on a non-virtual (overridable in VB) member: x => x.Values
A script to export sql azure databases.
My context for the script in this case. A bug from the client is reported. A bug that does not cause exception at the back-end nor at the front-end – The font-end simply stops. It does not even freeze. So you do not have any log for this case. Now you are in check (… Continue reading A script to export sql azure databases.
Migrating legacy MySQL database to SQL Azure with model mismatch
We have home grown web ERP system which is operating since 2004. It is built upon the LAMP stack. The ERP started for internal use but after many years of usage and polishing we decided to offer it for free to several other companies outside our organization. It was a success. We decided to rebuild… Continue reading Migrating legacy MySQL database to SQL Azure with model mismatch
Logging Entity Framework 6 queries to Azure Tables
I wrote about Semantic Logging (SL) in MVC and after watching Rowan Miller`s video from Tech Ed 2014 I decided to implement logging Entity Framework 6 queries to Azure Tables with EventSource (aka Semantic Logging / Structured Logging). Motivation for logging Entity Framework 6 queries to Azure Tables By MHO the motivation behind every… Continue reading Logging Entity Framework 6 queries to Azure Tables
How to start learning Test Driven Development or Behavior Driven Development?
When you get to the point of understanding that you do not have a lifetime to spend on F5 debugging/testing and you want to be a better developer ( I beg you to get it now! ), you should ask : How to learn Test Driven Development or Behavior Driven Development? Where are the best… Continue reading How to start learning Test Driven Development or Behavior Driven Development?
Operation could destabilize the runtime + VerificationException comming from Azure Web Role + Intelli Trace + Castle Windsor (or Something Yours)
“Operation could destabilize the runtime”. Have you got this error after publishing your working-and-tested-in-cloud-emulator-web-app to Azure web role? Me too.
Infragistics Ignite UI upload control and MVC – Where is the HttpContext.User and how to get and set it?
To give you the context – we have SPA ERP to build and we have a very good set of jQuery/HTML5 controls for the UI – Infragistics Ignite UI. After installing the IG Ignite UI I started to experiment with the upload control and read its documentation here, here and here (A better organized documentation… Continue reading Infragistics Ignite UI upload control and MVC – Where is the HttpContext.User and how to get and set it?