By Fernando G.
Overview
First off, we need to have a quick overview of what REST means to the development community, and we can start by what does REST stands for? It stands for Representational State Transfer. Right, it did not help a lot, right?
In the SOA era, we have Service Oriented Systems interacting between them exposing Services, some applications act as consumers and some as producers. At the end, a Service Oriented Architecture allows an organization to create a well thought and organized set of libraries being used uniformly among all of the participants with no redundancy of business rules and specially having a single set of Services. Well, not always the case. It re...
“Command Timeout” is not equal to “Connection Timeout”.
A few days ago I had an application that was throwing the following error:
“Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding…”
It was an obvious error, a database timeout. I reviewed the Connection String and it didn’t have the property “Connection Timeout” (The default connection timeout is 30 seconds). So I added the property and set it to 600 seconds.
<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=localhost\SQLEXPRESS;Integrated Security=SSPI;Connection Timeout=600;" />
</connecti...
While working on the implementation of a CMS-based web site, I had to deal with a problem that obstructed the expected navigation flow. To make sure the site was search-engine-friendly, aliased URLs capability was enabled in the content management application. The site also needed to be localized in at least 6 languages. The combination of these two features didn’t go quite as expected to say the least.
Here’s a detailed description of the problem:
For all content entries of the type Product, we use a product.aspx page that is in charge of rendering all of them by sending the product, and language, ids as query string parameters,it looked like this: product.aspx?id=[productid]&LangT...