TS Web Access with Silverlight BETA

 

I am very excited to announce to you about the new release of TS Web Access with Silverlight BETA! Many improvements have been done from the last prototype (TS Web Access with Silverlight ALPHA) especially on the backend code. Now the icon will consume MsRdpClientShell that invoke the information of RDPFileContents from the Windows Management Instrumentation (WMI) through ActiveX, rather than link to the RDP file in ALPHA version.

The cool thing on this BETA version is the list of Remote Program will dynamically change according to your TS Web Access Setting. Because, this Web App will read the list of published application from WMI, querying Win32_TSPublishedApplication from Terminal Services RemoteApp Classes. In order to enable using WMI, I have to use Server Control that accessing Win32_TSPublishedApplication with the helper of System.Management, a managed library from .NET Framework.  Server Control that used by ASPX page will generate JavaScript. JavaScript will generate eXtensible Application Markup Language (XAML) that will be consuming by Silverlight to generate the presentation of Web Application.

To combine Silverlight, XAML, JavaScript, ASPX, and ServerControl, I need to figure out some tricky ways. ServerControl generates JavaScript, JavaScript generates XAML, and XAML generates UI for Silverlight. Not much documentation that can be found about the combination of those new things. Decompile some dlls from TS Web Access Beta 3, RC0, and RC1 to get more inspiration is needed. But, with the spirit of NEW YEAR, finally I can release it.

You can download the Web App installer (TSXWebSetup.msi) from here:  DOWNLOAD

You can also download the offline version from here: DOWNLOAD

Please read the following README about the usage.

README:

  1. Install the Terminal Services Web Access and all components that required to running TS Web Access properly in your Windows Server 2008 Machine (or you can use any demo VM that TS Web Access Ready)
  2. Install the TSXWebSetup.msi on your TS machine.
  3. Open your IIS Manager and enable Anonymous Authentication only on your http://localhost/ts/images folder (note that only for /images folder).
  4. Add your remote program on your TS Machine (I suggest add around 8-12 remote programs to have good UI, I will fix it on next release)
  5. Navigate your browser of TS Machine to http://localhost/ts every time you add new remote program.*
  6. Navigate your browser either form your client or TS Machine to http://[TSMachineName]/TSX

 

For those of you who connected to Microsoft Network, can try the live demo of BETA version from here **. For those of you who came from outside Microsoft can try the live demo of BETA version from here, but you can't try the remote program, because I'm not put the TS Gateway on the public network. But you can see how the silverlight works. Now you can show to your costumer/partner/friends about the collaboration of Microsoft latest technologies.

Thank goes to Samim Erdogan (Senior Program Manager - Terminal Services, Microsoft Corp) who gave me right direction to use ActiveX and WMI, Risman Adnan (ISV Lead, Microsoft Indonesia) who gave me e book and coding spirit, Zeddy Iskandar (Academic Developer Evangelist, Microsoft Indonesia) who gave me right clue how to access WMI with .NET Framework, and Alex Balcanquall (TS Product Manager, Microsoft Corp) who gave me challenge to getting this done.

Any feedbacks or comment are welcome!

Narenda Wicaksono

IT Pro Evangelist, Microsoft Indonesia

 

* Please note that every time you add new remote programs in your Terminal Services, make sure to navigate your browser (of your Terminal Services Machine that hosts the RemoteApp) to http://localhost/ts. This activity will generate the images icon of the remote programs (this web application will consume the images of icon from http://localhost/ts/images).

** Password information:

User Name: narn1, narn2, narn3, narn4, ... , narn10
Password: jan-11
password is same for all login names

 

Share this post: | | | |
Published Thursday, January 03, 2008 7:42 AM by Narenda Wicaksono

Comments

# Terminal Services + Silverlight = Very Cool!

Thursday, January 03, 2008 9:48 AM by Is This Thing On?

You have to see this! If you dig Silverlight and you like using TS then check out what one of my fellow

# MSDN Blog Postings » Terminal Services + Silverlight = Very Cool!

PingBack from http://msdnrss.thecoderblogs.com/2008/01/03/terminal-services-silverlight-very-cool/

# TS Web Access with Silverlight BETA

Thursday, January 03, 2008 5:34 PM by Microsoft Product's

I am very excited to announce to you about the new release of TS Web Access with Silverlight BETA! Many

# TS Web Access with Silverlight BETA

Thursday, January 03, 2008 9:22 PM by Narenda Wicaksono

This is the collaboration of Windows Server 2008, Visual Studio 2008, Silverlight, ASP.NET 3.5, .NET

# re: TS Web Access with Silverlight BETA

Thursday, January 03, 2008 9:38 PM by Fajar

digg it !!  :D

# 2008 TS Web Access with Silverlight

Friday, January 04, 2008 5:41 AM by shawnbass.com - Server Based Computing blog

One of the Microsoft folks in Indonesia put a new spin on the otherwise boring TS Web Access in Server 2008 by putting a Siverlight front end to it. While it may not be practical for business pe ...

# TS Web Access with Silverlight

Wednesday, January 09, 2008 12:33 AM by Get-Help | Get-Geek

Para todos los que están buscando modificar el portal del Terminal Services Web Access, Narenda Wicaksono

# Host Silverlight on Unix Apache « Pembukaan

Sunday, January 13, 2008 1:19 PM by Host Silverlight on Unix Apache « Pembukaan

PingBack from http://fajarf.wordpress.com/2008/01/13/host-silverlight-on-unix-apache/

# Windows Presentation Foundation (WPF / .NET 3.0) « MessageBox.Show(azmi.ToString())

PingBack from http://rizaazmi.wordpress.com/2008/01/16/windows-presentation-foundation-wpf-net-30/

# Silverlight di Apache, Hello Wordl! | MessageBox.Show(Azmi.ToString())

PingBack from http://blog.rizaazmi.net/2008/02/15/silverlight-di-apache-hello-wordl/

# TS Web Access Extensibility in Windows Server

Saturday, February 16, 2008 10:08 PM by Video

Do you want to see the flexibility that can be offer by Windows Server 2008 Terminal Services , Terminal

# TS Web Access Extensibility

Saturday, February 16, 2008 10:11 PM by narenda

Do you want to see the flexibility that can be offer by Windows Server 2008 Terminal Services , TS RemoteApp

# TS Web Access Host from Apache

Monday, February 18, 2008 1:37 PM by narenda

This is very interesting, on my previous blog I already showed to you about the Extensibility that can

# www.laurentfalguiere.fr | TS 2008: TS WebAccess

Thursday, February 21, 2008 7:04 AM by www.laurentfalguiere.fr | TS 2008: TS WebAccess

Pingback from  www.laurentfalguiere.fr |   TS 2008: TS WebAccess

# re: TS Web Access with Silverlight BETA

Friday, February 22, 2008 10:35 AM by Josh

Is there anyway to capture the TSGateway and TS credentials in silverlight and auth before you launch the rdc client? I've looked into the various TS SDK's and was neither able to decipher a way or even find one. I'm thinking it would be nice to cache the credentials in the sliverlight client so that I could give the appearance to single sign-on  to the rest of the apps. I know that the TS gateway auth is done in aaclient.dll, but couldn't find any headers for that functionality. Help!

# TS Web Access with Silverlight

Saturday, March 01, 2008 9:04 AM by GustavoG

Para todos los que están buscando modificar el portal del Terminal Services Web Access, Narenda Wicaksono

# Can You Beat This?

Friday, March 14, 2008 5:57 PM by Narenda Wicaksono

Folks, This is just for fun, but anyway can your blog post beat this numbers? My blog post at developer

# My Article at PC Media and Kompas

Monday, March 17, 2008 9:17 PM by narenda

If you read this month PC Media magazine, you’ll be able to saw my article about Windows Server 2008

# re: TS Web Access with Silverlight BETA

Monday, March 31, 2008 7:56 AM by Chee Lam

Hi I followed the instruction but it threw me an:

ErrorCode: 1001

ErrorType: DownloadError

Message: AG_E_UNKNOWN_ERROR

any ideas?

# re: TS Web Access with Silverlight BETA

Monday, March 31, 2008 6:09 PM by Narenda Wicaksono

You should open http://localhost/ts before open the http://localhost/tsx

If still not open, the problem is because the silverlight TS will find the link to the localhost/ts/images and will find the icon there. You should provide the icon of the application that not appear. It usually happen for non Microsoft App

Narenda Wicaksono

# re: TS Web Access with Silverlight BETA

Saturday, April 05, 2008 2:17 AM by lamlamz

Narenda,

I saw your robotic stuff that's so cool. Keep up the great work.

Btw, thanks for replying.

what application pool should I assosciate with the TSX folder?

I followed your instruction but still no use. I got when assessing TSX:

1x error

Silverlight error message

ErrorCode: 3002

ErrorType: ImageError

Message: AG_E_NOT_FOUND

and...

17x errors pops on the screen

ErrorCode: 1001

ErrorType: DownloadError

Message: AG_E_UNKNOWN_ERROR

then

1x error

stack Overflow on line: 0

For troubleshooting:

- I have tried to reload TS everytime I add the Apps.

- switched / changed ApplicationPool

- uninstall and reinstall your msi

- uninstall and reinstall silverlight

- copied the images from TS to TSX

still doesn't work...

I am using Windows 2008 Std.

any ideas?

thanks in advance!

Chee

# http://wss-id.org/blogs/narenda/archive/2008/01/03/ts-web-access-with-silverlight-beta.aspx

Pingback from  wss-id.org/.../ts-web-access-with-silverlight-beta.aspx

# re: TS Web Access with Silverlight BETA

Saturday, May 24, 2008 2:26 AM by Michael Venford

Hi, Narenda

Thanks a lot for your help and time, great job.  Need your help with this:

I've tried the UID/password provided above to test out:

silverlight.rizaazmi.net/narend

but these credentials are invalid.  Please, check them out and post a new ID/password.

Thanks a lot,

Mike Venford.

# Let Me Know What U Think About Me

Sunday, May 25, 2008 10:10 PM by Narenda Wicaksono

Rekans, Mei 2008 akan menjadi bulan yang sangat menentukan dalam catatan hidup. Saat matahari tenggelam

# silverlight msi download

Friday, June 13, 2008 1:34 AM by silverlight msi download

Pingback from  silverlight msi download

# re: TS Web Access with Silverlight BETA

Wednesday, July 16, 2008 10:55 AM by lamlamz

hi Naren I got "stack overflow at line: 0" error. any idea?

# Terminal Services - Web Access

Saturday, July 26, 2008 11:29 PM by Terminal Services - Web Access

Pingback from  Terminal Services - Web Access

# re: TS Web Access with Silverlight BETA

Friday, November 21, 2008 1:17 AM by fpoblanon

I laso get a Silverlight error message

ErrorCode: 4001

ErrorType:ImageError

# re: TS Web Access with Silverlight BETA

Tuesday, December 09, 2008 7:13 PM by editeur

Hi Narenda,

I make a similar application with web access.

How can you launch application on client Workstation by a click on an icon ?

Thanks for your answer.

Olivier-alain martin

# re: TS Web Access with Silverlight BETA

Tuesday, December 09, 2008 8:19 PM by Narenda Wicaksono

Hi Olivier,

What u have to do is calling the mstsc over activeX from the web browser, through MsRdpClientShell. More information can be found in here

msdn.microsoft.com/.../aa380835(VS.85).aspx

Good Luck!

# re: TS Web Access with Silverlight BETA

Friday, December 19, 2008 11:12 AM by mcope

I tried this and I get no applications on the TSX page

I get the background and the picture at teh bootom but no apps

this is awesome if I can get this to work

# re: TS Web Access with Silverlight BETA

Tuesday, June 02, 2009 12:14 AM by 2nikon

Same here, new server, get a background page, but no apps.  And I've confirmed that app icons are there and available in the proper location

# re: TS Web Access with Silverlight BETA

Tuesday, June 02, 2009 10:05 AM by Narenda Wicaksono

It's already unavailable right now.

# re: TS Web Access with Silverlight BETA

Thursday, August 20, 2009 1:05 PM by jdoe87

I have the TS Web Access on a separate server from the TS RemoteApp.  I can't seem to have TSX populate the apps even after following your instructions.  Can you provide better instructions to do this?

# re: TS Web Access with Silverlight BETA

Friday, August 28, 2009 12:54 AM by Anthony Johnson

I also get ErrorCode: 1001

ErrorType: DownloadError

Then

Stack overflow at line:0

# re: TS Web Access with Silverlight BETA

Friday, February 19, 2010 3:27 PM by laxroth

Could anoyone help me please?

I’ve installed and configured the IIS to show the site. In the description you state this:

4. Add your remote program on your TS Machine (I suggest add around 8-12 remote programs to have good UI, I will fix it on next release)

But, how can i do this? I’m absolutely novice to Silverlight, can you give me a hint?

Powered by Community Server (Commercial Edition), by Telligent Systems