Viewed feeds of : Silverlight: All about this web plugin and framework


      view feed content Animating control Content between States (Expression Blend and Design Blog)   [Expression Blend and Design] [2 views, last view 1 d, 7 h, 45 min and 6 secs ago]
You’re probably very familiar with Content in WPF and Silverlight. For example, two Buttons can use the same Template but can look different by virtue of having different Content in them. And the Content property is of type object so it can be Text, or an Image, or a Panel containing yet more elements, or anything else. In the Template, the uncertainty of what the Content might be is taken care of by the ContentPresenter element which is analogous to a TV screen showing whatever Content happens to...(read more)
[Expression Blend Tips and Tricks ]
View original post | Add to del.icio.us| Updated 49 d ago | Share

      view feed content When Will Silverlight Ship? (Silverlight )    [1 views, last view 2 d, 1 h, 34 min and 4 secs ago]
I have received a number of emails asking when Silverlight will ship; and I’ve promised to look into it for a number of folks who very much need to know. Here is what I found out… While the incredible success of the use of Silverlight in facilitating...( read more )...(read more)
[Community Opinion Planning ]
View original post | Add to del.icio.us| Updated 2 d, 9 h, 24 min and 34 secs ago | Share

      view feed content Silverlight Cream for June 1, 2008 -- #288 (Silverlight )    [3 views, last view 4 d and 9 h ago]
Lindsay Rutter's Silverlight Webcast series, Jesse Liberty Webcasts on Control Styles and Control Templates, plus creating a project from xaml and code-behind, Lee on Animating while scrolling, and Mike Taulty on SL Streaming Improvements. From SilverlightCream...( read more )...(read more)

View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Wow. Adobe Buzzword (Miquel Icaza's Blog - Silvelight for Linux)    [1 views, last view 4 d and 9 h ago]

I am blown away by Adobe's Buzzword web-based word processor.

It feels like a great native application, with great widgetry and lots of attention paid to the details.



View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content More Gtk# Widgets (Miquel Icaza's Blog - Silvelight for Linux)    [1 views, last view 4 d and 9 h ago]

I had forgotten about Medsphere's LGPLed Gtk# widgets, the Medsphere Widgets.

Today Brad blogged about them.

This is my favorite:



View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content I’ve joined Facebook (Silverlight )    [1 views, last view 4 d and 14 h ago]
I am an early adopter in many areas, unfortunately Facebook is not one of those areas. I’ve decided to join Facebook so if you want to connect with me that would be very cool (link is below): http://www.facebook.com/profile.php?id=1421300085 This is probably...( read more )...(read more)

View original post | Add to del.icio.us| Updated 14 d and 10 h ago | Share

      view feed content Silverlight 2 Beta 1 Dynamic UserControl (Silverlight )    [5 views, last view 4 d and 14 h ago]
In this video Jesse Liberty demonstrates how to create user controls dynamically (at run time) and how these user controls can raise events to interact with the page that creates them.


View Video
Format: wmv
Duration: 1034


[HDI2B1 ]
View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Intro to Blend Part 3 (Silverlight )    [4 views, last view 4 d and 14 h ago]
In this video Jesse Liberty concludes his three-part video recreation of Scott Guthrie’s introduction to Silverlight Programming with Expression Blend.

Software: Silverlight 2 Beta 1, Expression 2.5 March Preview
Based on: First Look at Using Expression Blend with Silverlight 2


View Video
Format: wmv
Duration: 577


[HDI2B1 ]
View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Silverlight Cream for May 22, 2008 -- #280 (Silverlight )    [4 views, last view 4 d and 14 h ago]
Wow.. 11 entries since about this time yesterday! - Denislav Savkov on sockets, Florian Krüsch on SL2 & Audio, Mario Meir-Huber's MVT Charts, Joel Neubeck with spherical collisions, Jeff Wilcox on storing clipboard info with SL2, Lee animating...( read more )...(read more)

View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Microsoft Announces Source Code Analysis for C# (Silverlight )    [5 views, last view 4 d and 14 h ago]
URL : http://code.msdn.microsoft.com/sourceanalysis/R... Interestingly, Microsoft has released a new tool that they've used for years internally to analyze code in their code base. Its been informally called "StyleCop" and differs from FxCop...( read more )...(read more)

View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content A Personal Guide to Getting Started with Silverlight (Silverlight )    [3 views, last view 5 d and 19 h ago]
Back in June I posted a blog entry on how to get started with Silverlight; it seems it is time to update that as the world changes very quickly and we have many new resources. Each of us has our own way of learning, but here is my suggested path through...( read more )...(read more)
[Community How Do I Videos Recommended Resources Tools Tutorials ]
View original post | Add to del.icio.us| Updated 14 d and 23 h ago | Share

      view feed content The Fable of the Perfect ORM (Silverlight )    [1 views, last view 5 d and 21 h ago]
Data is a funny business. While at the moment I am spending a lot of time teaching Silverlight, my passion still lives in the data. I was brought up on Minisystems (Multi-user CP/M and the like) where you were dealing with something like a database (though...( read more )...(read more)

View original post | Add to del.icio.us| Updated 6 d and 7 h ago | Share

      view feed content Silverlight Tip of the Day #34 – How to Center your Silverlight Application in your Browser (Silverlight )    [1 views, last view 5 d and 21 h ago]
By default your Silverlight application is aligned to the left of your browser. How cool though would it be if you could keep your Silverlight application centered in the browser? Run this demo here: http://silverlight.live.com/ContentTestPage.aspx?setName=Keep+me+centered There are a variety of ways to do this, below is one such technique. To start, open your web page that contains your Silverlight control. Move your Silverlight control into a table with a single cell. Add a style to the table setting...(read more)
[beta2 game programming Silverlight visual studio 2008 ]
View original post | Add to del.icio.us| Updated 6 d and 17 h ago | Share

      view feed content Silverlight tutorials you might not have seen (Silverlight )    [1 views, last view 5 d and 21 h ago]
There have been some comments popping up that people want more tutorials and when checking the hit count on some of our pages, I noticed that many have barely seen the light of day. So here are a few step-by-step topics you might want to check out. How...( read more )...(read more)
[QuickStart silverlight 2 Silverlight documentation Tutorials ]
View original post | Add to del.icio.us| Updated 7 d and 6 h ago | Share

      view feed content Multi-Page Applications in Silverlight (Jesse Liberty's Blog about Silverlight .NET)    [6 views, last view 9 d and 3 h ago]

I wanted to build a multi-page (Search - Results) application when I realized that isn't really our model. Fortunately, I wrote to Ashish Shetty , who combines enormous knowledge with enormous kindness, and even though he is in the middle of blogging about this, he agreed that I could blog about it as well. Since I will be creating an HDI Video on this as one of my first Beta 2 videos (RSN) and since I think his solution is wicked cool, here is how you do it

1. Create a new Silverlight 2 project in Visual Studio , (I named mine, MultiPage).

2. You want to have at least three pages. Let's use the default Page.xaml as the first. Add any content you like but  but include a button with a name and set the content to something like "Switch"

3. Right click on the project and click Add New Item, and add a second User Control. Name the new user control anything you want and give it any content you want. I'll call mine Page2.xaml and give it content to make it distinct: 

<UserControl x:Class="MultiPage.Page2" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="400" Height="300"> <Grid x:Name="LayoutRoot" Background="Beige"> <StackPanel Orientation="Horizontal"> <TextBlock Text="This is Page2" FontFamily="Comic Sans MS" FontSize="48" VerticalAlignment="Center" /> <Button x:Name="SwitcherooButton" Content="Switcheroo" Height="40" Width="80" Background="Red" FontSize="14" Margin="20,0,0,0" /> </StackPanel> </Grid> </UserControl>

 

Note that again I have a button for switching pages.

 

Here is where the magic happens

4. Add a third page (I named mine PageSwitch.xaml.)  Put nothing in the xaml file, because the content will be the page you want to display,  but in the code-behind file add this method:

public void Navigate(UserControl nextPage) { this.Content = nextPage; }

5. Wire up the buttons on all of your pages to invoke the Navigate method, passing in the page you want to navigate to.

So, in Page.xaml.cs you'll add this code,

public Page()
{
    InitializeComponent();
    SwitchButton.Click +=
          new RoutedEventHandler(SwitchButton_Click);
}
 

void SwitchButton_Click(object sender, RoutedEventArgs e)
{
    PageSwitcher ps = this.Parent as PageSwitcher;
    ps.Navigate(new Page2());
}

 

6. Finally, in App.xaml.cs change the startup page from Page.xaml to PageSwitcher.xaml,

private void Application_Startup(object sender, StartupEventArgs e) { this.RootVisual = new PageSwitcher(); }

 

What's Going On Here??

The way this all works is that when your program starts, the opening page is now PageSwitcher whose content is blank, but whose constructor sets it to whatever you want your first page to be (in this example,  Page.xaml.)  Since all pages are actually user controls, they work fine as the content of a page.

When you click the switch button, you find the parent of your page which is the PageSwitcher page and that has a Navigate method that you invoke, passing in the page you want to navigate to. In this case, we're hardwiring the change, but it wouldn't be hard to make that value be more dynamic.

Navigate causes the PageSwitcher page to change its contents from whichever page it is currently displaying to whichever page you ask it to display, and the garbage collector cleans up the old.

(If you need to keep old values around between switches, create both pages and don't call new, but that will use more memory, or stash the values you need inside member variables of PageSwitcher -- more on that when I do a video on this approach).

 

It is a very cool, very fast effect switching from one page to the other.

 

Here's the complete source code


[Learning Silverlight Silverlight 2.0 Digging Deeper ]
View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Silverlight Beta 2 - This Week (Silverlight )    [3 views, last view 9 d and 13 h ago]
Silverlight Beta 2 is available this week with a commercial Go Live Licence. New version of Blend 2.5 and Microsoft Silverlight Tools Beta 2 for Visual Studio 2008. Yaaaaay...( read more )...(read more)
[Silverlight 2.0 ]
View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Regionate Can Cause LINQ to SQL to Fail (Silverlight )    [4 views, last view 9 d and 17 h ago]
URL : http://www.rauchy.net/regionerate/ I've been using a LINQ for SQL model for a project for a few months now. The project has been compiling fine forever now. Suddenly it was failing to build the .dbml file for no apparent reason. A quick search...( read more )...(read more)

View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Election Results (Miquel Icaza's Blog - Silvelight for Linux)    [2 views, last view 9 d and 17 h ago]

Larry Lessig has a fantastic presentation, in the very best Larry Lessig style, of why he supports Obama over Hillary. Chris has a transcript of the presentation for those reading blogs from work.

While reading CNN summary: But the two-term senator from New York surpassed the one-term senator from Illinois when voters were asked about experience, with 91 percent of voters saying she "has the right experience," versus just 5 percent who said the same thing about Obama.

Both John F Kennedy and Bill Clinton were younger than Obama is today when they became presidents. It seems odd that this fact is not mentioned more often. (Update: Raphael pointed out that I used the wrong word here; Sorry, not a native speaker and all that).

And Wonkette goes through the checklist: Hillary Pre-Election Day Cry For Points: Check: With Super Tuesday coming tomorrow, and polls showing Hillary Clinton in a dead heat with Barack Obama in states like, let’s see... Connecticut... it seemed like a good opportunity to CRY again. Not that this has anything to do with anything, but Hillary Clinton did cry in New Haven today while discussing children’s health care, one of the various things that she cares about. We’re ashamed at Hillary for this: If she had planned it around mid-afternoon, it might be a fresher topic for the evening news cycle.

Which is at odds with the speech I heard from her appearance in Massachusetts two nights ago when I jumped in a taxi. She was yelling repeatedly "am ready to lead" with a loud and strident voice. Which makes the perfect timing for the crying all too suspicious.

Larry Lessig's post underlines an important point about the way that Obama is conducting his campaign vs the way Hillary is. Hillary will have a debt with all the lobbyist, there will be favors to repay, concesions to make, special initiatives to pass through congress.

The video with Hillary's position on taking lobbyist's money is educational. Not only she is very happy taking their money, but she also twists facts when she says "They represent real Americans, they actually do". She should have added "The top 1% of Americans", you know, the Americans that actually count.

This is the complete context for the debate where the previous video was taken from. Edwards and Obama interventions are brilliant, "we do not have to start for the next election to start reforming, we need to start a grass roots movement to start reform today". Edwards and Obama went down this path: they did not take lobbyist money. Watch the full thing.

Obama as a president would not have those ties, he refuses to take money from the lobbyists.

View original post | Add to del.icio.us| Updated 7 months ago | Share


      view feed content Lenovo ThinkPads preloaded with Linux (Miquel Icaza's Blog - Silvelight for Linux)    [3 views, last view 9 d and 18 h ago]

I was doing some shopping today for a Lenovo ThinkPad T series, and noticed that they are finally offering them with SUSE Linux Enterprise Desktop 10 preinstalled.

(At least in the US).

View original post | Add to del.icio.us| Updated 7 months ago | Share


      view feed content Silverlight 2 Beta 2 Update - kb955011 (Silverlight )    [4 views, last view 11 d and 6 h ago]
Since yesterday there is an update available for Silverlight 2 . This update improves stability, media streaming, and the auto-update component. This update also improves support for Firefox 3 . Microsoft Support kb955011 More details on Silverlight and...( read more )...(read more)
[.NET firefox Silverlight ]
View original post | Add to del.icio.us| Updated 50 d ago | Share

      view feed content Mix 08 Sessions available in new dual-stream versions using Silverlight (Silverlight )    [3 views, last view 12 d and 10 h ago]
I posted the month before last that the Mix08 Sessions, mine included, were up and available at http://sessions.visitmix.com . I posted links to the MP4, WMVs and other downloaded versions at the time as well. The Silverlight versions were the same versions...( read more )...(read more)
[ASP.NET ASP.NET MVC Mix Screencasts silverlight Speaking ]
View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Three New Silverlight 2 Beta 1 Videos (Silverlight )    [3 views, last view 12 d and 10 h ago]
This week Jesse Liberty presents a two-part video series, Silverlight 2 Beta 1 Introduction to Blend Part 1 and 2. Jesse also demonstrates how to create user controls dynamically in Dynamic UserControl for Silverlight 2 Beta 1. Read More......(read more)

View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Silverlight 2 Beta 1 Intro to Blend Part 2 (Silverlight )    [4 views, last view 12 d and 10 h ago]
In this video Jesse Liberty continues his multi-part video series on Expression Blend for Silverlight 2 Programmers by digging deeper into the tutorial written in late February by Scott Guthrie; annotating and exploring the creation of Scott’s Silverlight IM program.

Software: Silverlight 2 Beta 1, Expression 2.5 March Preview
Based on: First Look at Using Expression Blend with Silverlight 2


View Video
Format: wmv
Duration: 1047


[HDI2B1 ]
View original post | Add to del.icio.us| Updated 3 months ago | Share

      view feed content Consulting Gig at Novell (Miquel Icaza's Blog - Silvelight for Linux)    [1 views, last view 12 d and 10 h ago]

We are looking for consultants to work on a six to nine month project at Novell to write a prototype for a Visual Studio addin in C# or C++ that will connect Visual Studio and its debugging infrastructure to a remote Linux machine running Mono and the Mono Debugger.

If you are interested in working with us in this project, you must have good C# and C++ skills, experience with networking and protocol design, knowledge of COM and assembly language programming are pluses.

We are looking to bring two consultants for the duration of this project. If you are interested, please click this link and attach your resume, pointers to some existing projects of yours and so on.



View original post | Add to del.icio.us| Updated 4 months ago | Share

      view feed content Cross-platform, standalone Silverilght Applications (Miquel Icaza's Blog - Silvelight for Linux)    [1 views, last view 12 d and 10 h ago]

Tamir Khason published an interesting approach at hosting standalone Silverlight applications.

His solution is a Windows.Forms application that hosts a Windows.Forms.WebControl and inside the WebControl he hosts Silverlight.

Unlike my proposal for standalone Silverlight Applications that is currently Moonlight-specific (and currently limited to Linux/X11) this approach works on Windows with .NET and with Linux using Mono and Moonlight:

Left side: .NET hosting WebControl and Silverlight on Windows; Right side: Mono hosting WebControl and Moonlight running on Linux.

In addition to hosting the WebControl for hosting Silverlight, a thread is running to dispatch http requests locally using HttpListener. HttpListener is an embeddable HTTP server that is part of the class libraries, and exposes a very limited API. You can host ASP.NET with HttpListener by doing the bindings by hand, or you could use our Mono.WebServer library (part of our XSP/mod_mono distribution) to allow your applications to have a fully hosted ASP.NET server.

Mono.WebServer is what iFolder uses to embed the ASP.NET server to expose SOAP-based WebServices to clients.

Of course, this currently does not work on MacOS X as we do have no implementation of WebControl for Windows.Forms on OSX, something that a contributor might want to look into.

You can get the source for the sample from Tamir's page.



View original post | Add to del.icio.us| Updated 4 months ago | Share