asp tutorials, asp.net tutorials, sample code, and Microsoft news from 15Seconds
Data Access  |   Troubleshooting  |   Security  |   Performance  |   ADSI  |   Upload  |   Email  |   Control Building  |   Component Building  |   Forms  |   XML  |   Web Services  |   ASP.NET  |   .NET Features  |   .NET 2.0  |   App Development  |   App Architecture  |   IIS  |   Wireless
 
Pioneering Active Server
 Power Search





Active News
15 Seconds Weekly Newsletter
• Complete Coverage
• Site Updates
• Upcoming Features

More Free Newsletters
Reference
News
Articles
Archive
Writers
Code Samples
Components
Tools
FAQ
Feedback
Books
Links
DL Archives
Community
Messageboard
List Servers
Mailing List
WebHosts
Consultants
Tech Jobs
15 Seconds
Home
Site Map
Press
Legal
Privacy Policy
internet.commerce














internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

HardwareCentral
Compare products, prices, and stores at Hardware Central!

A Quick Look at Xamlon Web
By John Peterson
Rating: 3.9 out of 5
Rate this article


  • email this article to a colleague
  • suggest an article



    Have you ever wanted to deploy a WinForms application to the web or wished you could build fancy Flash-based user interfaces easily? If so, then Xamlon Web might just be the product for you. Xamlon Web allows you to create WinForms applications in C# or VB.NET and deploy them anywhere on the web using Macromedia Flash without any previous Flash experience.

    In this article I'll give you a quick introduction to Xamlon Web and show you some of the cool things you can do with it without any knowledge of Flash whatsoever.

    The Press Release

    Instead of me trying to explain exactly what Xamlon Web is I'll leave it to the creators of the product. Here's the press release announcing the availability of the Beta version of Xamlon Web:

    Xamlon, Inc. Introduces New Web Deployment Option for .NET Developers
    Press Release

    Xamlon Web enables developers to use C# or Visual Basic.NET in Visual Studio to build WinForms applications and deploy them directly to the Web without requiring the .NET runtime.

    Sept. 14, 2005 – Los Angeles and La Jolla, Calif. – Xamlon, Inc., a premier software company specializing in rich Internet applications for the Web, today introduced the beta of Xamlon Web. A first-of-its-kind engine, Xamlon Web allows the millions of Visual Studio developers to use languages they already know, C# and Visual Basic.NET (VB.NET), to create rich, zero-footprint applications that deploy directly to any browser on any operating system. The product includes complete integration with Visual Studio.NET 2003 (soon to include Visual Studio .NET 2005 support) and enables developers to use the existing APIs they are already familiar with, including WinForms, GDI+ and XML Web Services.

    "Xamlon Web allows developers to be immediately productive in new deployment scenarios with virtually no learning curve," said Paul Colton, CEO and founder of Xamlon, Inc. "Now developers can use the programming languages they already know to create seamless business applications that deploy via the Web on practically any device or computer in the world."

    Xamlon facilitates this deployment ubiquity by leveraging the Macromedia Flash platform, which is available on over 98 percent of Internet-connected computers in North America and Europe according to NPD Online. Programs are written in Visual Studio, and then, from Microsoft's Intermediate Language bytecode, Xamlon creates compact Macromedia Flash (SWF) files. The resulting applications can be deployed anywhere Flash is installed, including Windows, Mac, Linux and a growing number of PDAs and cell phones. After Flash support is finalized, Xamlon Web will also be supporting DHTML and AJAX as a deployment target.

    A key benefit of Xamlon Web is that it requires no new plug-ins. The .NET runtime is not required for deployment and the resulting application may be deployed to platforms where .NET is not even supported. Additionally, Xamlon Web allows for a smooth workflow, since developers can debug as Windows Forms applications on the desktop and deploy to the Web without making any changes to code.

    The beta release of Xamlon Web is available for download at the company's Web site at www.xamlon.com. The final 1.0 version will be priced at $499 per developer and is slated for release in Q4 of 2005.

    Well that sounds great, but what does it mean? Well... let's see.

    Sample Applications and Getting Started Guide

    To give you an idea of what you can do and to help you get started Xamlon includes a number of sample applications and a getting started guide that walks you through building a few applications. Some of the samples are really impressive and while I'm not going to host them here, below are screen captures and some interesting points about a few of them.

    The first sample is something Xamlon calls the Carculator. It's just a simple calculator with the picture of a car added. Nothing extrodinary until you compare the two pictures below. The first show the application running in debug mode as a standard WinForms application. The second is the exact same application running in a browser using Flash. All I did to switch from one to the other was change from "Debug" to "Release" mode in Visual Studio before building the application.


    Image 1: The Carculator sample application running in WinForms mode.


    Image 2: The Carculator sample application running in a Web browser using Flash.

    No it's not a joke... that's the same application running as a WebForms application and as a Flash .swf file. Notice the slightly different button style and the Flash menu that appears when you right-click on the application.

    The next sample application is a image viewer. It displays thumbnails of the images and then when you click on one it zooms in to show the image full size. Again nothing all that amazing, but the zooming happens live. There's no reload of the html page involved. Adding this type of polish to a web application really gives it a professional feel.


    Image 3: The Image Viewer sample application.


    Image 4: The Image Viewer sample application zoomed in on an image.

    The tension sample application illustrates some basic physics and mouse handling.


    Image 5: The Tension application.

    And it's not just for pretty interfaces either... the StockWatch application is an enterprise-type application that shows how to dynamically load data from an ASP.NET web service and display it to the screen.


    Image 6: The StockWatch sample application.

    Building Your First Sample Application

    As mentioned in the press release, Xamlon Web works in conjunction with Visual Studio.NET. After you run the Xamlon Web setup program you'll have some new options when you open Visual Studio.NET's "New Project" dialog box and you'll find a new tab named "Xamlon Web" in the toolbox.


    Image 7: The new "Xamlon Web Application" option in the "New Project" dialog box.


    Image 8: The new "Xamlon Web" tab in Visual Studio's toolbox.

    For illustration, I'm going to build a very simple application that simply consists of a single form with a button on it. When clicked the button will display a MessageBox that says "Hello World!"

    I started by selecting "Xamlon Web Application" and opening the form that was generated for me. I then dragged a button from the "Xamlon Web" tab in the toolbox and changed the button's text to "Click Here To Say Hello". I then accessed the code for the button's click event handler by double clicking the button. Then I added the command to show the MessageBox:

    Private Sub btnSayHello_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnSayHello.Click
        MessageBox.Show("Hello World!")
    End Sub

    When started in "Debug" mode the application runs as a WinForms application. The form with the button pops up when the application is started. Clicking on the button brings up the MessageBox window.


    Image 9: The "Debug" version of my Hello World sample - before clicking


    Image 10: The "Debug" version of my Hello World sample - the MessageBox window

    When you change to "Release" mode Xamlon starts it's own web server which serves the Flash version of the application to your browser


    Image 11: The "Release" version of my Hello World sample - before clicking


    Image 12: The "Release" version of my Hello World sample - after clicking

    More Information

    If you'd like to get more information about Xamlon Web you can visit Xamlon's web site at http://www.xamlon.com/. From there you can read more about the product, view the samples and download the trial version.

  • Rate This Article
    Not HelpfulMost Helpful
    1 2 3 4 5
    Other Articles
    Jul 28, 2005 - N-Tier Web Applications using ASP.NET 2.0 and SQL Server 2005 - Part 2
    In the second part of his series on building N-tier web applications using ASP.NET 2.0 and SQL Server 2005, Thiru Thangarathinam covers the business logic and user interface layers. In the process, he also examines some new features in ASP.NET 2.0 that greatly simplify the development process.
    [Read This Article]  [Top]
    Jul 14, 2005 - An Innovative Technique for Creating Reusuable Page Templates in ASP.NET 1.x
    Code reusuability is one of the major goals of any good object-oriented programmer. While the ASP.NET framework has made code reusuability easier and more elegant than it was in classic ASP, one area where reusuability could be improved is at the UI level. This article outlines a technique that you can use in ASP.NET 1.x that allows every page in your web application to inherit not only the functionality of a base page, but its UI as well.
    [Read This Article]  [Top]
    Jun 23, 2005 - Monitoring SharePoint Usage through an ASP.NET Web Application
    In this article, Gayan Peiris looks at creating an ASP.NET web application that will display the usage details of a selected SharePoint site. Building such an application enables SharePoint administrators to gather all SharePoint usage data from a central location.
    [Read This Article]  [Top]
    May 12, 2005 - Retrieving SharePoint Site Information in an ASP.NET Web Application
    In this article, Gayan Peiris examines using the SharePoint Object Model to access SharePoint site information from an ASP.NET web application. It should be of particular interest to SharePoint administrators who can use the included code as a starting point for development of their own web-based SharePoint administration application.
    [Read This Article]  [Top]
    Dec 23, 2004 - Automated Deployment for Side By Side .NET Web Apps for Visual Studio .NET 2003
    In this article, David Every outlines a step-by-step account of how he solved the problems he encountered while implementing an auto-deployment process. He also describes how to create a stable process for automated remote .NET deployment featuring "side-by-side" capability.
    [Read This Article]  [Top]
    Sep 29, 2004 - Developing Web Parts with ICellConsumer Interface
    Most default SharePoint Server Web Parts can be connected across organizations. The third article in this series shows how to develop connectable Web Parts that consume information provided by other Web Parts.
    [Read This Article]  [Top]
    Aug 10, 2004 - Implementing and Promoting Daily Builds
    Automatic daily builds is a well known software engineering best practice. This article introduces a strategy for implementing and promoting daily builds and offers tips and tricks for preventing and fixing breaks.
    [Read This Article]  [Top]
    Jun 21, 2004 - Using Open Source .NET Tools for Sophisticated Builds
    Building an application can be more than pressing F5. With an increasing number of quality packages being released, developers for the .NET platform now have options to create a very sophisticated build process. Aaron Junod describes a sample build environment and shows how a number of tools can work together to make reliable, predictable, and value-added builds.
    [Read This Article]  [Top]
    Jun 24, 2003 - Programming for the Palm Part 1 - Creating the Palm Application
    The first part of this three part series walks through the process of creating a mobile blog application using a BASIC development environment for Palm OS devices called NS Basic. Subsequent articles will focus on synchronizing the data to the desktop using C# and creating an installer.
    [Read This Article]  [Top]
    Jun 18, 2003 - Online Database Functions Testing Tool
    This short article provides source code for a classic ASP online database functions testing application and shows how to configure and use the tool for either SQL Server or Oracle.
    [Read This Article]  [Top]
    Mailing List
    Want to receive email when the next article is published? Just Click Here to sign up.

    Support the Active Server Industry