<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="AppliDeWS.Default" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>
</head>
<body>
	<form id="form1" runat="server">
		<div>

			<asp:ListView runat="server" SelectMethod="ListerServices" ItemType="System.String" ItemPlaceholderID="PhServices">
				<LayoutTemplate>
					<table>
						<tr>
							<th>#</th>
							<th>Service</th>
							<th>WSDL</th>
						</tr>
						<asp:PlaceHolder runat="server" ID="PhServices" />
					</table>
				</LayoutTemplate>
				<ItemTemplate>
					<tr>
						<td><%# Container.DataItemIndex + 1 %></td>
						<td><%# Item.ToUpper() %></td>
						<td><a target="_blank" href="<%# Container.DataItem %>.svc?WSDL">Télécharger</a></td>
					</tr>

				</ItemTemplate>
			</asp:ListView>

		</div>
	</form>
</body>
</html>
