Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Thursday, March 18, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

Life runs on code. Find out how Visual Studio 2010 can help you realize your vision. Learn more...

Home > Search > Articles & Samples > ASP.Net
Search:
What's New - What's Hot
More Categories for Application Making Application Making (62)
Listings for ASP.NET Administration ASP.NET Administration (41)
Listings for ASP.Net Sites ASP.Net Sites (10)
Listings for Assembly Assembly (65)
Listings for Browsers Browsers (66)
Listings for Business & Enterprise Business & Enterprise (12)
Listings for Caching Caching (307)
Listings for Class Libraries Class Libraries (89)
More Categories for Code Management Code Management (187)
Listings for Compiler Compiler (6)
Listings for Component Component (142)
More Categories for Configuration Configuration (148)
Listings for Cookies Cookies (73)
Listings for Custom Controls Custom Controls (757)
Listings for Data Binding Data Binding (146)
More Categories for Database Database (3000)
Listings for Date & Time Date & Time (66)
Listings for Debugging Debugging (108)
Listings for Deployment Deployment (82)
Listings for Directory Listing Directory Listing (45)
Listings for DNS Functions DNS Functions (3)
Listings for Documentation Documentation (4)
Listings for Domain Controller Domain Controller (4)
Listings for E-Commerce E-Commerce (8)
Listings for Email Email (235)
Listings for Error Handling Error Handling (142)
Listings for Event Handling Event Handling (93)
Listings for Exception Handling Exception Handling (59)
Listings for FAQ FAQ (92)
More Categories for File Management File Management (230)
Listings for Flash Flash (3)
More Categories for Form Handling Form Handling (157)
More Categories for Function Function (10)
Listings for Globalization Globalization (78)
More Categories for Graphics & Charts Graphics & Charts (305)
Listings for Image manipulation Image manipulation (96)
Listings for Introduction Introduction (99)
More Categories for Language Reference Language Reference (69)
Listings for Master Pages Master Pages (114)
Listings for Migration to ASP.Net Migration to ASP.Net (223)
More Categories for Miscellaneous Miscellaneous (1)
Listings for Mobile Mobile (72)
Listings for Namespace Namespace (17)
Listings for Object Oriented Object Oriented (155)
More Categories for Office Documents Office Documents (49)
Listings for Performance Tuning Performance Tuning (145)
Listings for Popup Calendar Popup Calendar (15)
Listings for Popup Window Popup Window (26)
Listings for Reflection Reflection (21)
Listings for Regular Expressions Regular Expressions (43)
Listings for Remoting Remoting (48)
Listings for Request Request (32)
Listings for ResourceManager ResourceManager (5)
Listings for Response Response (13)
Listings for RichTextBox RichTextBox (35)
Listings for RSS RSS (114)
Listings for Sample Chapters Sample Chapters (1447)
More Categories for Scripting Scripting (667)
Listings for Search engine Search engine (17)
More Categories for Security & Encryption Security & Encryption (222)
Listings for Serialization Serialization (36)
More Categories for Server Application Server Application (14)
More Categories for Server Controls Server Controls (3118)
Listings for Server Variables Server Variables (44)
Listings for Session State Session State (145)
Listings for Site Performance Site Performance (28)
Listings for SQLXML SQLXML (16)
Listings for State Management State Management (69)
More Categories for Strings & Variables Strings & Variables (9)
Listings for System.drawing System.drawing (3)
Listings for System.Web System.Web (27)
Listings for Threading Threading (54)
Listings for Tips & Tricks Tips & Tricks (1045)
Listings for Title & tags Title & tags (9)
Listings for Tracing Tracing (51)
More Categories for User Management User Management (380)
Listings for View State View State (92)
Listings for Visual Studio.Net Visual Studio.Net (14)
More Categories for Web Application Web Application (23)
Listings for Web Development Web Development (216)
Listings for Web Forms Web Forms (295)
More Categories for Web Services Web Services (692)
Listings for XML and ASP.NET XML and ASP.NET (302)
 


Supporting Tokens    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The Supporting Tokens sample demonstrates how to add additional tokens to a message that uses WS-Security. The example adds an X.509 binary security token in addition to a username security token. The token is passed in a WS-Security message header from the client to the service and part of the message is signed with the private key associated with the X.509 security token to prove the possession of the X.509 certificate to the receiver. This is useful in the case when there is a requirement to ...

X.509 Certificate Validator    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

This sample demonstrates how to implement a custom X.509 Certificate Validator. This is useful in cases where none of the built-in X.509 Certificate Validation modes is appropriate for the requirements of the application. This sample shows a service that has a custom validator that accepts self-issued certificates. The client uses such a certificate to authenticate to the service....

User Name Password Validator    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

This sample demonstrates how to implement a custom UserNamePassword Validator. This is useful in cases where none of the built-in UserNamePassword Validation modes is appropriate for the requirements of the application; for example, when username/password pairs are stored in some external store, such as a database. This sample shows a service that has a custom validator that checks for two particular username/password pairs. The client uses such a username/password pair to authenticate to the se...

Instancing Initialization    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

This sample extends the Pooling sample by defining an interface, IObjectControl, which customizes the initialization of an object by activating and deactivating it. The client invokes methods that return the object to the pool and that do not return the object to the pool....

HTML Form Handler Sample    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

HTML form posts are encoded as a series of name-value pairs inside of an HTTP POST entity body with a content type of application/x-www-form-urlencoded. The ParseQueryString method is capable of parsing these values into a NameValueCollection when presented with a raw entity body string. To allow this name/value collection to be passed as a parameter to a WCF service operation, the FormDataProcessor class in the sample uses the IDispatchMessageFormatter extensibility point....

CustomChannelsTester    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

The CustomChannelsTester is a tool that you can use to test your custom channel implementations against a set of predefined service contracts. You can select the set of service contracts and pass it to the tool using an XML file. The tool then generates the service and client that exercises your custom channel implementations during message exchange....

Array Declaration    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

As with all other data in JScript, variables can store arrays. Type annotation can specify that a variable must contain an array object or a typed array, but it does not provide an initial array. To store an array in a variable, you must declare an array and assign it to that variable....

Array Use    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Severak types of arrays can be used in JScript. The following information explains how to use some of these arrays and how to choose an appropriate array for your particular application....

Arrays of Arrays    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

It is possible to create an array and populate it with other arrays. The base array can be either a JScript array or a typed array. JScript arrays allow more flexibility in the types of stored data, while typed arrays prevent storage of inappropriately typed data in the array.

Arrays of arrays are useful for applications in which each subarray has a different length. If each subarray has the same length, a multidimensional array may be more useful. For more information, see Multidimension...

JScript Assignments and Equality    Version: 0.00       Price: $0.00   
Total Hits: 3  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Like many programming languages, JScript uses the equal sign (=) to assign values to variables: it is the assignment operator. The left operand of the = operator must be an Lvalue, which means that it must be a variable, array element, or object property....

Alternation and Subexpressions (Scripting)    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Alternation in a regular expression enables you to group choices between two or more alternatives. You can essentially specify "this OR that" in a pattern. Subexpressions enable you to match a pattern in searched text and divide the match into separate submatches. The resulting submatches can be retrieved by the program. Subexpressions also enable you to reformat text, as described in Backreferences (Scripting)....

Detecting Browser Capabilities    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Although browsers support most JScript features, the new features that target the .NET Framework, class-based objects, data types, enumerations, conditional compilation directives, and the const statement, are supported only on the server-side. Consequently, you should use these features exclusively in server-side scripts. For more information, see JScript Version Information....



DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net