summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-01-16 21:06:50 -0700
committermo khan <mo.khan@gmail.com>2020-01-16 21:06:50 -0700
commit9e34fb139d7cf197add7efc7ea9e3456fd842290 (patch)
tree89b86b5f942fa8ef363f1661d81d9ea6df70d196
parent12acff1ab045570f901879dfdb64258be8d97eac (diff)
Add webforms example
-rw-r--r--Makefile3
-rw-r--r--webforms/hello.aspx9
2 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7ecd0cb..cb20a82 100644
--- a/Makefile
+++ b/Makefile
@@ -14,3 +14,6 @@ winforms/hello.exe : winforms/hello.cs
winforms : winforms/hello.exe
mono winforms/hello.exe
+
+webforms : webforms/hello.aspx
+ cd webforms && xsp4 --port 9000
diff --git a/webforms/hello.aspx b/webforms/hello.aspx
new file mode 100644
index 0000000..afeb0d4
--- /dev/null
+++ b/webforms/hello.aspx
@@ -0,0 +1,9 @@
+<%@ Page Language="C#" %>
+<html>
+<head>
+ <title>Sample Calendar</title>
+</head>
+<body>
+ <asp:calendar showtitle="true" runat="server">
+ </asp:calendar>
+</body>