|
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"> |
2 | 2 |
|
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" > |
4 | 4 | <head runat="server"> |
|
107 | 107 | color: #666; |
108 | 108 | } |
109 | 109 |
|
| 110 | + #btn-download { |
| 111 | + display: block; |
| 112 | + margin: 15px 0; |
| 113 | + text-align: center; |
| 114 | + } |
110 | 115 | </style> |
111 | 116 | </head> |
112 | 117 | <body> |
@@ -149,15 +154,15 @@ <h2>2. Configuring Service Stack to run in your application</h2> |
149 | 154 | <h4>ServiceStack Handler mapping for IIS 6.0, MONO or VS.NET dev web server</h4> |
150 | 155 | <code class="web-config"><system.web> |
151 | 156 | <httpHandlers> |
152 | | - <add path="ServiceStack*,ServiceStack*/*,ServiceStack*/*/*,ServiceStack*/*/*/*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*"/> |
| 157 | + <add path="servicestack*" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*"/> |
153 | 158 | </httpHandlers> |
154 | 159 | </system.web> |
155 | 160 | </code> |
156 | 161 |
|
157 | 162 | <h4>ServiceStack Handler mapping for IIS 7+</h4> |
158 | 163 | <code class="web-config"><system.webServer> |
159 | 164 | <handlers> |
160 | | - <add name="ServiceStack.Factory" path="ServiceStack" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" /> |
| 165 | + <add path="servicestack" name="ServiceStack.Factory" type="ServiceStack.WebHost.Endpoints.ServiceStackHttpHandlerFactory, ServiceStack" verb="*" preCondition="integratedMode" resourceType="Unspecified" allowPathInfo="true" /> |
161 | 166 | </handlers> |
162 | 167 | </system.webServer> |
163 | 168 | </code> |
@@ -488,8 +493,11 @@ <h1>Download the code</h1> |
488 | 493 | <p> |
489 | 494 | The complete source code for this example is |
490 | 495 | <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> |
493 | 501 | </p> |
494 | 502 |
|
495 | 503 | </body> |
|
0 commit comments