Effects of Current and Emerging Architecture Technologies
While the focus of this book will be on performance testing applications built with the Microsoft
.NET Framework
, the methodology presented also offers a backward compatible approach for
Windows
Distributed interNet applications Architecture (DNA). Given that .NET will still be relatively early in the market adoption cycle by the time this book goes to print, many Microsoft customers will still be running traditional ASP-based Web applications. Therefore, we present the performance analysis methodology that can be effectively utilized by Microsoft customers running both .NET Web services as well as Windows DNA Web applications. Where appropriate, we have included specific how to methodology for Windows DNA applications. The methodology laid out in this book focuses on identifying performance metrics that are business critical, such as response times, throughput, and scalability. As
Real World Example ”Site Performance Goals
When performance planning is completed, our methodology focus shifts to
What Is .NET?
As the purpose of this book is to explain how to performance test a .NET application, and many of the application samples used throughout this book were built using the .NET Framework, it is necessary to first understand what .NET is. In fact, experience has shown us that effective performance testing is difficult, if not
The .NET Platform
What is .NET? Or alternatively, what are the services that make up the .NET platform? The .NET platform is a set of developmental tools and operational systems used to build, expose, and
The .NET Framework is an environment for building, deploying, and running XML Web services and other applications. The .NET Framework has two
Visual Studio .NET provides a complete development environment for building on the Microsoft .NET platform.
The Mobile Internet Toolkit is a set of programming interfaces that enable developers to target mobile devices like smart phones, PDAs, and server infrastructure.
The .NET Enterprise Servers include Application Center 2000 , BizTalk Server 2000 , Commerce Server 2000 , Exchange Server 2000 , Internet Security and Acceleration Server , Host Integration Server 2000, Mobile Information 2001 Server, and SQL Server 2000 .
.NET services is the set of
Figure 1-1 illustrates how the core components of the .NET platform fit together to provide
Figure 1-1. Core components of the .NET platform
Real World Example ”.Net Cross Company Calendaring Service
Let s say you are flying home and need to schedule a meeting with vendors the
Standard .NET Protocols
The fact that .NET is built on open Internet-based standards makes the .NET Framework extensible and enables it to easily communicate with other Web and non-Web-based solutions. The predominant standards that .NET employs to make Web services possible are:
Extensible Markup Language (XML)
Simple Object Access Protocol (SOAP)
Hypertext Transfer Protocol (HTTP)
XML, a text-based language much like the ubiquitous HTML, is a specification that allows for custom HTML-like tags that describe both the document (metadata) and the content (data). The .NET vision needs XML because of the inherent problems with HTML. There are conflicting standards with HTML, which cause different browsers to handle standard tags in different ways. This means that Web designers need to create different versions of the same HTML document for different browsers. To date, efforts to create international HTML standards have not materialized. In addition, HTML has an inadequate linking system. HTML links are hard coded into documents and must be searched and changed for each link that changes. XML allows you to associate links to any element and to link to multiple locations, effectively solving these HTML limitations.
Web Service Description Language (WSDL)
.NET also employs a
Universal Description, Discovery, and Integration (UDDI)
.NET also takes advantage of the new Universal Description, Discovery, and Integration (UDDI) specification that is aimed at creating Web service registries. These registries will enable companies to register information about their Web service solutions, as well as other data, so that those who wish to use them can easily find them. Internet Native Integration Methodology (INIM) allows for XML interaction between systems and an open set of standards. INIM works with any operating system, programming model, or network and can expose existing code as XML Web services, giving different systems the ability to communicate. UDDI specifications define a standard to publish and discover information about Web services.
What Is an XML Web Service?
Today s Internet services are mostly portals that offer services that cannot be used anywhere else. One inconvenient result of this service is that companies cannot easily share information. For example, even contact and other personal information has to be entered for each site. XML Web services are units of application logic providing data and services to other applications and users. An example of a Web service is the authentication functionality provided by Microsoft
.NET Passport service
. Applications access XML Web services via standard Web protocols and data formats (i.e. HTTP, XML, and SOAP) independent of how each XML Web service is implemented. XML Web services combine the benefits of component-based development and the Web, and are a cornerstone of the Microsoft .NET programming model. XML Web services transform read-only Web sites into computing sites that can both expose
Web Services are software solutions delivered via the Internet to
any
Web-enabled device. Today, this device is the Web browser on your computers, but the device-
Real World Example ”Microsoft .NET Passport
Some potential Web services that can be created with the .NET platform include yellow pages, a dictionary, or an encyclopedia. An example of a Web service is Microsoft .NET Passport. Passport is one of the ten largest Web sites in the world with more than 160 million active accounts, and it is increasing at a rate of more than 10 million accounts per month. Though .NET Passport receives more than 1.5 billion authentications each month, the Web site itself seldom receives
Devices Drive Demand for Web Services
Web-enabled devices are driving the need for services provided by the .NET platform. There is a
Real World Example ”Pre-Heat Your Jacuzzi
Imagine that you are returning home on a long flight, and you want the water in your Jacuzzi to be hot when you get home. With .NET Web services, this futuristic scenario could happen automatically, provided that your Jacuzzi has a
Web Services Will Increase Importance of Web Performance Testing
This paradigm shift in the way information is delivered to devices will require new ways to test and tune applications for performance. Just as traditional platforms cannot keep pace with this shift in technology, traditional functional testing methodologies cannot adequately define application performance and identify bottlenecks associated with these new .NET applications. A new way of approaching the traditional software development life cycle, which includes effective performance testing throughout, is required for the .NET world. Presenting these new requirements is the driving force behind this book.