Archive for the 'ASP' Category

ASP - Getting Started with ASP.

Tuesday, February 7th, 2006

BalajiGetting Started with ASP.NET Classes

The class is an object-oriented programming term to refer to a data structure that describes an object or a data member. The .Net Framework has an exclusive set of class libraries such as data access, XML support, directory services, regular expression, and queuing support.

The data access class library provides data access ASP.NET Classes to connect to SQL Server or any OLEDB provider. The XML support class library has XML Classes the go beyond the capability of MSXML. The directory services library is used to access Active Directory/LDAP using ADSI. The regular expression library supports all the above mentions ASP.NET Classes any more than that it also supports Perl 5.

All the above mentioned class libraries use the CLR base class libraries for common functionality. These base class libraries can be divided into six categories:

Collections: Used to preserve a collection of values or objects in memory. The three commonly used collections ASP.NET Classes are ArrayList, HashTables, and SortedList. The System.Collections namespace is used to derive collections ASP.NET Classes.

Thread Support: Used to provide fast, efficient, and multi-threaded applications. It use System.Threading namespace.

Code generation: Used to covert ASP.NET pages into ASP.NET Classes and to generate source files in multiple languages. The System.CodeDOM is used to derive the code generation ASP.NET Classes.

IO: Used to work with files and all other stream types. It uses System.IO namespace.

Reflection: Used to provide support for load assemblies, inspecting types within assemblies, and createing instances of types. It uses System.Reflection namespace.

Security: Used extensively to build a security strategy for ASP.NET pages. It also provides some base services such as authentication, authorization, permission sets, policies, and cryptography. It uses System.Security namespace.

There are numerous ASP.NET Classes. If you want to find and locate a particular class then you can use the WinCV tool. This file is located in C:programfilesMicrosoft.NetFrameworkSDKBin directory. You can open this file from the Run command.

To access online version of the above article, go to http://www.dotnet-guide.com/classes.html

The class is an object-oriented programming term to refer to a data structure that describes an object or a data member. The .Net Framework has an exclusive set of class libraries such as data access, XML support, directory services, regular expression, and queuing support.

The data access class library provides data access ASP.NET Classes to connect to SQL Server or any OLEDB provider. The XML support class library has XML Classes the go beyond the capability of MSXML. The directory services library is used to access Active Directory/LDAP using ADSI. The regular expression library supports all the above mentions ASP.NET Classes any more than that it also supports Perl 5.

All the above mentioned class libraries use the CLR base class libraries for common functionality. These base class libraries can be divided into six categories:

Collections: Used to preserve a collection of values or objects in memory. The three commonly used collections ASP.NET Classes are ArrayList, HashTables, and SortedList. The System.Collections namespace is used to derive collections ASP.NET Classes.

Thread Support: Used to provide fast, efficient, and multi-threaded applications. It use System.Threading namespace.

Code generation: Used to covert ASP.NET pages into ASP.NET Classes and to generate source files in multiple languages. The System.CodeDOM is used to derive the code generation ASP.NET Classes.

IO: Used to work with files and all other stream types. It uses System.IO namespace.

Reflection: Used to provide support for load assemblies, inspecting types within assemblies, and createing instances of types. It uses System.Reflection namespace.

Security: Used extensively to build a security strategy for ASP.NET pages. It also provides some base services such as authentication, authorization, permission sets, policies, and cryptography. It uses System.Security namespace.

There are numerous ASP.NET Classes. If you want to find and locate a particular class then you can use the WinCV tool. This file is located in C:programfilesMicrosoft.NetFrameworkSDKBin directory. You can open this file from the Run command.

To access online version of the above article, go to http://www.dotnet-guide.com/classes.html

ABOUT THE AUTHOR

Visit http://www.dotnet-guide.com for a complete introduction to .NET framework. Learn about ASP.NET, VB.NET, C# and other related technologies.

ASP - Learning ASP Series — Your First ASP Page

Tuesday, February 7th, 2006

ASP pages (Active Server Pages page sounds a bit melodramatic but
its easier to refer to them like this) are nothing but web pages.
The difference is that they have an extension .ASP and you write
the code in a Server Side Scripting language.

Do we know what’s Server Side Scripting? This doesn’t actually
matter if we delve into such nitty-gritty, but let’s sound a bit
philosophically intellectual. Now, there are two sorts of
scripting languages:

Server Side (the hosting server where all the pages and programs
reside)

Client Side (the web surfer using the browser - actually the
browser is the client)

No, we are not talking about some corporate politics with all
this “siding” talk. Ok, before I begin with my bad sense of
humor, “Client Side Scripting” is what we generally see when we
code basic Java Scripts in our web pages to validate HTML forms
or implementing those cool image rollover effects or opening
custom popup windows etc. When you view the source of an HTML
page, and if the Java Script has been written in the page itself
(they have external Java Scripts too, but then that’s a different
story), then you can see the script with all it’s gory details. A
simple example of a Client Side Script written in Java Script is:

function welcome()
{
alert(”Welcome to the Incredible world of Amrit Hallan!!”);
}

And then you can use it when the page loads:

A Server Side Script, on the other hand, does not manifest itself
when you try to use the “View Source” option of your browser. It
is a server side matter so unless you have the actual access to
the server, you cannot view the portion containing the server
side coding. But yes, the rest of the HTML matter is visible.

A typical ASP page looks like:

==> Page Begins Page Ends End of Chapter Two

ASP - Introduction to ASP.

Tuesday, February 7th, 2006

Pawan Bangar

Introduction to ASP.Net

This article is for all software developers who just love to keep themselves updated with the latest in technology—-it takes a comprehensive look at the latest development in the world of Microsoft’s.NET.

If you are committed software developer, you must be aware that ‘web services’ is the latest buzzword to have hit the IT industry. And that this technology trend holds tremendous potential for addressing business problems.

Extensible markup language (XML) is the universal format for data on the web. With XML web services gaining momentum among developers as the next generation of internet-based computing. A platform that made it similar to build these solutions and provide a reliable framework for integration and interoperability was needed. Microsoft’s answer to this much-felt need was .NET—a platform for building, deploying, operating and integrating XML web services.

.NET is the only platform that has been built to support XML services ground up, and Microsoft has been extensively working with the industry to develop standard s like SOAP and UDDI, the XML web services search directory that exits today.

Let’s now take a detailed look at all that Microsoft’s .NET has to offer software developers by the analyzing the latest developments that have taken place in this platform.

ASP.NET

ASP.NET is more than the next version of active server pages (APS) —– it is the unified web development platform that provides the services necessary for developers to build enterprise-class web applications.ASP.NET is a compiled, .NET -based environment; you can author applications in any.NET compatible language, including ASP.NET Visual Basic .NET, C#, and the jscript.NET. Additionally, the entire .NET framework is available to any ASP.NET application.

Developers can choose from one of two features when creating an ASP.NET application, web services, or combine these in any way they see fit.

Web forms to allow you to build powerful forms-based web pages. When building these pages, you can use ASP.NET server controls to create common UI elements, and programs then from common tasks.

These controls to allow you to rapidly build a web form out of reusable built-in or custom components, simplifying the code of a page.

An XML web service provides the means to access server functionality remotely. Using web services, interfaces to their data or business logic, which is turn can be obtained and manipulated by client and server applications. XML web services enable the exchange of data in client-server or server- server scenarios, using standards like HTTP and XML messaging to move data across firewalls.

Each of these models can take full advantage of all ASP.NET framework and.NET framework common language runtime. These features and how you can use them are outlined as follow:

•If you have ASP development skills, the new ASP.NET programming model will seem very familiar to you. However, the ASP.NET object model has changed significantly from ASP, making it move structured and object oriented.

Accessing database from ASP.NET application is an often-used technique for displaying data to website visitors. ASP.NET makes it easier then ever to access database for this purpose.

•ASP.NET provides a simple model that enables developers to write logic that runs at the application level. Developers can write this code in the global. Asax text files or in a compiled class deployed as an assembly.

•ASP.NET provides easy-to-use application and session-state-facilities that are familiar to ASP developers and readily compatible with all other .NET framework APIs.
•For advanced developers who wants to use APIs as powerful as the ISPI programming interfaces that were included with previous version of ASP, ASP.NET offer the IHttpHandler interfaces.
•ASP.NET takes advantage of performance enhancements found in the .NET framework and common language runtime.
•The. NET framework and ASP.NET provide default authorization and authentication schemes for web application.
•ASP.NET configuration setting are stored in XML-based files, which are human readable and writable.

Pawan Bangar
Director birbals group
India