Owner: microsoft dot net,JAVA,sofrtware testing URL:http://www.testingcorner.net Join Date: Wed, 12 Mar 2008 07:32:26 -0500 Rating:0 Site Description: microsoft dot net,JAVA,sofrtware testing,interview questions,faq's Site statistics:Click here
Data Binding with ASP.NET 2008-03-12 03:24:00 ASP.NET provides a rich set of controls that enable you to display information to users as well as accept information from users. You can display information in controls from a wide variety of data stores, such as properties, arrays, data structures, or databases.Some of the data stores are static, whereas others are dynamic. You usually use static data stores to display information for user reference. In addition to displaying static information in controls, there are situations that require you to display information dynamically. For example, you might need to display the discount based on the quantity purchased for a product. Also, you might need a control to display information from a database whose data keeps changing constantly. In such situations, ASP.NET provides a solution by prov Read more:Binding
Communicating with OLEDB Data Sources Using ADO.NET 2008-03-11 06:47:00 Every application that needs to retrieve data from a database needs to establish a connection to the database. In ADO, this was achieved using the Connection object. In ADO.NET, the classes to be used for establishing the connection depend on the data source being used. For instance, to connect to SQL Server databases, the classes in the System.Data.SqlClient namespace are used. To connect to OLE DB data sources, you need to use classes in the System.Data.OleDb namespace. It must be noted that both the SQL Server and OLE DB providers are managed providers. These providers act as a thin layer that connects the application to the database without adding any unnecessary overhead, such as converting from OLE DB -compatible data types to native SQL Server data types and vice versa when communic Read more:Communicating
ADO.NET Object Model 2008-03-10 11:47:00 The .NET Framework is designed to change dramatically the developer's current style of developing applications, including the data access features. For the .NET applications, the primary data access technology to be used would be ADO.NET — the latest addition to the ADO model.The ADO.NET Object
Model is primarily divided into two levels: Connected Layer: Consists of the classes that comprise the Managed Providers Disconnected Layer: Is rooted in the DataSetManaged ProvidersManaged Providers are a collection of classes in the .NET Framework that provide a foundation for the ADO.NET programming model. The .NET Framework allows you to write language-neutral components, which can be called from any language, such as C++ or Visual Basic. In the .NET Framework, the OLE DB and ADO layers are me
Introduction to ADO.NET 2008-03-09 06:06:00 As more and more companies are coming up with n-tier client/server and Web-based database solutions, Microsoft with its Universal Data Access (UDA) model, offers highperformance access to diverse data and information sources on multiple platforms. Also, UDA provides an easy-to-use programming interface that works with practically any cool or language, leveraging the technical skills developers already have.The Microsoft UDA model is a collection of Data Access Components, which are the key technologies that enable Universal Data Access. The Data Access Components include ActiveX Data Objects (ADO), Remote Data Service (RDS), formerly known as Advanced Data Connector (ADC), Object Linking and Embedding Database (OLE DB), and Open Database Connectivity (ODBC).Microsoft is targeting many more Read more:Introduction
ASP.NET Application Configuration 2008-03-14 11:18:00 After an application is designed and developed, it needs to be deployed on an application Web Server for launching it as a Web site on the Internet or an intranet. The deployment process includes installation and configuration of the Web application (Web site) on an application Web Server. Configuring a Web site requires implementation of settings according to the server's capabilities and requirements.Configuring a Web site might also require developers to write code. At a later stage, the site administrator might need to change the settings of the site or the server on which the site has been deployed so as to enhance the performance of the site. However, if the change in settings involves embedding values into code, it becomes very complicated and difficult for both thedeveloper and the Read more:Application
, Configuration
Data Binding and XML in ASP.NET part two 2008-03-14 10:44:00 Extensible Stylesheet Language Transformations (XSL/T) :XML
does not deal with the presentation of data contained within an XML document. It concentrates only on the structure and the data contained within the structure. This separation of the data and its presentation enables you to display the same data in various formats. However, because an XML document does not contain any formatting instructions for displaying data, you need some special tool that can convert an XML document into a user-viewable format.The XML Document Object Model (XML DOM) is an in-memory representation of an XML document. It represents data in the form of hierarchically organized object nodes, and enables you to programmatically access and manipulate the elements and attributes present in an XML document. W3C has Read more:Binding
Data Binding and XML in ASP.NET 2008-03-14 10:32:00 The World Wide Web and its rapid growth in the 1990s revolutionized the methods of accessing information and conducting commerce. Numerous companies use the Web as a powerful tool to advertise and sell their products. This has led to an increase in the number of Web applications and their requirements in terms of payment handling, data access, and security. As a result, various new technologies have evolved.One of the most important requirements of Web applications, especially B2B ecommerce applications, is the ability to interchange data in a standard format that can be understood by any hardware and software platform. Enterprises having similar business interests may need to share data, which may be stored on disparate platforms. This need for a common interface for exchanging data resul Read more:Binding
, XML
Using ADO Extensions 2008-03-14 10:28:00 Data is stored and maintained in different data sources. Some data source applications include MS-Access, SQL Server, Oracle, and Sybase. Each data source uses its own native syntax. Therefore, when you need to manage data stored in data sources from your applications, you would prefer to use standard objects and syntaxes irrespective of the data sources. It is inconvenient to use different objects, methods, and syntaxes to manage different data sources. ADOX provides a set of standard objects that you can use to manage data stored in different data sources.ActiveX Data Objects Extensions (ADOX) is an extension of the ADO objects and programming model that allows creation, modification, and manipulation of schema objects, such as databases, tables, and columns. ADOX also includes security
Stored procedures in SQL SERVER 2008-03-13 10:49:00 A stored procedure is a set of SQL
statements used to perform specific tasks. A stored procedure resides on the SQL server and can be executed by any user who has the appropriate permissions. Because the stored procedures reside on the SQL server, you do not need to transfer SQL statements to the server each time you want to perform a task on the server. This reduces the network traffic. When you want to execute a procedure, you only need to transfer the name of the procedure. However, if the procedure takes any parameters, you also need to transfer the parameters along with the procedure name.You can create a stored procedure by using the Create Procedure statement asfollows:Create Procedure ProcNameAsSQL statementsReturnIn this statement: ProcName: Represents the name of the stored proce
SQL Server with ASP.NET 2008-03-13 10:40:00 Visual Studio .NET provides Web Forms controls, such as the DataGrid control that you can use to access data from various data sources, such as a SQL
server or a Jet database. This chapter introduces you to the Structured Query Language (SQL), which is used to access data stored on a SQL server through Web Forms. You'll also learn how to use ADO Extensions to create and manage different schema objects, such as databases and tables.Server-side data access is critical to all real-world applications. Therefore, these applications must address server-side data access to implement business solutions. This section introduces you to the SQL server data access through Web Forms.Microsoft SQL Server
is a Relational Database Management System (RDBMS) that is used to store and organize related data
DataGrid control in ASP.NET 2008-03-13 10:18:00 The DataGrid Server control is a multicolumn, data-bound grid that enables you to define different types of columns. These columns not only provide layout to the grid contents, but also add functionalities to select, edit, sort, and page the data. Also, the DataGrid control provides functionality for full customization of the output through the use of specific columns called TemplateColumns.When you add a DataGrid control to a form, the control will be rendered only if it is bound to a data source. A data source can be created by using Visual Studio Data Designer or any database on a server. It can also be a simple structure, such as an array of type ArrayList. When you bind a DataGrid control to a data source, the columns are generated automatically based on the fields in the data source.
Business Objects development with ASP.NET 2008-03-16 21:59:00 Most modern applications are based on the client/server architecture, which divides an application into two logical parts, the client and the server. The functions performed by the client and the server can be divided into three categories: user services, business services, and data services. These services are implemented as logical layers in an application. The user service layer, also called the presentation layer, performs the task of providing an interactive user interface. The business service layer enforces the business rules that define the behavior of an organization.The business service layer performs such validations pertaining to the business rules of anorganization. The data service layer is responsible for managing and manipulating data. Based on the methods used for implemen Read more:Business
Building HTTP Handlers in asp dot net 2008-03-18 05:49:00 The World Wide Web (WWW) uses the Hypertext Transfer Protocol (HTTP) as the underlying protocol for communication. It is an application-level protocol that is responsible for establishing a connection between a client (browser) and a Web server and transmitting the information requested by the client. In fact, the day-to-day life of a Web server involves receiving requests from clients and responding to them by using HTTP.ASP.NET works by dispatching the client requests to user-defined HTTP handler objects called HTTP handlers. With ASP.NET, you can create these user-defined HTTP handlers by implementing a .NET interface named IHttpHandler. After you've created a user-defined handler, you can bind a specific URL request to the handler for handling specific requests. For example, you can b Read more:Building
Interfaces and Classes Used to Create HTTP Handlers in ASP.NET 2008-03-20 06:36:00 The .NET Framework provides classes that enable you to handle HTTP requests for the ASP.NET Web pages and services. You can handle HTTP requests by creating a class that implements the IHttpHandler interface contained in the System.Web namespace.The System.Web namespace contains classes and interfaces that enable you to handle the communication between browsers and Web servers. Before you can use a class that implements the IHttpHandler interface, you need to write the section in the Web.config configuration file to map the class that implements IHttpHandler to a URL request.Before you create an HTTP Handler, let us look at the IHttpHandler and IHttpHandlerFactory interfaces, and some of the classes contained in the System.Web namespace.IHttpHandler interfaceThe IHttpHandler interface mus Read more:Interfaces
, Classes
Wireless Applications with ASP.NET 2008-03-23 07:29:00 The Internet is constantly evolving, and has moved from the desktop to include the wireless world. As an extension of ASP.NET, Microsoft has released the Mobile Internet Toolkit (MIT). MIT is an intelligent solution to produce mobile applications that detect the browsing device and return the appropriately formatted content. Thus, MIT provides a single application that adapts to Web-enabled cell phones, pagers, and personal digital assistants (PDAs).Many people have become reliant on the information that is available on the Internet. However, whereas people traditionally have used their desktop computer to access the Internet, they increasingly are relying upon mobile devices to access the Internet. Although the technology exists to extend your desktop applications to a mobile environment, Read more:Wireless
, Applications
ASP.NET Security part two 2008-03-25 08:32:00 In addition to the IIS permission levels, NTFS permissions can also be used to secure the files and directories on a Web server. The following are the different access permissions that can be assigned to users and groups for the files and directories on the server: Full Control: Allows users to have complete control on files and/or directories. Modify: Allows users to modify the contents of files and/or directories. However, users will not be able to delete files and/or directories. Read & Execute: Allows users to read the contents of the existing files and/or directories and execute any application stored in that folder. However, users will not be able to modify the contents of the files and/or directories. List Folder Contents: Allows users to view the contents of the folder. However
Deploying ASP.NET Applications 2008-03-27 07:24:00 After a Web application is developed, it needs to be deployed to make it available as a Web site. A Web application may be made up of a number of files and components. These components may be developed by the application developer or by a third party. Therefore, while deploying a Web application, you must determine the files to be included in the deployment. In addition, you must determine the method to be used for deploying an application.Deployment is the process of packaging all files that make up an application and distributing them for the purpose of installation on other computers. Deploying
an ASP.NET application can be as easy as copying the application files to the machine on which the application needs to be deployed. When you deploy an application by copying files, no Registry e Read more:Applications
Localizing ASP.NET Applications 2008-03-26 10:58:00 ASP.NET enables you to create applications that are international-ready. These applications can be used in any locale without being modified and recompiled. The process of creating international applications is called internationalization. When you create international applications, you should consider the following factors: The language to be used to design the user interface The locale-specific settings, such as currency formats, date/time formats, and number formatsInternationalization is further divided into three subparts: globalization, localizability, and localization. The process of designing and implementing applications that include generic coding and design considerations so that they can adapt themselves according to the locale they are used in is called globalization.Localizab Read more:Applications
Introduction to Web Services IN ASP.NET 2008-03-31 08:58:00 Web Services
solve a basic, but pervasive problem experienced by many of us with today's Internet. Although literally billions of pages of useful data and information are served up by the Web, it is typically difficult to extract, examine, and use that data programmatically.Much of this difficulty arises from the fact that the Web (at least as it exists today) is designed for human consumption. Consequently, data is presented in a form that's easy for a human to read but relatively difficult and error prone for applications to read and process reliably.Web services are all about delivering distributed applications via programmable components that are accessible over the Web. As an example, many e-commerce sites need to calculate shipping charges based on a variety of shipping options. Typi Read more:Introduction
Microsoft HailStorm 2008-04-03 03:46:00 With the creation of such an important and far-reaching technology as Web services, it is not surprising that major software vendors are planning to deliver a horizontal set of useful Web services that will be needed by many next-generation Web-based applications.Microsoft
itself has announced that it will deliver a set of Web services based on the .NET technologies codenamed "HailStorm." These services collect and store personal information that can be shared with other applications and services based entirely on your consent and control.Nearly all of us have dealt with the frustration of having multiple usernames, passwords, and profiles for the myriad sites and services that we visit on the Web. What's more, each site that retains this personal information has differing privacy policies
SOAP AND DOT NET 2008-04-06 04:43:00 SOAP is a lightweight, XML-based protocol for exchanging information in a decentralized, distributed environment, such as that offered by the Internet. In other words, SOAP enables two processes (possibly on different machines) to communicate with each other regardless of the hardware and software platforms on which they are running.One of the greatest benefits of SOAP is that it has been created and adopted as part of an open process, which has been embraced at an unprecedented level by most of the major hardware and software vendors. The SOAP specification is an open technology (having been submitted to the W3C) that provides the basis for application-to-application integration, known as Web services.The fundamental building block of SOAP is XML. SOAP defines a specialized, yet flexible
Web Services Infrastructure IN ASP.NET part two 2008-04-05 03:12:00 ASP.NET is a unified Web development platform that provides advanced services for building Web applications and Web services. ASP.NET provides a new programming model and infrastructure that enables you to create powerful Web applications with unprecedented speed, flexibility, and ease. ASP.NET is fully supported by the .NET Framework, enabling you to take full advantage of the CLR, type safety, inheritance, and all the other features of that platform.Unlike Active Server Pages (ASP), ASP.NET is a compiled, .NET-based platform. ASP.NET applications can be built using any .NET-compatible programming language. Also, because ASP.NET is built on top of the .NET Framework, your ASP.NET applications have access to the entire range of functionality provided by the framework. Among the major advan Read more:Services
, Infrastructure
Building a Web Service with ASP.NET 2008-04-08 05:20:00 Although the Visual Studio Integrated Development Environment (IDE) is a highly productive tool for building ASP.NET Web services, it is not a required tool. The .NET Framework itself comes bundled with the Visual Basic .NET and C# command-line compilers as well as other tools that you can use to build ASP.NET Web services.ASP.NET Web services require a Web-addressable entry point file, an assembly that implements the functionality of the service, a Web Service
Description (WSDL) document an optional Discovery (DISCO) document, and an optional UDDI registration.Web services built with the .NET Framework leverage the ASP.NET infrastructure, tools, and runtime. Of course, ASP.NET itself is built upon the foundation of the .NET Framework and the Common Language Runtime (CLR), providing all t Read more:Building
C SHARP AND DOT NET AT A GLANCEC 2008-04-09 08:08:00 In the past, you might have learned a language like C or Java without much concern about the platform on which you would be programming. These cross-platform languages were as comfortable on a Unix box as they were on a PC running Windows.C#, however, was created specifically for .NET. While .NET may become cross-platform some day soon — a Unix port is reportedly in the offing — for now the overwhelming majority of .NET programs will be written to run on a machine running .NET. At the time of this writing, that means a Windows machine.The .NET Platform :When Microsoft announced C# in July 2000, its unveiling was part of a much larger event: the announcement of the .NET platform. The .NET platform is a development framework that provides a new way to create Windows applications. Howeve
C SHARP APPLICATION STRECTURE 2008-04-09 08:06:00 At the most fundamental level, a C# application consists of source code. Source code is human-readable text written in a text editor. A text editor is like a word processor, but it puts no special characters into the file to support formatting, only the text. A classic text editor is Notepad.example of a very simple source code file :namespace NotePad{class HelloWorld{ // every console app starts with Main static void Main() { System.Console.WriteLine("Hello world!"); }}}The Visual Studio .NET Integrated Development Environment provides enormousadvantages to the C# programmer. This book tacitly assumes that you'll useVisual Studio .NET for your work. However, the discussion focuses more on thelanguage and the platform than on the tools. (1.6)related postINTRODUCTION TO C SHARP
C SHARP AN INTRODUCTION 2008-04-09 08:03:00 A program consists of English-language instructions called source code. The syntax for these instructions is strictly defined by the language. Source code consists of a series of statements. A statement is an instruction to the complier. Each instruction must be formed correctly, and one task you'll face when learning C# will be to learn the correct syntax of the language. For example, in C# every statement ends with a semi-colon. Each instruction has a semantic meaning that expresses what you are trying to accomplish. Although you must follow the syntax, the semantics of the language are far more important in developing effective object-oriented programs. This book will provide insight into both the syntax and the semantics of good C# programs. Save the source code you write in a text f
OOPS PROGRAMMING TECHNIQUES 2008-04-09 08:02:00 Creating Models :Humans are model-builders. We create models of the world to manage complexity and to help us understand problems we're trying to solveModels are simplifications. There is little point to a model that is as complex as the object in the problem domain. If you had a map of the United States that had every rock, blade of grass, and bit of dirt in the entire country, the map would have to be as big as the country itself. Your road atlas of the U.S. eschews all sorts of irrelevant detail, focusing only on those aspects of the problem domain (e.g., the country's roads) that are important to solving the problem (e.g., getting from place to place). If you want to drive from Boston to New York City, you don't care where the trees are; you care where the exits and interchanges are lo
OOPS INTRODUCTION 2008-04-09 08:00:00 Object-oriented programming is built on three sturdy pillars: encapsulation, specialization, and polymorphism.Encapsulation :Each class should be fully encapsulated, that is, it should fully define the state and responsibilities of that type. For example, if you create an Employee object, that Employee object should fully define all there is to know, from the perspective of your program, about each Employee. You do not, typically, want to have one class that defines the Employee's work information and a second, unrelated class that defines the Employee's contact information. Instead, you want to encapsulate all this information inside the Employee class, perhaps by aggregating the contact information as a member of the Employee class. The first pillar of object-oriented programming is enc
VISUAL STUDIO DOT NET 2008-04-09 07:58:00 Microsoft developed Visual Studio .NET (VS.NET) to facilitate the creation of Windows and web applications. You will find that this Integrated Development Environment (IDE) is a very powerful tool that will greatly simplify your work. Visual Studio .NET offers many advantages to the .NET developer. The following features are discussed in this chapter: A modern interface using a tabbed document metaphor for source code and layout screens, and toolbars and informational windows that dock where you want them Code completion, which allows you to enter code with fewer errors and much less typing IntelliSense, which pops up help on every method and function call as you type Dynamic, context-sensitive help, which allows you to view topics and samples relevant to the code you are wri
IDE AND C SHARP 2008-04-09 07:56:00 IDE :The Visual Studio .NET Integrated Development Environment (IDE) is centered around an editor. An editor is much like a word processor, except that it produces simple text (without formatting, such as bold and italics). As you may recall, source code files are simple text files. The Visual Studio .NET IDE also provides support for building Graphical User Interfaces (GUIs), which are integral to Windows and web projects. The following pages introduce some of the key features of the IDELayout:The IDE is a Multiple Document Interface (MDI) application. There is a main window, and within the main window are a number of smaller windows. The central window is the text editing window.To the left of the editing window are a number of tabbed windows that contain tools used when creating Window