Very often in a system we may have modules that are implemented by different persons for a long period of time that are inconsistent and it is difficult to use them in a new implementation. Here in this post you can find a sample of solving these problems using facade design pattern, unique interface and [...]
Actually, I received a question like this few days ago and if such a question appear to people why not to right the answer here. :) If you have two queries like those below what do you think is the difference?
1: select count(a.id)
2: from answer a, answerset aset
[...]
An exception that you can get during application debugging when you attach to an aspnet_wp.exe process. If you use a published web site it is fine but attaching to it in some case can cause this exception to happened. What is the reason? By default the debugger tries to attach to and debug T-SQl code [...]
At the end of last week I updated my Windows XP with SP3. After a while I’ve tried to connect to the company network using Cisco VPN client and it failed to connect with the error stated in post’s header. If you look in the log you can see that the client tries to connect [...]
In my last post I wrote a sample class that converts file extension to MIME type. Is it obvious that in many cases it is much better to have configurable list of mappings. For instance, you may have a configurable “white list” of file extensions that your web application allow to be uploaded and then [...]
Sometimes in a web application you need to upload files to the server and then download them to the client. To send a file to the client for downloading we need to specify a MIME type into the response content type parameter. This way we provide an information to the client browser what is the [...]