27 lines
962 B
Plaintext
27 lines
962 B
Plaintext
<%@ Page Language="C#" EnableViewState="false" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="DI_HelloWorld_Default" %>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" >
|
|
<head runat="server">
|
|
<title><%=Title%></title>
|
|
</head>
|
|
<body>
|
|
<h2><a href="../../Default.aspx">Welcome to Spring.NET Web Framework Quick Start Application Template</a></h2>
|
|
<h2><a href="../Default.aspx">Dependency Injection</a></h2>
|
|
<div>
|
|
<h2>Hello World example</h2>
|
|
<form id="form1" runat="server">
|
|
<p>
|
|
This very simple web form demonstrates dependency injection on pages and controls.
|
|
</p>
|
|
<p>
|
|
The message you can see below has been injected by <object type="Default.aspx"> object definition:
|
|
</p>
|
|
<p>
|
|
'<%=Message%>'
|
|
</p>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|