Posts

Showing posts from January, 2008

Service oriented architecture

Image
What is Service oriented architecture? Service oriented architecture, commonly called as SOA is a collection of services. Each and every service is used to achieve a functionality for example processing online credit card. These services are exposed over a network, to be used by the consumers. Any authorized consumers can consume the service. Service provider and the service consumer use a common protocol to communicate with each other one such protocol is SOAP. Above diagram shows a simple Service oriented architecture, with one service provider and one service consumer. Service consumer sends a service request to the service provider over a network accessible by both (example internet). On receiving the service request the service provider processes the request and sends the result back to the service consumer. Sometimes there are scenarios in which Service providers communicate

Displaying alert message from server side(ASP.NET1.1)

Public Sub ShowMessage(ByVal MessageText As String) MessageText = Replace(MessageText, """", "") Dim strScript As String = " " If (Not Page.IsStartupScriptRegistered("clientScript")) Then Page.RegisterStartupScript("clientScript", strScript) End If End Sub Technorati Tags: ASP.NET , ASP.NET1.1 , asp.net serverside message box

Setting focus on a control (ASP.NET1.1)

Protected Sub SetFocus(ByVal ctrl As WebControl) ' Define the JavaScript function for the specified control. Dim focusScript As String = " " ' Add the JavaScript code to the page. Page.RegisterStartupScript("FocusScript", focusScript) End Sub   Technorati Tags: ASP.NET1.1 , setfocus

Adding delete confirmation box in ASP.net 1.1

btnDelete.Attributes.Add("onclick", "return confirm('Do you want to Delete');") Technorati Tags: ASP.NET1.1 , Delete confirmation