1.8 Other .NET-related technologies


1.8 Other .NET- related technologies

It is only fair to mention other important .NET technologies, such as ASP .NET, and web services. However, beyond the brief introduction here, these topics are out of the scope of this book.

1.8.1 ASP .NET

You must have heard of Active Server Pages. [34] ASP is a popular HTML template scripting technology for generating dynamic web pages. Java's equivalent of ASP is Sun's JSP technology.

[34] ASP was one of Microsoft's earliest answers to boring static HTML pages, and the first credible web technology to replace CGI. The last version of ASP before ASP .NET is 3.0.

ASP .NET [35] has been improved significantly over the previous version which supported only scripting languages. In ASP .NET, you can write ASP forms in a .NET language of your choice. As well as a more robust and cleaner architecture, ASP .NET is supposed to perform better and be more maintainable . I am expecting many new web applications to be written in ASP .NET because it really is a great improvement over ASP 3.0.

[35] ASP .NET was formerly called 'ASP+'. You can still find references to 'ASP+' in older literature.

1.8.2 XML web services

.NET supports the creation of web services using VS .NET. [36] You can expose methods in your classes as web services easily, post them to a UDDI server, and consume web services offered by compatible servers. Most of the mundane tasks (creation of WSDL files, creation of SOAP packets, etc.) are automated by VS .NET and the developer is left to concentrate on the business logic codes.

[36] The exposure of EJB or Servlet methods by Java servers has yet to be standardized, and although different Java tools (such as Forte for Java, Enterprise Edition, JBuilder 7 and BEA Weblogic Workshop) can be used to provide web services, they do so in their own proprietary manner. The forthcoming J2EE 1.4 specification will cover web services.

1.8.3 .NET enterprise servers

You might have heard of them “ SQL Server 2000, Commerce Server 2000, Exchange Server 2000, BizTalk Server 2000, Host Integration Server 2000, and others. These server tools from Microsoft are often mentioned together when .NET is being discussed. Each .NET enterprise server is a member of Microsoft's enterprise server family, and each has a specific part to play on the .NET football field.

Be aware that these so-called .NET enterprise servers do not yet run on .NET technology (notice that most of them have been released in year 2000, while .NET was only finalized and released in 2002). I suppose they have been called .NET enterprise servers because they are still relevant today, and someone from marketing had a final say. For example, Commerce Server 2000 (which works together with Microsoft IIS to host a customizable commercial-quality e-commerce website) runs on ASP 3.0 rather than ASP .NET. [37]

[37] At the time of writing, the only .NET enterprise server which really integrates with .NET technology is Commerce Server 2002. This is the successor to Commerce Server 2000 and was released in April 2002 and has 'native support' for the .NET platform. The suite works with the .NET framework and you can create Commerce Server applications from within VS .NET. Following Commerce Server 2002, I believe the other .NET enterprise servers will be 'converted' one at at time, to work with the .NET framework in future releases.

So much for confusing names .

1.8.4 Windows .NET Server [38]

[38] Check out the official website at www.microsoft.com/windows.netserver

The Windows .NET server [39] will be the successor of the Windows 2000 server family. Built on the foundation of Windows 2000, Windows .NET server comes in four editions:

[39] The Windows .NET Server is currently in beta 3 at the time of writing. Hence, the information presented here is volatile.

  • Windows .NET Web Server “ a lightweight dedicated server for hosting web applications and XML web services written in ASP .NET.

  • Windows .NET Standard Server “ a business-level server which supports the 'norms' of server operations such as file and printer sharing, etc.

  • Windows .NET Enterprise Server “ with features such as 4-node clustering and support for eight CPUs.

  • Windows .NET Datacenter Server “ for mission-critical applications.

Naturally, this new operating system integrates with other Microsoft technologies including .NET Passport, Microsoft Active Directory, and COM+ component architecture with XML web services through the .NET framework. It also provides native support for SOAP-based XML message parsing in MSMQ.

1.8.5 .NET My Services [40]

[40] Check out the official website at www.microsoft.com/ myservices . At the time of writing, .NET Alerts 1.0 is already live. Other web services in the family are scheduled to be released late 2002. From the .NET Alert website, public users can sign in (via their .NET passport account) and opt to receive notifications from a list of third party providers. Notifications can be in the form of a pop-up window (if you are online and running Microsoft Messager), or an SMS message on your cell phone.

Formerly codenamed HailStorm, .NET My Services is a set of user-oriented XML web services provided and administered by Microsoft. A user of My Services is authenticated via .NET Passport, which also stores your personal information. Through My Services the user can share information with any trusted third party, which may also provide its own web services. Relevant information stored at a central repository can be passed around and utilized without requiring the user to re-enter such information.

The initial set of .NET My Services includes:

  • .NET Profile (your personal particulars);

  • .NET Contacts (address book);

  • .NET Alerts (alert message subscription);

  • .NET Calendar (personal time management);

  • .NET Wallet (stores receipts, payment information, and transaction records);

  • .NET Inbox (stores e-mail, voice mail).

Third party developers can create SOAP-aware applications and portable devices that consume .NET My Services. These applications can also expose their own functionalities as web services which are compatible with .NET My Services.

1.8.6 .NET Passport [41]

[41] Check out the official websites at www.microsoft.com/myservices/passport, and www.passport.com

.NET Passport is Microsoft's solution for an internet-based single sign-in (SSI). [42] Launched in 1999, it is a suite of web-based services that involves keeping a user's identity and encrypted credit card information at a central server. The merchant signs up with Microsoft and links its site to Passport (for a fee). When users wish to make an online purchase, they identify themselves by logging in using this Passport account. They do not need to key in personal particulars (shipping address, credit card information etc) all over again when they need to make a purchase because that information is already linked to their Passport account.

[42] In late 2001, Sun Microsystems, together with other vendors , formed an initiative which is similar to .NET Passport. Named the Liberty Alliance, this group aims to provide similar SSI services for users of the internet. The Liberty Alliance group has been 'attacking' Passport for recent security breaches (there had been a few incidences in 2001) and the monopolistic nature of Passport (largely controlled by Microsoft alone).

1.8.7 .NET Compact Framework

Java has J2ME for constrained devices; .NET has the Compact Framework. While the .NET Framework is suitable for desktop PCs, the .NET CF is a subset of the .NET framework meant for smaller 'smart' devices (personal digital assistants (PDA) running the Pocket PC operating system, TV set-top boxes, intelligent cell phones, etc).

A Smart Device Extension (SDE) for VS .NET is an IDE extension for writing, debugging, and deploying applications for .NET CF. The SDE includes the .NET CF, additional device-specific functionality for Visual C# .NET and VB .NET, remote device debugging capabilities, and device emulators.

1.8.8 Visual Studio .NET

Efficient software development must be accompanied by an efficient development tool. For writing .NET codes, nothing comes close to VS .NET (naturally). Unlike Java's ' open market' for Java IDEs , VS .NET seems to be the only choice for writing .NET applications.

Learning how to write, compile, and run a C# program in VS .NET takes only 15 minutes. But there are several other useful tools and wizards provided in this IDE that will take a couple of days to be totally familiar with. VS .NET is beyond the scope of this book “ the code examples can be all compiled using the command line .NET SDK.

VS .NET comes in four editions:

  • Enterprise Architect

  • Enterprise Developer

  • Professional

  • Academic.

VS .NET installs on Windows NT 4.0 Workstation/Server, 2000 Professional/Server, and Windows XP Professional only. A 60-day trial of VS .NET Professional is also available from Microsoft. [43]

[43] Order it online from http://msdn.microsoft.com/vstudio/productinfo/trial.asp



From Java to C#. A Developers Guide
From Java to C#: A Developers Guide
ISBN: 0321136225
EAN: 2147483647
Year: 2003
Pages: 221
Authors: Heng Ngee Mok

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net