This is arguably one of the more irritating things in WCF, but as it turns out for good reason. WCF is meant to expose services 'universally' of their endpoint i.e. it shouldn't matter how you connect to the server, the service is independent of the underlying protocol. Therefore, returning HTTP errors from WCF service, well, ... Read more Returning Http Error as Response in WCF
Lately, we've been playing around a lot with WCF. Unit testing WCF services is not exactly challenging (well done Microsoft), but it seems that with unit tests it is quite difficult to test certain behaviour, for example, authentication or authorization. There are other means of developing automated tested system tests, but they are not that ... Read more Automated WCF RESTful System Testing with VS
I was building a simple web system which relied on XML files. On initiation, the system would open the XML config file, read it and include other XML files defined in it:
FileStream fr = new FileStream(xmlPath, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
//Creating the document
XmlDocument myXmlDocument = new XmlDocument();
The operation was done within a WebForm and it worked just fine. I also had a WCF service whose job was to ... Read more Remember to close files: the process cannot access the file '' because it is being used by another process
Internet was undoubtedly one of the biggest inventions in the XX century. It is used for finding relevant information, staying in touch with friends and even shopping. However, due to its very large expansion, on average fewer people are aware of the dangers it poses. Can we protect ourselves? HTTPS is part of the answer. ... Read more Why is using HTTPS so important?
Should software engineers be empowered to say “no” to building a given system? For an employed software engineer the refusal to build a given system may be seen as not performing required tasks. For an unemployed software engineer, it may be another couple of months without a job. The word “no” may be caused by ... Read more Should software engineers be empowered to say “no” to building a given system?
Internal quality (aka structural quality or architectural quality) is an assessment on the quality of the code and its underlying architecture. It differs from external quality which assesses how good the software is in relation to the requirements. Nowadays, as building large scale applications is becoming increasingly common, assessing it, is becoming increasingly important. The ... Read more Ensuring internal quality of software
Accessible Web The internet is an information medium based in 95% on visual transmission. It would seem therefore that it is virtually unusable for people unable to see. This, however, is not true. Indeed, we (the developers) can make browsing our sites a truly great experience by making it a more accessible. Here are the 9 ... Read more 9 steps to make your website more accessible