All posts by Sebastian Renzi

Windows Phone 7 Series announced at MIX 10

As it was announced by ScottGu a few minutes ago in the MIX 10 keynote , Microsoft has launched the new mobile platform. It’s called Windows Phone 7 Series. One of the principal drivers for this new platform is the user experience .

Developers using Windows Phone 7 Series will take advantage of Silverlight, the XNA Framework and a great set of tools to build rich applications.
This means that all Silverlight and XNA developers are now Windows Phone Developers automatically :) . Another great news is that developers  will write the code once and then optimize across mobile devices, web, desktop or Xbox, adjusting basically the resolution and the screen size.

If you want to start playing you can download the Windows Phone Developers Tools as a free single download from developer.windowsphone.com .

Windows Phone Developers Tools includes:

  • Visual Studio 2010 Express for Windows Phone
  • Windows Phone 7 Series Add-in for Visual Studio (For developers already working with Visual Studio 2010)
  • Windows Phone 7 Series emulator
  • Expression Blend for Windows Phone (NOT YET, COMING IN THE MONTHS AHEAD)

You can also browse the Channel 9 Online Training Course in here.

Stay tuned that I will post a Hello World example application for Windows Phone.

Troubleshooting long External List in SharePoint 2010

During these days I’ve been working with SharePoint 2010, basically I was building a site based on an existing data base. To retrieve this information from the database I’ve using External Lists linked to External Content Types, and this External Content Types retrieve data from Views in a SQL Server 2008 R2 database.

In one of the pages that I was building I started receiving the following error message:

Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft SharePoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator. Correlation ID:b944db82-81bd-40a0-8a1a-ba24c57c1eac

As you can see the message is not self descriptive and did not help to find the problem. After trying several things without satisfactory results I took my iPhone and point the browser to the mobile version of my site inside SharePoint, and surprisingly a very detailed error message appeared. As you can see below, External List can read through Database Connector 2000 rows (Default configuration). If your query returns more than 2000 rows you will receive this error message. But the mobile version also tell us how to solve this. We need to execute a PowerShell cmdlet and change the configuration.

image

To change the configuration first we need to open the SharePoint 2010 Management Shell found under Start-> Microsoft SharePoint 2010 Products.

image

This will open a console window were we should type the following:

Get-SPServiceApplicationProxy

You will see a list of Proxy Services, but we are going to use the first in the list, “Business Data Connectivity Service

image

Copy Business Data Connectivity Service GUID and execute the following command in the console to see the current Throttle configuration:

Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -ServiceApplicationProxy 0410fefe-e1fa-46d6-99a5-2357e44f7b67

image

Now to change the Throttle configuration we will need to store the result of the previous command to use in the following command.

To change the Throttling configuration please execute the following commands:

$Db = Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -ServiceApplicationProxy 0410fefe-e1fa-46d6-99a5-2357e44f7b67
Set-SPBusinessDataCatalogThrottleConfig -Identity $Db -maximum 8000 -default 6000

image

After running the commands our Throttle values are 6000 and 8000.

Hope this helps.

PDC 2009: Day 4 and conclusions

Hi folks,

During the last day of the PDC I attended to Stream Insight session, it was really interesting. After the session I went to the Partners hall to visit the booth I didn’t visit in the first 3 days. In my personal opinion the two main topics presented in the PDC were in first order Windows Azure and finally DATA, with “Dallas” project , “M” project, Entity Framework, etc. You can find more details in the Data Developer Center

And of course another point that people talked about a lot, was the laptop that every attendee received for “free“. As you can see I highlighted free. In life nothing is for free, in some cases you pay with money and in other cases you pay differently but you never get rid of the payment. In my opinion giving for “free” this laptop was a very clever idea. Multi touch screens are very well known but they are not very massive. And Microsoft with this decision will have in the following months 4000 technical leaders testing Windows 7 Multi Touch APIs, giving feedback and helping Microsoft to enhance the upcoming versions. So, as a final conclusion we can say that the ~4000 attendees that were beneficiated with the laptop (without free word :) ) will be paying them with testing, technology evangelism and feedback. Good deal for both parts :) .

These 5 days experience was incredible, you learn a lot of things from many areas, of course you learn tips and presentation skills from great speakers, from all sessions and Keynotes I attended I choose Steven Sinofsky and Scott Hanselman, they have that special don to keep the audience always captive. You can also learn and see how to organize an event for 4000, how can 4k people eat in a timeframe of 1 hour without any kind of problem. In a scale from 1 to 10 I give without any doubt a 10.

Finally I would like to thank Southworks and specially Johnny Halife and Martin Salias for helping me make this dream possible.

PDC 2009: Day 3

Today took place the second Keynote. The one in charge was Steven Sinofsky, the president of the Windows Division at Microsoft. The Keynote was basically focused on Windows 7, in my opinion, it was a great Keynote, specially the part when he showed in numbers the hard work they did, like for example how many unknown devices were plugged in (< 800.000), how many bug reports were received and how many unknown software was installed (< 80.000).

When Steven was ending his presentation he announced that every attendee will receive this excellent laptop.

The second part of the Keynote was driven by ScottGu’s . Scott announced Silverlight 4 and showed some cool stuff like leveraging the webcam and microphone, the CLR now enables the same compiled code to be run on the desktop and Silverlight without change, all the complete list of enhancements can be found here.

Then I went to see Scott Hanselman’s presentation named “ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips“,I know I’m not discovering anything new, but he is really a great presenter, I really enjoyed his presentation.

After lunch we went to the Partners Hall to see the Windows Azure Container and we met ScottGu, below you will see some evidence :)

Tomorrow is the last day of this great conference, it will finish near 4 pm. See you tomorrow.

image

PDC 2009: Day 2

Hi folks

Today it was a great day at PDC. At 8 a.m we were in the line ready to enter to the main hall to attend the Keynote. Today’s Keynote was driven by Ray Ozzie and Bob Muglia. The focus was Azure new features like the appFabric and the possibility of uploading customized virtual machines (coming soon) among others.

Another topic that was announced is the “Sidney” project, that basically connects an on premises server with the cloud.

Then came the time for the demos, Cameron Skinner showed Tailspin Travel this demo was aimed to cover Visual Studio 2010 and .NET Framework 4.0 new features. Pablo Costantini was part of the team that built it.

Many companies presented success cases about their products hosted on Windows Azure like, WordPress, Domino Pizza, Siemens IT Services, Kelley Blue Book and Coca Cola.

After the break I went to see Don Box and Chris Anderson on stage, what a great duo they make. The session was call “Data Programming and Modeling for the Microsoft .NET Developer”. They talked about Entity Framework new features and they announced a new data protocol called “OData”. Then they also announced a new project called “M”, it’s a data modeling language that you use to create DSLs to express your data.

You can also check Johnny’s and Tim’s post for more information.

See you tomorrow

image

PDC 2009: Day 1

Finally time arrived, I was really anxious to be here. Today workshops took place and tomorrow will be the time for the sessions.

If you are staying in a “PDC hotel”, you can take a bus that will leave you inside the Convention Center.

The registration started at 8 AM, there are 2 registrations areas, one for MSFT employees and another one for mortals :) .

Once registered, you receive a bag with notebooks, pens, magazines and a plastic water bottle.

You have a coffee area, with a Starbucks store inside, also you have coffee available in every room. You can also find lot of places with AC power plugs, this  a great idea taking into consideration that many of us came with laptop, photo camera and video camera.

Once I registered I met old friends from Merrill Lynch and then attended to the Windows 7 Developer Boot Camp.

The first talk was about Windows 7 kernel enhancements, like memory management, security, NUMA nodes, scalability, power consumption, footprint, parallelism and new technologies related to hardware and software.

The speakers: Mark Russinovich, Landy Wang and Arun Kishan

Then after the lunch I attended to the Windows 7 Sensors and Location API session, they showed really cool demos with external light and motion sensor sensors. One of those demos was a racing game that depending on the light the color of the sky changes, it was really cool.

Tomorrow will take place the Key Note where the demo that Southworks built will be shown, and then I will attend “Data Programming and Modeling for the Microsoft .NET Developer” presented by Don Box and in the afternoon I will attend “Overview of SharePoint 2010 Programmability”.

image

Stay tuned and see you tomorrow :)

PDC 2009: Everything is on schedule

This is my first time in LA. The people is great, there are very nice buildings and the weather is helping my walks.

Today I walked around the east side of the city and couldn’t avoid going to check if everything was going ok.. fellows don’t worry, everything is on schedule :)

image

 

Stay tuned.

Countdown to Microsoft PDC 2009

Next Wednesday I’m flying to Los Angeles to attend the PDC 2009. The event is held in Los Angeles Convention Center.
The PDC is the event focused on the technical strategy of the Microsoft developer platform.
During the last couple of months at Southworks we have been creating several demos and content like Hand On Labs that are going to be shown at the conference.

I will meet several Southies that will attend the conference too: Ale Jack, Tim, Matias, Johnny and PC.
My plan is to write blog posts summarizing the conferences I will attend, so stay tuned, more post and news coming soon.

Thanks Southworks and specially Johnny "Interop" Halife for this opportunity

First ALT.NET open space in Buenos Aires

image

Last Saturday, the first ALT.NET open space took place in Buenos Aires, Argentina at Microsoft offices.

The sessions were really good. The topics were varied and diverse, from open source projects to UX best practices.

In all sessions I have participated, the discussions were really good. During the Open Source session  Fabio Maulo, Daniel Cazzulino and Daniel Calvin shared their experiences with NHibernate, MoQ and Cooperator Framework.

Before ending I would like to congratulate Miguel Saez, Martin Salias and Carlos Peix for the excellent organization and the pizzas ! :)

Comparison table between HTC Touch HD, Diamond 2 and Touch Pro 2

This table was taken from WMEXPERTS

 

 TouchPro2_TouchHD_Diamond_2

 

 

Touch HD

Diamond 2

Touch Pro 2

Processor

Qualcomm MSM7201A @ 528 MHz

Qualcomm MSM7200A @ 528 MHz

Qualcomm MSM7200A @ 528 MHz

Operating system

Windows Mobile 6.1

Windows Mobile 6.1

Windows Mobile 6.1

Upgradable to 6.5?

Officially? Unknown

Yes

Yes

Memory

512 ROM/
288 RAM

512 ROM/
288 RAM

512 ROM/
288 RAM

Dimensions

115 x 62.8 x
12 mm

107.85 x 53.1 x 13.7 mm

116 x 59.2 x 17.25 mm

Weight (with battery)

147 grams

117.5 grams

175 grams

Display

3.8-inch
480×800

3.2-inch
480×800

3.6-inch 480×800 w/tilt

Camera

5.0MP
w/autofocus

5.0MP
w/autofocus

3.2MP w/autofocus

Battery

1350 mAh

1100mAh

1500 mAh

Expansion slot

MicroSD (2.0 compatible)

MicroSD (2.0 compatible)

MicroSD (2.0 compatible)

Accelerometer

Yes

Yes

Yes

WiFi

802.11 b/g

802.11 b/g

802.11 b/g

Bluetooth

2.0 + EDR & A2DP

2.0 + EDR & A2DP

2.0 + EDR & A2DP

Headphone jack

Uses HTC ExtUSB

Uses HTC ExtUSB

Uses HTC ExtUSB