Archive for February 6th, 2011

Which came first? Egg or Chicken!

February 6, 2011

The winner is “Chicken”! ๐Ÿ™‚

Find below the excerpt from the linkย http://www.wibw.com/internationalnews/headlines/98420064.html

It was a world first and revealed that the true purpose of the protein ovocledidin-17 is to speed up the production of eggshell within the chicken so that in 24 hours an egg is ready to be laid.

“What we have really identified is that the protein seems to accelerate the crystallization process so it can make that eggshell appear far quicker. In simple terms it accelerates calcite formation,” Freeman said.

They also found that the egg can’t be produced without the protein ovocledidin-17 in the chicken’s ovaries, so that means that the chicken must have come first. Right?

One more link about the same.

http://whyevolutionistrue.wordpress.com/2010/07/14/godawful-science-reporting-msnbc-says-the-chicken-came-before-the-egg/

Finally, science is the real master here!

Advertisements

ASP.NET MVC 3 & New view engine “Razor”!

February 6, 2011

Most of you must have heard about MVC 3 has been released few months ago with the big bang! It has come up with too many features and improvement. Thought of giving some quick info and links related to that.

Find below the link from Scottgu depicting about the same. Excellent one!

http://weblogs.asp.net/scottgu/archive/2010/11/09/announcing-the-asp-net-mvc-3-release-candidate.aspx


Top features:

  • New view engine called “Razor” with much simplified
  • Support for Multiple View Engines
  • Powerful hooks with Dependency Injection and Global Action Filters
  • Rich JavaScript support with unobtrusive JavaScript, jQuery Validation, and JSON binding
  • Streamlined validation with improved Model validation

Here is the pointer over Razor:

http://weblogs.asp.net/scottgu/archive/2010/07/02/introducing-razor.aspx


Web form Vs Razor syntaxt comparision and example from haacked.com, i loved this very much ๐Ÿ™‚

http://haacked.com/archive/2011/01/06/razor-syntax-quick-reference.aspx

One more interesting part, yes..there is a tool you can convert WebForms(asp.net) Views to Razor (C# Only). Actually it was developed by the Telerik ASP.NET MVC team for internal use, but now it is available free over GitHub.com.

Here you go….https://github.com/telerik/razor-converter. There are some limitations with this tool, check it out there.

Enjoy playing with MVC 3!