You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 29, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: docs/index.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
3
3
TodoBackendFSharp is a Todo-Backend implementation in [F#](http://fsharp.org/)
4
4
following the guidelines provided at http://todo-backend.thepete.net/.
5
-
You can [run the specs](http://todo-backend.thepete.net/specs/index.html?http://todo-backend-fsharp.azurewebsites.net/) or
6
-
[try the client](http://todo-backend.thepete.net/client/index.html?http://todo-backend-fsharp.azurewebsites.net/).
5
+
You can [run the specs](http://todo-backend.thepete.net/specs/index.html?http://todo-backend-fsharp.azurewebsites.net/owin) or
6
+
[try the client](http://todo-backend.thepete.net/client/index.html?http://todo-backend-fsharp.azurewebsites.net/owin).
7
7
8
8
## Why Raw OWIN?
9
9
10
10
The first implementation was written as directly upon the [OWIN](http://owin.org/) spec as possible in order
11
11
to demonstrate the ease with which you can build web applications in F#. Specific features of F# demonstrated
12
12
in this implementation include:
13
13
14
-
*[Function composition for composing applications](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Startup.fs#L56-58)
14
+
*[Function composition for composing applications](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Startup.fs#L78-83)
15
15
*[Active Patterns for routing](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Owin.fs#L177-205)
16
16
*[MailboxProcessor for in-memory storage](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/TodoStorage.fs)
17
17
*[Simple, Async functions as HTTP handlers](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Owin.fs#L64-163)
@@ -24,8 +24,8 @@ These libraries are [Katana](https://katanaproject.codeplex.com/) and [Dyfrig](h
24
24
### Katana
25
25
26
26
Microsoft's Katana components provide a number of hosts and many, reusable middlewares to ease the burden of
27
-
building web applications. Katana hosts make use of a [`Startup` class](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Startup.fs#L50)
28
-
with a single member conventionally named [`Configuration`](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Startup.fs#L54).
27
+
building web applications. Katana hosts make use of a [`Startup` class](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Startup.fs#L71)
28
+
with a single member conventionally named [`Configuration`](https://github.com/panesofglass/TodoBackendFSharp/blob/master/TodoBackend/Startup.fs#L76).
29
29
`Configuration` takes an `IAppBuilder` into which you mount middleware components.
30
30
In F#, you can write middleware components as simple functions taking the next `OwinAppFunc` handler
31
31
and an `OwinEnv` environment dictionary. F# allows you to chain these together naturally using the
0 commit comments