Narenda Wicaksono

IT Pro Advisor's Blog
Live in Jakarta

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: | | | |

Comments

 

Is This Thing On? said:

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

January 3, 2008 9:48 AM
 

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

January 3, 2008 12:34 PM
 

Microsoft Product's said:

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

January 3, 2008 5:34 PM
 

Narenda Wicaksono said:

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

January 3, 2008 9:22 PM
 

Fajar said:

digg it !!  :D

January 3, 2008 9:38 PM
 

shawnbass.com - Server Based Computing blog said:

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 ...

January 4, 2008 5:41 AM
 

Get-Help | Get-Geek said:

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

January 9, 2008 12:33 AM
 

Host Silverlight on Unix Apache « Pembukaan said:

January 13, 2008 1:19 PM
 

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

January 16, 2008 11:28 AM
 

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

February 15, 2008 10:57 AM
 

Video said:

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

February 16, 2008 10:08 PM
 

narenda said:

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

February 16, 2008 10:11 PM
 

narenda said:

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

February 18, 2008 1:37 PM
 

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

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

February 21, 2008 7:04 AM
 

Josh said:

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!

February 22, 2008 10:35 AM
 

GustavoG said:

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

March 1, 2008 9:04 AM
 

Narenda Wicaksono said:

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

March 14, 2008 5:57 PM
 

narenda said:

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

March 17, 2008 9:17 PM
 

Chee Lam said:

Hi I followed the instruction but it threw me an:

ErrorCode: 1001

ErrorType: DownloadError

Message: AG_E_UNKNOWN_ERROR

any ideas?

March 31, 2008 7:56 AM
 

Narenda Wicaksono said:

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

March 31, 2008 6:09 PM
 

lamlamz said:

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

April 5, 2008 2:17 AM
 

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

April 9, 2008 10:55 PM
 

Michael Venford said:

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.

May 24, 2008 2:26 AM
 

Narenda Wicaksono said:

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

May 25, 2008 10:10 PM
 

silverlight msi download said:

Pingback from  silverlight msi download

June 13, 2008 1:34 AM
 

lamlamz said:

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

July 16, 2008 10:55 AM
 

Terminal Services - Web Access said:

Pingback from  Terminal Services - Web Access

July 26, 2008 11:29 PM
 

fpoblanon said:

I laso get a Silverlight error message

ErrorCode: 4001

ErrorType:ImageError

November 21, 2008 1:17 AM
 

editeur said:

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

December 9, 2008 7:13 PM
 

Narenda Wicaksono said:

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!

December 9, 2008 8:19 PM
 

mcope said:

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

December 19, 2008 11:12 AM
 

2nikon said:

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

June 2, 2009 12:14 AM
 

Narenda Wicaksono said:

It's already unavailable right now.

June 2, 2009 10:05 AM