Monday, June 28, 2010

Resolving : Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions, Version=

While upgrading from .net 3.5 to .net 4.0 with Visual Studio 2010 we encountered an nasty issue.

Method 'get_EnableCdn' in type 'System.Web.UI.ScriptManager' from assembly 'System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not have an implementation.

With the help from Google/MSDN its somewhat clear the third party references to the old System.Web.Extensions were the rootcause. Here is one example of an issue.

But we dont use the third party libraries refered in the above link, but instead we used a old version of dll from Microsoft itself which is Microsoft.Web.Preview.dll and the History control inside the Library. It looks like there is no updates for this library in .net 4.0. But instead we used the History feature intergrated in scriptmanager itself. Just remove the Microsoft.Web.Preview.dll once the changes are complete and now you will see the issue resolved.

fullmeals dev team

Friday, June 25, 2010

Resolving "reference could not be resolved because it has an indirect dependency on the framework assembly" issue while migrating to VS 2010

We suffered an migration issue when migrating Visual Studio 2008 to Visual Studio 2010. Below is the Error.

The primary reference "....dll" could not be resolved because it has an indirect dependency on the framework assembly "System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "C...dll" or retarget your application to a framework version which contains "System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

Its an confusing error and google/MSDN search doesnt help either.

But we had an work around just add

1. System.web.Extensions.dll (V3.5) to your project
2. Mark the file as "Copy to Output Directory"
3. Build now and it works.

Based on the behaviour we can refer that its actually looking for the 3.5 version of System.Web.Extensions which doesnt exist in GAC. If there is an direct approach for this please comment.

fullmeals dev team

Thursday, June 24, 2010

Making lighter pages

We are always looking options to increase the page performance and recently we have implemented a way to decrease the page download size by 30%.

This implementation actually looks up the white spaces on the page and removes them if unnessary. Basically its the extract from and we are one of the live sites with this feature. Even google recomends to have a cleaner(minify) html for faster rendering.
This implementation is only for sites and runs in .net.

New dev team blog

We have created a new blog to hold our dev team updates, site changes and any new stuff.

checkout fullmeals dev team

How OAuth Works

Like many, i was exactly not sure the whole idea behind the OAuth till this article.

Beginner’s Guide to OAuth

Its a clean explanation of OAuth secures the UserId/Password and giving access to third parties at the same time.

by fullmeals dev team

Thursday, June 17, 2010

Welcome to!

A place where you can explore Indian Restaurants worldwide as well as learn and enjoy the art of Indian cooking. Unlike most websites brings the end to end entire relationship between the ingredients, foods, recipes and restaurants.

Our restaurants are categorized with every detail based on the region of food served such as North Indian, South Indian and Punjabi, etc. We include every detail like food menu, cost of each food, location of the restaurant, operating hours, and services like parking facility, delivery and alcohol information. Users will also be able to send their experiences as feedback including their Ratings for each food item in the menu.

Some reputed restaurants having branches all over the world get special mention in the Brand page with full description and details about its various branches.

The site also has thousands of Indian recipes under various categories like vegetarian and non vegetarian. Each recipe has detailed preparation description including the calorific value of the food. We have added the calorie calculation engine which is pretty dynamic and built specifically to understand and parse Indian Ingredients which gives runtime calorie information for every added recipe in our database. The Allergy information added to each recipe will be useful for needy users.

Hope you enjoy

Thank you!