XAMLCast – Episódio 19 – Novidades, Visual Studio LightSwitch e Behaviors 20/8/10
Olá pessoal!

Estamos na edição 19!
São 42′ de boa informação. Ouça, comente e aproveite os links abaixo.
- Silverlight Media Framework 2.0 (07/07)
- XAML Power Toys for VS2010
- Power Tools no ScottGu’s Blog
- RTW do WPF Ribbon Control
- Visual Studio LightSwitch
- Vídeo no CH9: Anúncio no VSLive!
- Post no blog do Somasegar
- Lançamento previsto para o dia 23 de agosto de 2010
- Behaviors
- Top 5 Silverlight Behaviors
- Microsoft Expression Gallery (Silverlight Behaviors)
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- @kelps
- @robertos_br
- @rodrigokono
- Adicione o Twibbon do XAMLCast ao seu avatar!
Até o próximo!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
5 commentsCategories: Expression, Microsoft, Silverlight, XAMLCast
XAMLCast – Episódio 18 – Sterling DB, SilverMotion, Windows Phone 7 e mais 31/7/10
Fala pessoal!

Depois de duas semanas sem gravar por causa de dificuldade em sincronizar nossas agendas, acabamos decidindo gravar esse episódio sem o Kono para não deixar vocês, nossos ouvintes, mais uma semana sem o XAMLCast. Mas não se preocupem pois no próximo episódio estaremos todos de volta.
Nesta semana falamos de Sterling DB, SilverMotion, Windows Phone 7, Silverlight para Symbian e Xte Profiler. Ouça!
- Silvelight para Symbian – http://www.silverlight.net/getstarted/devices/symbian/
- Sterling para WP7 – http://sterling.codeplex.com/
- Blog do Jeremy Likness – http://jeremylikness.com/
- Xte Profiler – http://xteprofiler.net/
- SilverMotion – http://postvision.net/SilverMotion/DemoTech.aspx
- Windows Phone 7 Tools Beta – http://developer.windowsphone.com/windows-phone-7/
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- Adicione o Twibbon do XAMLCast ao seu avatar!
Até o próximo!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
5 commentsCategories: .net, Dicas, Silverlight, XAMLCast
XAMLCast – Episódio 17 – Metro UI, Kinect e NUI, Pivot Viewer e mais 8/7/10
Saudações caros ouvintes!

Mais informações para você neste episódio que está bem interessante. Incrível como sempre existe mais e mais novidades – bom para todos nós que nos alimentamos disto.
Nesta semana falamos de Metro UI, novos MVPs, Kinect e novas interfaces, Streaming 3D, Fluid UI, Windows Phone 7 e mais. Fique ligado e surfe conosco!
- Kinect – www.xbox.com/kinect
- Novos MVPs de Silverlight – http://timheuer.com/blog/archive/2010/07/01/sivlerlight-mvp-awards-july-2010.aspx
- Artigo do Petzold sobre Fluid UI no Silverlight 4 sem Blend – http://msdn.microsoft.com/en-us/magazine/ff798276.aspx
- Nascar Streaming 3D com SL – http://racebuddy3d.nascar.com/player3dv.html
- NVIDIA 3D Vision: http://www.nvidia.com/object/3d-vision-main.html
- Requisitos de sistema: http://www.nvidia.com/object/3d-vision-requirements.html
- Notícia no site da NVIDIA sobre a transmissão 3D utilizando Silverlight e Smooth Streaming: http://www.nvidia.com/object/io_1275286847414.html
- MetroTwit – http://www.metrotwit.com
- Silverlight Metro Theme – http://www.silverlight.net/content/samples/sl4/themes/cosmopolitan.html
- Download do Silverlight Theme Pack – http://tinyurl.com/2ep68po
- Phone 7 Action Pack (Windows Phone 7) – http://phone7actionpack.codeplex.com
- Pivot Viewer control for Silverlight – http://www.silverlight.net/learn/pivotviewer
- Exemplos usando Pivot Viewer – http://pivot.metia.com/worldcup e http://netflixpivot.cloudapp.net
- Developers Pivot Collections Tools – http://www.getpivot.com/developer-info/tools.aspx
- TweetPivot – http://tweetpivot.com
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- Adicione o Twibbon do XAMLCast ao seu avatar!
Até o próximo!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
3 commentsCategories: Dicas, Microsoft, Novidades, Silverlight, XAMLCast
XAMLCast – Episódio 16 – VS2010, SL4, Moonlight 3, ReactiveXAML, MSN na Copa 1/7/10
Estamos de volta!

Ficamos quase quatro meses distantes dos microfones. Todos nós estivemos envolvidos em projetos pessoais que tomaram uma boa parte do tempo e ainda tivemos o problema do fuso horário do Sonnino que estava no GMT+5.
Agora normalizado, voltamos com novas idéias e boas informações para sua orientação e atualização.
Se você acompanha o XAMLCast, deve ter percebido que a numeração mudou – decidimos acabar com a contagem por temporadas, pois afinal o XAMLCast é uma coisa só. Logo, contando 4 episódios da 1a temporada, 2 do Tech-Ed 2007 e mais 9 da segunda temporada, você vai ouvir agora o Episódio 16 do XAMLCast!
Claro que não conseguimos falar de tudo que aconteceu nestes últimos 3 meses e meio. Porém falamos dos acontecimentos mais importantes desde o MIX10 e também de algumas boas novidades fresquinhas.
Neste episódio falamos de:
- O indiscutível Visual Studio 2010 – http://msdn.microsoft.com/en-us/vstudio/default.aspx
- Novidades do Silverlight 4 – http://www.silverlight.net/getstarted
- Silverlight no Windows Phone – http://www.silverlight.net/getstarted/devices/windows-phone
- Expression Studio Ultimate – http://www.microsoft.com/expression
- Blend Fundamentals Training – http://www.microsoft.com/expression/resources/BlendTraining
- Moonlight 3 com próximas atualizações baseadas no Silverlight 4 – http://www.dotnetrocks.com/default.aspx?showNum=568
- ReactiveXaml – http://github.com/xpaulbettsx/ReactiveXaml e http://blog.paulbetts.org/index.php/category/programming/reactive-extensions/
- MSN na Copa – http://www.msnnacopa.com.br
- Behavior desenvolvido pelo Kelps para download no Expression Gallery – Deep Zoom Tag Filter Behavior: http://gallery.expression.microsoft.com/en-us/DeepZoomTagFilter
- Especial: Kelps entrevista Tim Heuer no MIX10 – http://www.youtube.com/watch?v=yQ75swHZ5Pw (post completo em breve)
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- Adicione o Twibbon do XAMLCast ao seu avatar!
Até o próximo!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
2 commentsCategories: Dicas, Novidades, Silverlight, XAMLCast
Surface Toolkit for Windows Touch Beta! 12/4/10
Hey there!
Today, together with the VS2010 launch, Microsoft has finally released the Surface Toolkit for Windows Touch for download!
But what is it, you might ask? This toolkit enables WPF developers with Windows 7 touch PCs with the Surface controls (such as ScatterView and Library) and touch visualizations to create really awesome multitouch apps.
Stop reading this and go download it now:
If you don’t have a touch device, you can use MultiTouchVista to simulate multiple touches using multiple mice. A step-by-step tutorial can be found in this link: http://wenjiun.blogspot.com/2009/11/testing-windows-7-multi-touch-with.html
Also take a look at this video from Channel 9 which shows the toolkit:
http://channel9.msdn.com/posts/LarryLarsen/Surface-Toolkit-for-Windows-Touch/
Happy multitouching!
Roberto
1 commentCategories: .net, Dicas, Microsoft, Novidades, Surface, This is Cool, WPF
XAMLCast – 2a Temporada – Episódio 9 – Finger Style, SLARToolkit, Windows Phone 7 e pré-MIX10 10/3/10
Olá olá pessoal!

Este é o XAMLCast pré-MIX10.
Estamos ansiosos para a chegada deste grande evento que irá nos trazer grandes novidades e anúncios. E para nossa alegria, e como já havíamos falado antes, o XAMLCaster Kelps estará em Las Vegas cobrindo o evento e enviando tudo em primeira mão!
Neste episódio falamos de:
- Finger Style – Artigo fantástico do Charles Petzold sobre Multitouch em Silverlight
- MultiTouchVista – simulador de multitouch com múltiplos mouses para Windows
- Artigo do Roberto Sonnino (em inglês) sobre touch com WPF e MultiTouchVista
- SLARToolkit – A experiência de AR (Realidade Aumentada) com Silverlight virou um framework
- Aplicação do correio americano para tamanhos de caixas com AR
-
Não confunda:
- Blender – programa de modelagem 3D
- Balder – engine 2D/3D que funciona com Silverlight
- Blend – ferramenta para design de aplicações WPF/Silverlight
- Concurso de Silverlight/WPF da Magenic Studios – prêmios até 500 US$ + 3000 US$ pro Haiti
- Copa de Talentos Microsoft
- Anuncio oficial do Silverlight no Windows Phone 7
- Video no TechEd Middle East mostrando XNA no Windows Phone, Xbox e Windows
- MIX10
- HVP no MIX
- Video do ScottGu no Channel 9 falando sobre o MIX
Bolão do MIX10!
Envie sua previsão do que irá acontecer no MIX10. Para participar, basta referenciar a hashtag #bolaoxamlcast no seu post do twitter.
Ajudem o XAMLCast a entrevistar o ScottGu no MIX10
Envie um tweet (em inglês) para @ScottGu pedindo uma entrevista com o @XAMLCast (Brazilian Podcast) ou @kelps.Com muitos pedindo, o acesso torna-se mais fácil.
Se quiserem, podem pedir para outras “personalidades” do .net/WPF/SL, como Scott Hanselman, Phil Haack, John Papa, S. Somasegar, Tim Heuer, Karen Corby, Glenn Block… o Kelps vai ter trabalho em Vegas!
Atenção!
O XAMLCast da semana que vem será especial sobre o MIX10! Assim, em vez de um grande episódio, soltaremos as notícias aos poucos, o mais rápido possível, conforme o Kelps for mandando. Por isso, não deixe de assinar e seguir o XAMLCast para não perder nada!
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- Adicione o Twibbon do XAMLCast ao seu avatar!
Até o próximo!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
3 commentsCategories: Dicas, Microsoft, Novidades, Silverlight, WPF, XAMLCast
Quick tip: Convert images from any format to XAML 8/3/10
Hey there!
For today’s quick tip I’ll show how to convert images from any 2D vector format (and I really mean ANY) to XAML. It’s pretty simple!
Note: if your image is in a bitmap format (e.g. JPEG, PNG, GIF, PSD, etc), you should simply convert it to PNG or JPEG using any image editor and use it directly as a bitmap image in your app. This method is only necessary for vector file formats.
Note 2: There are specialized converters for many formats that might yield better results. I’d recommend searching the web to see if there isn’t a converter for your format before trying this method.
Requirements:
- Expression Design (tip: Students can get it for free with Dreamspark)
- PDFCreator
Steps:
- Open your image in your favorite image viewer. In this example, I’ll open an SVG from Wikipedia with Firefox.

- Print the image to PDF with PDFCreator.

- Rename the PDF file to AI using Windows Explorer. (e.g. “image.pdf” becomes “image.ai”)


- Open the AI file with Expression Design. You might now want to delete some parts of the image that you don’t want to be exported.

- Save it to XAML as usual using File > Export… in Expression Design.

Yes, it’s THAT simple! Enjoy!
See you next time,
Roberto
This blog post is also available on CodeProject
5 commentsCategories: Dicas, Expression, Silverlight, WPF
Quick WPF/Silverlight tip: Generic Converter MarkupExtension 4/3/10
Hey there!
It’s been quite a while since the last English post – XAMLCast has been taking much of my blogging time
Today’s tip is an expansion of a method originally developed by Dr. WPF in this post: http://www.drwpf.com/blog/Home/tabid/36/EntryID/48/Default.aspx .
Usually, when working with Converters in WPF/SL, we always follow the same steps:
- Create a class that derives from IValueConverter:
public MyConverter : IValueConverter {} - Implement Convert (and sometimes ConvertBack)
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture) { // convert and return something } - Instantiate the converter as a resource and use it:
<ResourceDictionary ...> <local:MyConverter x:Key="TheConverter" /> </ResourceDictionary> ... {Binding Converter={StaticResource TheConverter} ...}
Well, it works but it’s not a compact syntax. Following Dr. WPF’s idea, we can use a MarkupExtension to replace the StaticResource by a static instance of the Converter:
public class MyConverter: MarkupExtension, IValueConverter
{
private static MyConverter _converter;
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
// convert and return something
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
// convert and return something (if needed)
}
public override object ProvideValue(IServiceProvider serviceProvider)
{
if (_converter == null)
_converter = new MyConverter();
return _converter;
}
}
Usage:
xmlns:conv="[Path to namespace that contains the converter]"
...
{Binding Converter={conv:MyConverter}}
Now that’s pretty!
The only problem is that with this method, you’d have to repeat the implementation of the ProvideValue for each converter you create, and we programmers hate repeating ourselves
One solution I found is to create a generic abstract class that will contain that implementation, and derive each converter from that class. It’s cleaner and works the same:
using System;
using System.Windows.Data;
using System.Windows.Markup;
namespace VirtualDreams.Converters
{
[MarkupExtensionReturnType(typeof(IValueConverter))]
public abstract class ConverterMarkupExtension<T> : MarkupExtension where T : class, IValueConverter, new()
{
private static T _converter;
public override object ProvideValue(IServiceProvider serviceProvider)
{
if (_converter == null)
{
_converter = new T();
}
return _converter;
}
}
}
Let’s apply it to MyConverter:
public class MyConverter: ConverterMarkupExtension<MyConverter>, IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
// convert and return something
}
public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
{
// convert and return something (if needed)
}
}
Usage:
xmlns:conv="[Path to namespace that contains the converter]"
...
{Binding Converter={conv:MyConverter}}
Simpler, less repetitive – that’s the way I like it!
Happy converting!
Roberto
This blog post is also available on CodeProject
Comment this postCategories: .net, Dicas, Silverlight, WPF
XAMLCast – 2a Temporada – Episódio 8 – MVPs do ano Silverlight, Windows Phone 7, MIX 10K e Silverlight 3D 24/2/10
Olá olá pessoal!

Já estamos na edição 8 e as novidades não param.
Já tem gente pedindo o XAMLCast duas vezes por semana (caramba).
No podcast desta semana falamos dos MVPs de Silverlight que foram destaque em 2009, falamos do Windows Phone e também discutimos um pouco sobre os projetos de 3D no Silverlight.
Ouça e mande sua opinião e comentário!
Seguem os links relacionados ao podcast:
- MVPs do ano de Silverlight
- Post do Tim Heuer com a divulgação
- Laurent Bugnion
- Dave Campbell
- Windows Phone 7
- Conheça:
- Especulações do Silverlight no Windows Phone
- Entrevista de Ballmer para o TechCrunch
- Competições de Silverlight
- MIX 10K
- SilverlightShow EcoContest
- Silverlight 3D
- Projeto Balder (2D e 3D para Silverlight, XNA e OpenGL)
- Kit3D (3D no Silverlight 2)
- Google investindo na Web 3D
- Livro que explica como fazer jogos 3D com Balder e Farseer
- Artigo: como desenvolver em 3D com WPF
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- Adicione o Twibbon do XAMLCast ao seu avatar!
Até o próximo!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
2 commentsCategories: Microsoft, Novidades, Silverlight, WPF, XAMLCast
XAMLCast – 2a Temporada – Episódio 7 – Silverlight Viewport, Visual Studio 2010 RC, MVVM 17/2/10
Caros ouvintes!

Continuando o papo técnico, este espisódio do XAMLCast traz o tema MVVM salpicado com novidades e boas dicas e referências para você estudar.
Ouça e tire suas conclusões:
Seguem os links relacionados ao podcast:
- Visual Studio 2010 RC
- Jason Zander
- Blog: http://blogs.msdn.com/jasonz
- Channel9 (video): http://tinyurl.com/ycdur6g
- Silverlight Viewport
- SilverArcade (videocast)
- MVC x MVP x MVVM
- Josh Smith
- Karl Shifflett
- Sasha Barber
- Marlon Grech
- MVVM Made Easy / Jeremiah Morrill (screencast)
- MVVM Frameworks
- MVVM Light
- Cinch
- Jesse Liberty
- Dicas em português para começar com MVVM
- Grupo MVVM na comunidade Silverlight Brasil
Discutam, comentem e retwittem!
Para assinar:
- Feed RSS: http://www.xamlcast.net
- iTunes/iPod: pcast://www.xamlcast.net
- Zune: zune://subscribe/?XAMLCast=http://www.xamlcast.net
O XAMLCast também está no Twitter!
- Twitter oficial: @xamlcast (e hashtag #xamlcast)
- Siga os XAMLCasters:
- Adicione o Twibbon do XAMLCast ao seu avatar!
Aguardamos seu feedback!
Abraços,
Kelps, Roberto Sonnino e Rodrigo Kono
5 commentsCategories: Dicas, Microsoft, Novidades, Silverlight, WPF, XAMLCast, XNA

