Skip to content

Commit 4cb4cc8

Browse files
committed
changed default configuration handler mappings. added download button
1 parent 0b9f258 commit 4cb4cc8

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

src/ServiceStack.Hello/default.htm

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22

33
<html xmlns="http://www.w3.org/1999/xhtml" >
44
<head runat="server">
@@ -107,6 +107,11 @@
107107
color: #666;
108108
}
109109

110+
#btn-download {
111+
display: block;
112+
margin: 15px 0;
113+
text-align: center;
114+
}
110115
</style>
111116
</head>
112117
<body>
@@ -149,15 +154,15 @@ <h2>2. Configuring Service Stack to run in your application</h2>
149154
<h4>ServiceStack Handler mapping for IIS 6.0, MONO or VS.NET dev web server</h4>
150155
<code class="web-config">&lt;system.web&gt;
151156
&lt;httpHandlers&gt;
152-
&lt;add path="ServiceStack*,ServiceStack*/*,ServiceStack*/*/*,ServiceStack*/*/*/*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*"/&gt;
157+
&lt;add path="servicestack*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*"/&gt;
153158
&lt;/httpHandlers&gt;
154159
&lt;/system.web&gt;
155160
</code>
156161

157162
<h4>ServiceStack Handler mapping for IIS 7+</h4>
158163
<code class="web-config">&lt;system.webServer&gt;
159164
&lt;handlers&gt;
160-
&lt;add name="ServiceStack.Factory" path="ServiceStack" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" /&gt;
165+
&lt;add path="servicestack" name="ServiceStack.Factory" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" /&gt;
161166
&lt;/handlers&gt;
162167
&lt;/system.webServer&gt;
163168
</code>
@@ -488,8 +493,11 @@ <h1>Download the code</h1>
488493
<p>
489494
The complete source code for this example is
490495
<a href="https://github.com/mythz/ServiceStack.Examples/tree/master/src/ServiceStack.Hello">viewable online</a>
491-
or available to download as part of the
492-
<a href="https://github.com/mythz/ServiceStack.Examples/downloads">ServiceStack.Examples project</a>
496+
or available to download as zip package from the link below:
497+
498+
<a id="btn-download" href="https://github.com/mythz/ServiceStack.Examples/downloads">
499+
<img src="http://www.servicestack.net/btn-download.gif" alt="Download ServiceStack.Examples.zip">
500+
</a>
493501
</p>
494502

495503
</body>

0 commit comments

Comments
 (0)