Thursday, 09 September 2010

The products listed above, and their associated names, icons and logos, are the intellectual property of Microsoft Corporation.

Silverlight Streaming
SilverLight host fire onload event again when parent element visibility changed!
Silverlight.net -

Hello, I put a SilverLight  Host in a DIV,when DIV 's visibility change.  the SilverLight  Host  fire onload event again,

 

Please tell me why ,and how to avoid it ...


View article..

[HELP NEEDED] From expression encoder to windows mobile 6.1
Silverlight.net -

 hi folks,

i try in vain to broadcast with expression encoder a feed that i can play with windows mobile pro 6.1

none of the strream video player i have on wm 6.1 can open the http:// feed that i get out of win exp encoder.

Do you guys have any tips for get a stream playble?

 

the idea is to set a webpage with a live stream and depending of the user agent , you get either the silverlight webpage or the mobile version that ll be just the feed url.

if you g uys have any tips, you are more than welcome,cause i am getting very desesperate :'(

HELPPPPPPPPPPPPPPPPPPPPPPPP

 here are my settings:

Normal 0 21 false false false FR X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tableau Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}


Expression : 320 * 240 15fps / 250 kbs

The url was http:// 192.168.1.10:7000

 

Players on  my htc (trinity) (win mobile pro 6.1 ) :

Windows mobile media player (latest edt)

Htc streaming player

Tcmp

Pockettv

 
View article..

Can't play a wsx file
Silverlight.net -

I think this may be a Server issue as when I try to go to the wsx file direclty it says the page cannot be displayed.  Does anyone know what I need to do to set this up?


View article..

Put the project online!
Silverlight.net -

 Ok! finally im feeling good with my project.

Can you tell me, how i can put my application online? What programs do i have to use?

maybe someone knows a good tutorial, or something like this.

 

Thanks a lot!

jan


View article..

this player sucks bad
Silverlight.net -

i listen to a local news radio on my comp. i used silverlight for about a week now it wont connect and lockup. but WMP works fine


View article..

InitParams and Securty
Silverlight.net -

If i pass a UserID in an initparam, which defines how to load the silverlight app, am i opening up any security issues?  Can someone pull my xap of my server and plug in someone elses userid, run it,  and have access to their info?  I wouldnt think so but wanted to be sure.

 thanks


View article..

DiscountASP deployment problem. Microsoft JScript runtime error.
Silverlight.net - Hello,

I've created silverlight 2 beta 2 with WCF service. On my computer it works perfectly, but when I started to deploy the project I had met some unknown error. At first I thought, that it is WCF service problem, I fixed it using http://blogs.msdn.com/bobfamiliar/pages/rich-internet-applications-ria-s-using-silverlight-2-0-part-2.aspx tutorial and now it works: http://votq.net/Votqnet.WebWeb/WCFService.svc .

But still, the part of application, which is calling some WCF functions is not working. I have created function, which is adding data to ItemControl. On localhost it shows data, but not on hosting. After deployment I get this error, which was catched by Visual Studio debuger.

Microsoft JScript runtime error: Unhandled Error in Silverlight 2 Application Exception has been thrown by the target of an invocation.   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at System.Windows.Threading.DispatcherOperation.Invoke()

Here is my XAML of ItemControl: <ItemsControl x:Name="itemControl" Height="412" Margin="63.5,0,101.5,8" VerticalAlignment="Bottom" Width="700">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel x:Name="pnl" Height="115" Width="700" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Orientation="Vertical">
<Grid Height="115" Width="700" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Image HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" Source="Images/portfolio/bg.png" Stretch="Fill" x:Name="bg" Height="140" Width="700"/>
<Button HorizontalAlignment="Right" Margin="0,14,0,-14" VerticalAlignment="Stretch" Width="177" Template="{StaticResource button_port_more}" Cursor="Hand" x:Name="btnMore"/>
<TextBlock Margin="221,40,287,0" Text="{Binding name}" TextWrapping="Wrap" Foreground="#FFFEDCBC" FontSize="16" FontWeight="Normal" x:Name="tblHeader" VerticalAlignment="Top" Height="25"/>
<TextBlock Margin="171,66,209,17" VerticalAlignment="Stretch" Text="{Binding description}" TextWrapping="Wrap" x:Name="tblDescription" Foreground="#FFFFFFFF" FontSize="12"/>
<Image HorizontalAlignment="Left" Margin="42,28,0,0" Width="105"/>
</Grid>
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>

You can find this application on http://votq.net/Votqnet.WebWeb/Votqnet.WebTestPage.aspx

Best regards,

Artashes

P.S. Sorry for my english.



 


View article..

DiscountASP deployment problem. Microsoft JScript runtime error.
Silverlight.net - Hello,

I've created silverlight 2 beta 2 with WCF service. On my computer it works perfectly, but when I started to deploy the project I had met some unknown error. At first I thought, that it is WCF service problem, I fixed it using http://blogs.msdn.com/bobfamiliar/pages/rich-internet-applications-ria-s-using-silverlight-2-0-part-2.aspx tutorial and now it works: http://votq.net/Votqnet.WebWeb/WCFService.svc .

But still, the part of application, which is calling some WCF functions is not working. I have created function, which is adding data to ItemControl. On localhost it shows data, but not on hosting. After deployment I get this error, which was catched by Visual Studio debuger.

Microsoft JScript runtime error: Unhandled Error in Silverlight 2 Application Exception has been thrown by the target of an invocation.   at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at System.Windows.Threading.DispatcherOperation.Invoke()

Here is my XAML of ItemControl:

<ItemsControl x:Name="itemControl" Height="412" Margin="63.5,0,101.5,8" VerticalAlignment="Bottom" Width="700">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<StackPanel x:Name="pnl" Height="115" Width="700" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Orientation="Vertical">
<Grid Height="115" Width="700" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Image HorizontalAlignment="Stretch" Margin="0,0,0,0" VerticalAlignment="Stretch" Source="Images/portfolio/bg.png" Stretch="Fill" x:Name="bg" Height="140" Width="700"/>
<Button HorizontalAlignment="Right" Margin="0,14,0,-14" VerticalAlignment="Stretch" Width="177" Template="{StaticResource button_port_more}" Cursor="Hand" x:Name="btnMore"/>
<TextBlock Margin="221,40,287,0" Text="{Binding name}" TextWrapping="Wrap" Foreground="#FFFEDCBC" FontSize="16" FontWeight="Normal" x:Name="tblHeader" VerticalAlignment="Top" Height="25"/>
<TextBlock Margin="171,66,209,17" VerticalAlignment="Stretch" Text="{Binding description}" TextWrapping="Wrap" x:Name="tblDescription" Foreground="#FFFFFFFF" FontSize="12"/>
<Image HorizontalAlignment="Left" Margin="42,28,0,0" Width="105"/>
</Grid>
</StackPanel>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>

You can find this application on http://votq.net/Votqnet.WebWeb/Votqnet.WebTestPage.aspx

Best regards,

Artashes

P.S. Sorry for my english.



 


View article..

Silvelight connecting to WCF using Integrated Authentication in IIS
Silverlight.net -

Can anyone tell me if this configuration is supported?

 Everything seems to work fine when I run it from within VS 2008, but when I transfer everything to the production server (and change all service addresses to new location, etc.) I run into the anonymous authentication problem that so many people have mentioned.

<configuration>

<system.serviceModel>

<bindings>

<basicHttpBinding>

<binding name="BasicHttpBinding_EntityService" maxBufferSize="65536"

maxReceivedMessageSize="65536">

<security mode="None" />

</binding>

</basicHttpBinding>

</bindings>

<client>

<endpoint address="http://localhost:2466/WebServices/EntityService.svc"

binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_EntityService"

contract="APISoftware.Navigator.EmployeeSelfService.Silverlight.EntityService.EntityService"

name="BasicHttpBinding_EntityService" />

</client>

</system.serviceModel>

</configuration>

 -----

My Web config of the service is as follows

<services>

<service behaviorConfiguration="APISoftware.Navigator.Services.EntityServiceBehavior"

name="APISoftware.Navigator.EmployeeSelfService.WebServices.EntityService">

<endpoint address=""

binding="basicHttpBinding"

bindingConfiguration="basicHttp"

contract="APISoftware.Navigator.EmployeeSelfService.WebServices.EntityService">

<identity>

<dns value="localhost" />

</identity>

</endpoint>

<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />

</service>

</services>

--- My Binding Configuration is as follows

<basicHttpBinding>

<binding name="basicHttp" maxReceivedMessageSize="65536000">

<readerQuotas maxDepth="64" maxArrayLength="65535" />

<security mode="None">

<transport clientCredentialType="Windows" />

</security>

</binding>

</basicHttpBinding>

Any ideas how to get the integrated authentication to work?


View article..

Cross Domain Policy
Silverlight.net -

I Need Help!!!!!!!!!

If I have a application hosted on silverlight streaming server which calls a WCF service on a different domain, how should my policy file look like?

I want to restrict only from my silverlight streaming account. I do not want to have it open to all like:

<domain uri="*"/>

Can it be something like:

<domain uri="http://msbluelight-0.agappdom.net"/>
and then sub-path with my silverlight streaming account? How do I make sure that only my app can call the webservice on a different domain?

 

Thanks


View article..

PreviousNext
Copyright 2009. Sponsored by nsquared   |  Terms Of Use  |  Privacy Statement
Content on this site is generated from the developer community and shared freely for your enjoyment and benefit. This site is run independently of Microsoft and does not express Microsoft's views in any way.