Reverse AJAX technique in ASP.NET (VBASPNETReverseAJAX)

Reverse Ajax is also known as Comet Ajax, Ajax Push, Two-way-web and HTTP server push. This technique persists a HTTP request to allow the server push data to a browser, without requesting the server in a individual time. This sample shows how to use thi

VB.NET (61.5 KB)
 
 
 
 
 
5 Star
(1)
13,614 times
Add to favorites
5/5/2011
E-mail Twitter del.icio.us Digg Facebook
'****************************** Module Header ******************************\
' Module Name:    Message.vb
' Project:        VBASPNETReverseAJAX
' Copyright (c) Microsoft Corporation
'
' Message class contains all necessary fields in a message package.
' 
' This source is subject to the Microsoft Public License.
' See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL.
' All other rights reserved.
'
'*****************************************************************************/

''' <summary>
''' This is a entity class that represents a message item.
''' </summary>
Public Class Message
    ''' <summary>
    ''' The name who will receive this message.
    ''' </summary>
    Public Property RecipientName() As String

    ''' <summary>
    ''' The message content.
    ''' </summary>
    Public Property MessageContent() As String
End Class