Thursday, May 26, 2011

How to solve "Saving changes is not permitted. The changes that you have made require the following tables to be dropped and re-created."


Disable “Prevent saving changes that require the table re-creation” 
1.    Open SQL Server 2008 Management Studio (SSMS). Click Tools menu and then click on Options… as shown in the snippet below.

2.    In the navigation pane of the Options window, expand Designers node and select Table and Database Designers option as shown in the below snippet. Under Table Options you need to uncheck “Prevent saving changes that require the table re-creation” option and click OK to save changes.


Globalization in ASP.NET MVC, JavaScript and jQuery


There's a couple of basic things to understand though, before you create a multilingual ASP.NET application. Let's agree on some basic definitions as these terms are often used interchangeably.
  • Internationalization (i18n) - Making your application able to support a range of languages and locales
  • Localization (L10n) - Making your application support a specific language/locale.
  • Globalization - The combination of Internationalization and Localization
  • Language - For example, Spanish generally. ISO code "es"
  • Locale - Mexico. Note that Spanish in Spain is not the same as Spanish in Mexico, e.g. "es-ES" vs. "es-MX"


Site search by MVC using the Bing Search API

http://www.iwantmymvc.com/site-search-using-bing-api-in-mvc

Bing Maps example for Windows Phone 7

http://www.codeproject.com/KB/windows-phone-7/Catel_Part6.aspx

Wednesday, May 25, 2011

Design a website like IKEA? Ikea as Rat-Maze


It’s a cliché that casinos are designed to prevent people from recognizing how much time has passed (no windows) and to steer people away from exit routes and back to the tables.
But much more salient, to me at least, is the infuriating design of Ikea stores. Invariably, my wife and I separate at some point and then, once I’m done browsing, I end up spending 20 minutes walking in circles trying to find the route back to children’s furniture (or some other designated meeting spot). I wind up passing the same mock studio apartment half a dozen times, blood pressure rising with each new sighting.
This confusion is carefully planned and orchestrated by Ikea, explained Alan Penn, a professor of architectural computing at University College London, in a recent lecture, in which he makes use of some very cool maps and digitized models of customer flow. One result of Ikea’s rat-maze design: 60% of the things people buy there were not on their original shopping list.
The company also pulls off a rather difficult balancing act: “There are a lot of people who go there and don’t enjoy it, but still seem to keep going back,” Penn says.



Ikea as Rat-Maze - Ideas Market - WSJ