Click here to Skip to main content
15,886,840 members
Articles / Web Development / ASP.NET

Monitor your Web Services usage via .NET SOAP Extensions

Rate me:
Please Sign up or sign in to vote.
4.98/5 (48 votes)
6 Apr 2009CPOL27 min read 110.4K   3K   167  
This article demonstrates how you can monitor usage of your Web Services using .NET and SOAP Extensions.
<%@ Page language="c#" Codebehind="Register.aspx.cs" AutoEventWireup="false" Inherits="WSDM_WebServices.RegisterUser" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>Register User</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body MS_POSITIONING="GridLayout" bgColor="silver">
		<form runat="server" ID="Form1">
			<h3><font face="Verdana">Web Service User Registration</font></h3>
			<table>
				<tr>
					<td>First Name</td>
					<td><input id="FirstName" type="text" runat="server" NAME="FirstName"></td>
					<td><ASP:RequiredFieldValidator ControlToValidate="FirstName" Display="Static" ErrorMessage="*" runat="server" ID="Requiredfieldvalidator1" /></td>
				</tr>
				<tr>
					<td>Last Name</td>
					<td><input id="LastName" type="text" runat="server" NAME="LastName"></td>
					<td><ASP:RequiredFieldValidator ControlToValidate="LastName" Display="Static" ErrorMessage="*" runat="server" ID="Requiredfieldvalidator2" /></td>
				</tr>
				<tr>
					<td>Email</td>
					<td><input id="UserEmail" type="text" runat="server" NAME="UserEmail" style="WIDTH: 208px; HEIGHT: 22px"
							size="29"></td>
					<td><ASP:RequiredFieldValidator ControlToValidate="UserEmail" Display="Static" ErrorMessage="*" runat="server" ID="Requiredfieldvalidator3" /></td>
				</tr>
				<tr>
				</tr>
				<tr>
				</tr>
				<tr>
				</tr>
			</table>
			<asp:button text="Register" runat="server" ID="btnRegistration" />
			<p>
				<asp:Label id="Msg" ForeColor="red" Font-Name="Verdana" Font-Size="10" runat="server" />
			</p>
		</form>
	</body>
</HTML>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
Canada Canada
Kamran Bilgrami is a seasoned software developer with background in designing mission critical applications for carrier grade telecom networks. More recently he is involved in design & development of real-time biometric based security solutions. His areas of interest include .NET, software security, mathematical modeling and patterns.

He blogs regularly at http://WindowsDebugging.Wordpress.com

Comments and Discussions