Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Thomas Shields

Thomas Shields Thomas Shields

Niner since 2010

Web Dev with ASP.NET
  • Hot from the Labs: HTML5 WebSockets

    Correction to my last comment: i'm actually getting my custom 302 redirect (meaning clientaccespolicy is not found), but it's not working. any ideas?

  • Hot from the Labs: HTML5 WebSockets

    Hi, i followed this video carefully - set up the web project and console app - but i'm not sure where i have to remove clientaccesspolicy.xml from. According to fiddler is certainly is there (@ 127.0.0.1) but i can't seem to find it anywhere, either in my project folder or anywhere in my inetpub folder. Where do i need to remove it from? Thanks.

     

  • ASP.NET MVC 3 @:The Time is Now

    What's that cool window switching thing Phil is using inside Visual Studio?? is that a plugin or a keyboard shortcut i've missed?

  • MIX11 Day 1 Keynotes

    IE10! Hurray! and MVC 3 Toolkit jsut blew me away! All you have to worry about is UI at that point!! Great job guys!

  • Knockout JS: Helping you build dynamic JavaScript UIs with MVVM and ASP.NET

    Wow, awesome!! thanks! can't wait to try this!

  • HTML5/CSS3 Boot Camp

    Good grief you all, don't hate on 'em. Microsoft's a buisness. they make money. they can't give away all their training and stuff for free.  We should be grateful they let us watch ANY of the MIX Sessions online for free, considering attendees have to pay for those, too.

  • Creating Rich Interactions Using Blend 4: Transition Effects, Fluid Layout, and Layout States (Silverlight TV #32)

    This is great video, thanks!! I've got a little problem: i used the states thing on a child window, one state has some components of the window visible, the other they're invisible, i used the GoToStateAction on the LayoutRoot, triggered when "Loaded." So far, so good. builds fine. However, when i open the child window in my application, JIT Debugging window pops up and tells me:

    "An exception 'Runtime Error' has occured in Script.

    However, a debugger that cannot handle the exception type is already attached to the process."

    I'm assuming the real "clue" to the problem is the first line...but what's the runtime error? is it because the childwindow already has a built-in animation for its appearance? if so, how do i circumvent this problem? thanks!!

  • Silverlight TV 25: No More Boxes! Exploring the PathListBox

    Here's the code...

    XAML:

    <UserControl.Resources> <Storyboard x:Name="LoadingSpin"> <DoubleAnimation Duration="0:0:0.8" To="0.91" Storyboard.TargetProperty="(PathListBox.LayoutPaths)[0].(LayoutPath.Start)" Storyboard.TargetName="pathListBox" d:IsOptimized="True"/> </Storyboard> </UserControl.Resources>
     

    ...

     

    <StackPanel Orientation="Horizontal" x:Name="loadingSP" Visibility="Collapsed" Margin="0,4,0,0"> <Ellipse x:Name="ellipse" Fill="#FFF4F4F5" HorizontalAlignment="Center" Margin="10,0,0,0" Stroke="Black" Width="21" Height="21" VerticalAlignment="Center"> </Ellipse> <sdk:Label VerticalAlignment="Center" HorizontalAlignment="Center" Content="Loading..." Margin="5,0,0,0" /> </StackPanel> 

    ...

     <ec:PathListBox x:Name="pathListBox" HorizontalAlignment="Left" Height="23" Width="23"> <ec:PathListBox.LayoutPaths> <ec:LayoutPath SourceElement="{Binding ElementName=ellipse}" Padding="0" Start="-0.08" /> </ec:PathListBox.LayoutPaths> <Ellipse Fill="Black" Stroke="Black" Height="9.25" Width="9.25" /> <Ellipse Fill="Black" Stroke="Black" Height="9.25" Width="9.25" /> <Ellipse Fill="Black" Stroke="Black" Height="9.25" Width="9.25" /> <Ellipse Fill="Black" Stroke="Black" Height="9.25" Width="9.25" /> <Ellipse Fill="Black" Stroke="Black" Height="9.25" Width="9.25" /> <Ellipse Fill="Black" Stroke="Black" Height="9.25" Width="9.25" /> <Ellipse Fill="Blue" Stroke="Blue" Height="9.25" Width="9.25" /> </ec:PathListBox>

     

    and then, the Code Behind...

    loadingSP.Visibility = Windows.Visibility.Visible Dim sb As Storyboard = DirectCast(Me.Resources("LoadingSpin"), Storyboard) sb.Begin() sb.RepeatBehavior = RepeatBehavior.Forever

     

    ...and then of course, you could tweak it...make ball 1 white, ball 2 light light gray, ball 3 light gray, ball 4 gray, ball 5 black, etc. for a more graphically appealing image...i'll give it a try. in the mean time, there it is. Smiley

  • Silverlight TV 25: No More Boxes! Exploring the PathListBox

    Do you mind sharing? that'd be neat to take a peek at, even though i'm more of a web programmer than a game developer... oh yeah, another idea, that i'm using... i'll post the code in a moment, is custom loading control...so, use an ellipse as the path, put a few smaller circles on it, and animate the "start" property to get the classic spinning-ball loading icon...

  • Silverlight TV 25: No More Boxes! Exploring the PathListBox

    I could see this being used, like MadLibrarian said, in gaming... suppose you make the items "enemies" that travel around on the path...