четверг, 24 января 2013 г.

Visual Studio Feeds English

Visual Studio Feeds English


Microsoft earnings cheat sheet: Windows is back to cash cow number one

Posted: 24 Jan 2013 11:01 AM PST

Microsoft's Office business still is the biggest of its five units in terms of profits. But Windows is finally back to being the

Windows Azure and Cloud Computing Posts for 1/21/2013+

Posted: 24 Jan 2013 10:31 AM PST

A compendium of Windows Azure, Service Bus, EAI EDI, Access Control, Connect, SQL Azure Database, and other cloud-computing articles. Windows Azure and

Bringing OData to Team Foundation Service

Posted: 24 Jan 2013 09:14 AM PST

I am pleased to announce that starting today we are enabling OData access for Team Foundation Service. The goal of the Team

January 2013 release of the Ajax Control Toolkit adds Charts

Posted: 24 Jan 2013 08:28 AM PST

The Ajax Control Toolkit has been updated, with most of the work going to adding new chart functionality....(Read whole

Charles Petzold is speaking in LA, and we’re sponsoring the event with prizes!

Posted: 24 Jan 2013 08:28 AM PST

So you've probably heard of Charles Petzold he's kind of a big deal! You know the dude that gets referred to as 'the

Model Binding using Expression Trees

Posted: 24 Jan 2013 07:58 AM PST

        object Bind(object requestDto, NameValueCollection formData)         {             var propertyGroups = formData.AllKeys.Where(x => x.Contains('.')).GroupBy(x => x.Substring(0, x.IndexOf('.')));             foreach (var group in propertyGroups)             {                 var propertyName = group.Key;                 var propertyInfo = requestDto.GetType().GetProperty(propertyName);                 var propertyType = propertyInfo.PropertyType;                 var bindings = new List();                 foreach (var childPropertyKey in group)                 {                     var childPropertyName = childPropertyKey.Substring(childPropertyKey.IndexOf('.') + 1);                     var childPropertyInfo = propertyType.GetProperty(childPropertyName);                     var childPropertyType = childPropertyInfo.PropertyType;                     if (!childPropertyType.IsPrimitive) continue;                     var childPropertyValueString = formData[childPropertyKey];                     var parseExpression = Expression.Call(childPropertyType.GetMethods().Single(x => x.Name == "Parse" && x.GetParameters().Count() == 1), Expression.Constant(childPropertyValueString));                     var childPropertyValue = Expression.Lambda(parseExpression).Compile().DynamicInvoke();                     bindings.Add(Expression.Bind(childPropertyInfo, Expression.Constant(childPropertyValue)));                 }                 Expression memberInit = Expression.MemberInit(Expression.New(propertyType), bindings);                 var propertyValue = Expression.Lambda(memberInit).Compile().DynamicInvoke();                 var propertyExpression = Expression.Property(Expression.Constant(requestDto), propertyInfo);                 var assignExpression = Expression.Assign(propertyExpression, Expression.Constant(propertyValue));                 Expression.Lambda(assignExpression, Expression.Parameter(requestDto.GetType())).Compile().DynamicInvoke(requestDto);             }             return requestDto; } ...(Read whole news on source site) (http://geekswithblogs.net/Nettuce/archive/2013/01/24/model-binding-using-expression-trees.aspx)

New January 2013 Release of the Ajax Control Toolkit

Posted: 24 Jan 2013 07:58 AM PST

I am super excited to announce the January 2013 release of the Ajax Control Toolkit! I have one word to describe this release

Java scam: How Oracle and Ask profit from sneaky add-ons | The Industry Standard - InfoWorld

Posted: 24 Jan 2013 07:58 AM PST

Every time users update Java, traps in the program try to trick them into installing useless toolbars and add-onsJava scam:

How do I keep my Surface RT battery from draining when it's not in use?

Posted: 24 Jan 2013 05:10 AM PST

Microsoft Surface RT users, I need your help. How can I stop the Surface RT battery from draining when the device isn't in

Study: MongoDB Takes a Bite Out of MySQL

Posted: 24 Jan 2013 05:10 AM PST

Some especially significant implications for Web developers can be found in a new study by research firm Ovum that measured the sentiment about

Комментариев нет:

Отправить комментарий