Flash or Silverlight video in Razor? - asp.net

How can I play a Flash or Silverlight video in ASP .NET Razor? I can't find any information on this online.

Razor is just a server-side language that creates HTML.
You can embed videos the same way you embed videos in static HTML.

For flash you could use the SWFObject script and for Silverlight use the following.

Related

How do I embed a webgl build game that I created in unity into a website

okay, so I have a game that I developed in unity. I exported it as a WebGL build now wanted to know, would it possible to embed this game into a website? At this point in time, I only know how to create web forms using ASP.net in c# with visual studio and I would like to be able to embed my game into a website I created.
well.
first Upload Unity WebGL outputs to your web server,
and in your website, Simply just create iframe and put your webgl index.html in the iframe.

Is there any ASP.NET web control specialized in displaying video?

Is there any ASP.NET web control specialized in displaying video?
Thanks
Media players are very easy to set up in Silverlight, which embeds easily into ASP.NET. Silverlight provides an ASP.NET control as one option for embedding.
Visit the following link:
http://www.aspnet-video.com/
Or you can consider using Silverlight:
http://www.silverlight.net/

ASP.NET AJAX Library

Coolite facilitates DialogBox, Window, form, etc. (i.e. most of the controls similar to Desktop GUIs). Is there any other library like 'Coolite Toolkit' for ASP.NET ?
Free or fee? Telerik and Infragistics both have extensive control libraries for ASP.NET that include both server-side and client-side components. Most, if not all, of these controls would work with ASP.NET AJAX. Microsoft hosts a community control gallery with many more on their ASP.NET site.
Free use;
there is BackBase Ajax Framework built in Java but can be used through script blocks.
http://bdn.backbase.com/client
and theres WEB UI of ComponentArt,looks nice :) at componentartdotcom

inserting a .swf or flash files in visual basic asp.net

inserting a .swf or flash files in visual basic asp.net
give me coding sample or procedure or a link to inserting a flash files in my web form in vb asp.net
This has nothing to do with VB or ASP.NET. Just <embed> the file in your page with HTML:
http://www.w3schools.com/flash/flash_inhtml.asp
SWF Object works well for me for any language.

Silverlight in ASP.NET

Duplicate:
How do I use Silverlight from ASP.NET?
How do I add some Silverlight content to an already created ASP.NET website?
Add a new Silverlight application to your existing solution. Here's an MSDN article which shows how to integrate it with your existing website, so building the Silverlight application will deploy the Silverlight control to your ASP.NET website's Client_Bin folder.
To add a Silverlight control to a webpage in your site, you can reference the Silverlight test page that's automatically created for you, or you can use the ASP:Silverlight control, which will take care of loading the Silverlight object.
You only need to copy the XAP file to your site and reference it.
When you create a blank SL project you get the boiler plate code for the ASp .net site for free.
Having an ASP .net 3.5 SP1 enabled site, you can asp:Silverlight control:
Going without any ASP .net sugar control (you can use it on ie an php page), you can use an Object intance inside a div:
Soirry tried to paste code samples but didn't work well :-(.
Microsoft does not recommend using the ASP:Silverlight control as of Silverlight 3.
There's a great article at MSDN about how to include Silverlight using the <object> tag, or using the silverlight.js library: Integrating Silverlight with a Web Page. This helped clear up a lot of confusion for me.
This makes it much easier to provide a more customized experience that fits in better with the rest of your application.
(There's also a decent article explaining how to interact with the Silverlight control once it's embedded in your page: HTML Bridge: Interaction Between HTML and Managed Code)

Resources