.NET
  Home arrow .NET arrow Page 5 - Longhorn, Another New Possibility
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Mobile Linux 
App Generation ROI 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
.NET

Longhorn, Another New Possibility
By: Michael Youssef
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 32
    2004-09-07

    Table of Contents:
  • Longhorn, Another New Possibility
  • Another Way for Developing Applications with Longhorn
  • Will C# and .NET Die After Longhorn?
  • Longhorn Application Architecture
  • XAML

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Longhorn, Another New Possibility - XAML


    (Page 5 of 5 )

    Microsoft said that the Application class will be used when your applications are not complex and neither needs the navigation system nor State Management. If your applications are complex, you can inherent from the Application class and add support for them. You can think of Longhorn applications as a collection of markup pages including Managed Code. The markup language that will be used with Longhorn is a new language called XAML -- Extensible Application Markup Language --.  You’ll then write Managed Code in either C#, VB.NET, etc. 

    Using XAML you can control the layout of the pages including text layout, controls layout, as well as new features that will make developing applications more fun and much easier. We currently use HTML to layout static Web pages; however, XAML will be used to layout applications in Longhorn. So you can use XAML to write a simple Longhorn application that can be hosted by a window or a browser.  Even better is that you have the choice of using Managed Code to write Longhorn applications or using XAML with Managed Code to write Longhorn applications. You will find that some functionality you perform can be done using XAML or can be developed using Managed Code. In the end it will be your decision on which to use. 

    The trick that Microsoft designed in Longhorn is that you will not need to modify (or create a separate project) your Windows application to make Web applications. You’ll simply change one property that has values for Windows applications or Web applications. I hope that you understand the power of this ultimate victory feature for Microsoft and its customers.

    The Application Object

    As I said before, the Application object is the root of Longhorn applications and it provides the basic functionality for your applications. The Application object is a key element in the Longhorn application structure. Longhorn applications are typically a collection of XAML pages which contain Managed Code, where the application’s root object is derived from the Application object. In fact, you need the Managed Code with XAML pages in order to create complex applications. The combination of .NET with the simplicity of XAML is what will give you faster performance and more security over your applications.

    You derive your application's root object from the Application class because the Application class is the Longhorn monitor over your application. What I mean is that the Application object gives you all the features you need to develop the best applications ever. It's responsible for the security of your application, memory management and for managing resources of your application, as well as being responsible for the user-navigation mechanism according to the application design.

    In Longhorn applications users will navigate from one page to another; however, the navigation mechanism will appear as replacing the current page with the next one. Do not worry, as you’ll still have the ability to open new pages (ex: pop-up windows).  These pages will be created using XAML with, or without, Managed Code.

    As much as Microsoft solved the problem of classic ASP’s inline-code with ASP.NET’s code-behind classes, Microsoft designed Longhorn pages using XAML to use inline or code-behind Managed Code classes.  So you can write your XAML page and your Managed Code will be in a code-behind class.

    This was just a very simple introduction to Longhorn. I promise you that in my next article I will begin with an introduction to XAML, as well as demonstrating how to write XAML pages!


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · Maybe a mention of www.xamlon.com would be useful here?
       · who can't program on their own. If you need as much of a crutchas .NET wants to...
       · My word, that's a very arrogant attitude. You assume that .NET developers lack the...
       · The article on Longhorn is very informative. Since Longhorn will use a new XAML...
     

    .NET ARTICLES

    - Using CrystalReportViewer to Display Crystal...
    - Creating Summary .Net Crystal Reports
    - More on Commands, Input and the WPF
    - Grouping and Aggregating When Querying LINQ ...
    - Commands, Input and the WPF
    - Keyboard and Ink Input with WPF
    - Mouse Input and the WPF
    - Input with Windows Presentation Foundation
    - Introducing LINQ with XML and Databases
    - An Introduction to LINQ
    - Querying LINQ to SQL: Basics
    - Completing a Simple Storefront with LINQ
    - Knowing Your Environment: the System.Environ...
    - Creating the Home Page for a Simple Storefro...
    - LINQ Quickly with Language Integrated Queries

     
    Best Practices for Windows Vista Migration Presentation
    Dell and Microsoft recently held a series of face-to-face seminars entitled, &qu....

     
    Creating a Culture for Code Reuse
    If you oversee development teams you know that like it or not proprietary and ex....

     
    Keys to Web Application Acceleration: Advances in Delivery Systems
    Accelerate Web apps by up to 5x. Ensure significantly faster access to the Web a....

     
    Optimizing Application Monitoring
    Tired of finding out from your customers that you're offline? This white paper e....

     
    Solaris to Solaris Migration -- Migrating applications from Sun SPARC to Dell PowerEdge R900
    This comprehensive Migration Guide reviews the approach that Principled Technolo....

     




    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
    Stay green...Green IT