Skip to content

Commit d454b3a

Browse files
committed
5.0.0 site rebuild
1 parent 19f3a54 commit d454b3a

15 files changed

+28
-45
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## [5.0.0] - ????-??-??
5+
## [5.0.0] - 2025-01-28
66

77
### Added
88

docs/docs/authentication.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ <h3 id="terminate-authenticated-session">Terminate authenticated session</h3>
6060
Response.signOutAndRedirect authScheme redirectTo
6161
</code></pre>
6262
<p><a href="example-hello-world.html">Next: Example - Hello World</a></p>
63-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
63+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/cross-site-request-forgery.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ <h2 id="falco-xsrf-support">Falco XSRF Support</h2>
6969
Request.mapFormSecure mapPerson Response.ofJson handleInvalid
7070
</code></pre>
7171
<p><a href="authentication.html">Next: Authentication</a></p>
72-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
72+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/example-dependency-injection.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ <h2 id="registering-the-dependency">Registering the Dependency</h2>
5959
<h2 id="wrapping-up">Wrapping Up</h2>
6060
<p>Now that we're finished introducing dependency injection, let's move on to a real world example by integrating with an external view engine.</p>
6161
<p><a href="example-external-view-engine.html">Next: Example - External View Engine</a></p>
62-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
62+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/example-external-view-engine.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,4 @@ <h2 id="registering-the-template-engine">Registering the Template Engine</h2>
102102

103103
0 // Exit code
104104
</code></pre>
105-
<h2 id="wrapping-up">Wrapping Up</h2>
106-
<p>Having dabbled with creating HTML applications, now let's set our sights on creating RESTful APIs.</p>
107-
<p><a href="example-basic-rest-api.html">Next: Example - Basic REST API</a></p>
108-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
105+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/example-hello-world-mvc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,4 @@ <h2 id="web-server">Web Server</h2>
160160
<h2 id="wrapping-up">Wrapping Up</h2>
161161
<p>This example was a leap ahead from our basic hello world. But having followed this, you know understand many of the patterns you'll need to know to build end-to-end server applications with Falco. Unsurprisingly, the entire program fits inside 118 LOC. One of the magnificent benefits of writing code in F#.</p>
162162
<p><a href="example-dependency-injection.html">Next: Example - Dependency Injection</a></p>
163-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
163+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/example-hello-world.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,16 @@ <h2 id="code-overview">Code Overview</h2>
1313
open Microsoft.AspNetCore.Builder
1414
// ^-- this import adds many useful extensions
1515

16-
let endpoints =
17-
[
18-
get &quot;/&quot; (Response.ofPlainText &quot;Hello World!&quot;)
19-
// ^-- associate GET / to plain text HttpHandler
20-
]
21-
2216
let wapp = WebApplication.Create()
2317

2418
wapp.UseRouting()
25-
.UseFalco(endpoints)
19+
.UseFalco([
20+
// ^-- activate Falco endpoint source
21+
get &quot;/&quot; (Response.ofPlainText &quot;Hello World!&quot;)
22+
// ^-- associate GET / to plain text HttpHandler
23+
])
24+
.Run(Response.ofPlainText &quot;Not found&quot;)
2625
// ^-- activate Falco endpoint source
27-
.Run()
2826
</code></pre>
2927
<p>First, we open the required namespaces. <code>Falco</code> bring into scope the ability to activate the library and some other extension methods to make the fluent API more user-friendly.</p>
3028
<p><code>Microsoft.AspNetCore.Builder</code> enables us to create web applications in a number of ways, we're using <code>WebApplication.Create()</code> above. It also adds many other useful extension methods, that you'll see later.</p>
@@ -35,4 +33,4 @@ <h2 id="code-overview">Code Overview</h2>
3533
<li>Run the app.</li>
3634
</ul>
3735
<p><a href="example-hello-world-mvc.html">Next: Example - Hello World MVC</a></p>
38-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
36+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/get-started.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ <h2 id="manually-installing">Manually installing</h2>
4545
<h2 id="sample-applications">Sample Applications</h2>
4646
<p>Code is worth a thousand words. For the most up-to-date usage, the <a href="https://github.com/pimbrouwers/Falco/tree/master/examples/">examples</a> directory contains a few sample applications.</p>
4747
<p><a href="routing.html">Next: Routing</a></p>
48-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
48+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ <h2 id="guides">Guides</h2>
1414
<li><a href="authentication.html">Security</a></li>
1515
<li><a href="example-hello-world.html">Examples</a></li>
1616
</ul>
17-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
17+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/markup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,4 +268,4 @@ <h2 id="svg">SVG</h2>
268268
let svg = renderNode svgDrawing
269269
</code></pre>
270270
<p><a href="cross-site-request-forgery.html">Next: Cross-site Request Forgery (XSRF)</a></p>
271-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
271+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/migrating-from-v4-to-v5.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ <h2 id="crypto-module-removed"><code>Crypto</code> module removed</h2>
132132
<p>The Crypto module provided functionality for: random numbers, salt generation and key derivation. The code in this module was really a veneer on top of the cryptographic providers in the base library. Extracting this code into your project would be dead simple. The <a href="https://github.com/pimbrouwers/Falco/blob/25d828d832c0fde2dfff04775bea1eced9050458/src/Falco/Security.fs#L3">source</a> is permalinked here for such purposes.</p>
133133
<h2 id="auth-module-removed"><code>Auth</code> module removed</h2>
134134
<p>The <code>Auth</code> module functionality was ported one-to-one to the <code>Response</code> module.</p>
135-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
135+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/request.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,4 +201,4 @@ <h2 id="json">JSON</h2>
201201
Request.mapJsonOption options handleOk
202202
</code></pre>
203203
<p><a href="markup.html">Next: View engine</a></p>
204-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
204+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/response.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ <h3 id="add-a-cookie-to-the-response">Add a cookie to the response</h3>
108108
&gt;&gt; Response.ofPlainText &quot;Hello world&quot;
109109
</code></pre>
110110
<p><a href="request.html">Next: Accessing request data</a></p>
111-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
111+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/docs/routing.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,4 +110,4 @@ <h2 id="multi-method-endpoints">Multi-method Endpoints</h2>
110110
.Run()
111111
</code></pre>
112112
<p><a href="response.html">Next: Writing responses</a></p>
113-
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
113+
</main></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

docs/index.html

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,32 +5,24 @@
55
<p><a href="https://www.nuget.org/packages/Falco"><img src="https://img.shields.io/nuget/v/Falco.svg" alt="NuGet Version" /></a>
66
<a href="https://github.com/pimbrouwers/Falco/actions/workflows/build.yml"><img src="https://github.com/pimbrouwers/Falco/actions/workflows/build.yml/badge.svg" alt="build" /></a></p>
77
<pre><code class="language-fsharp">open Falco
8-
open Falco.Routing
98
open Microsoft.AspNetCore.Builder
109

11-
let endpoints =
12-
[
13-
get &quot;/&quot; (Response.ofPlainText &quot;Hello World!&quot;)
14-
]
15-
1610
let wapp = WebApplication.Create()
1711

18-
wapp.UseRouting()
19-
.UseFalco(endpoints)
20-
.Run()
12+
wapp.Run(Response.ofPlainText &quot;Hello world&quot;)
2113
</code></pre>
2214
<p><a href="https://github.com/pimbrouwers/Falco">Falco</a> is a toolkit for building fast and functional-first web applications using F#. You can think of it as <a href="https://learn.microsoft.com/en-us/aspnet/core/tutorials/min-web-api?view=aspnetcore-8.0&amp;tabs=visual-studio">minimal API</a> on <em>steroids</em>.</p>
2315
<ul>
24-
<li>Built upon the high-performance components of ASP.NET Core.</li>
25-
<li>Optimized for building full-stack web applications quickly.</li>
16+
<li>Designed for building pure F# full-stack web applications.</li>
17+
<li>Built on the high-performance components of ASP.NET Core.</li>
2618
<li>Seamlessly integrates with existing .NET Core middleware and libraries.</li>
2719
</ul>
2820
<h2 id="key-features">Key Features</h2>
2921
<ul>
30-
<li>Asynchronous <a href="documentation/response.html">request handling</a>.</li>
3122
<li>Simple and powerful <a href="documentation/routing.html">routing</a> API.</li>
3223
<li>Uniform API for <a href="documentation/request.html">accessing <em>any</em> request data</a>.</li>
3324
<li>Native F# <a href="documentation/markup.html">view engine</a>.</li>
25+
<li>Asynchronous <a href="documentation/response.html">request handling</a>.</li>
3426
<li><a href="documentation/authentication.html">Authentication</a> and <a href="documentation/cross-site-request-forgery.html">security</a> utilities.</li>
3527
<li>Built-in support for <a href="documentation/request.html#multipartform-data-binding">large uploads</a> and <a href="documentation/response.html#content-disposition">binary responses</a>.</li>
3628
</ul>
@@ -41,9 +33,7 @@ <h2 id="design-goals">Design Goals</h2>
4133
<li>Can be easily learned.</li>
4234
</ul>
4335
<h2 id="learn">Learn</h2>
44-
<p>The best way to get started is by visiting the <a href="https://falcoframework.com/docs">documentation</a>. For questions and support please use <a href="https://github.com/pimbrouwers/Falco/discussions">discussions</a>. The issue list of this repo is <strong>exclusively</strong> for bug reports and feature requests. For chronological updates refer to the <a href="CHANGELOG.html">changelog</a> is the best place to find chronological updates.</p>
45-
<p>If you want to stay in touch, feel free to reach out on <a href="https://twitter.com/falco_framework">Twitter</a>.</p>
46-
<p>Have an article or video that you want to share? We'd love to hear from you! To add your content, visit this <a href="https://github.com/pimbrouwers/Falco/discussions/82">discussion</a>.</p>
36+
<p>The best way to get started is by visiting the <a href="https://falcoframework.com/docs">documentation</a>. For questions and support please use <a href="https://github.com/pimbrouwers/Falco/discussions">discussions</a>. For chronological updates refer to the <a href="CHANGELOG.html">changelog</a> is the best place to find chronological updates.</p>
4737
<h3 id="related-libraries">Related Libraries</h3>
4838
<ul>
4939
<li><a href="https://github.com/pimbrouwers/Falco.Markup">Falco.Markup</a> - an XML markup module primary used as the syntax for <a href="https://www.falcoframework.com/docs/markup.html">authoring HTML with Falco</a>.</li>
@@ -53,7 +43,6 @@ <h3 id="related-libraries">Related Libraries</h3>
5343
</ul>
5444
<h3 id="community-projects">Community Projects</h3>
5545
<ul>
56-
<li><a href="https://github.com/pimbrouwers/FalcoJournal">FalcoJournal</a> - A bullet journal built with Falco, .NET 5.x and ASP.NET Core.</li>
5746
<li><a href="https://github.com/adelarsq/falco_graphql_sample">Falco GraphQL Sample</a> - A sample showing how to use GraphQL on Falco using .NET 6.</li>
5847
<li><a href="https://github.com/jasiozet/falco-api-with-tests-template">Falco API with Tests Sample</a> - A sample project using Falco and unit testing.</li>
5948
<li><a href="https://github.com/galassie/FalcoSample">Falco + SQLite + Donald</a> - A demo project using Falco, <a href="https://github.com/pimbrouwers/Donald">Donald</a>, and SQLite</li>
@@ -68,15 +57,14 @@ <h3 id="videos">Videos</h3>
6857
<li>Ben Gobeil - <a href="https://youtu.be/DTy5gIUWvpo">Why I'm Using Falco Instead Of Saturn | How To Switch Your Backend In SAFE Stack | StonkWatch Ep.13</a></li>
6958
</ul>
7059
<h2 id="contribute">Contribute</h2>
71-
<p>Thank you for considering contributing to Falco, and to those who have already contributed! We appreciate (and actively resolve) PRs of all shapes and sizes.</p>
7260
<p>We kindly ask that before submitting a pull request, you first submit an <a href="https://github.com/pimbrouwers/Falco/issues">issue</a> or open a <a href="https://github.com/pimbrouwers/Falco/discussions">discussion</a>.</p>
7361
<p>If functionality is added to the API, or changed, please kindly update the relevant <a href="docs">document</a>. Unit tests must also be added and/or updated before a pull request can be successfully merged.</p>
74-
<p>Only pull requests which pass all build checks and comply with the general coding guidelines can be approved.</p>
62+
<p>Only pull requests which pass all build checks and comply with the general coding standard can be approved.</p>
7563
<p>If you have any further questions, submit an <a href="https://github.com/pimbrouwers/Falco/issues">issue</a> or open a <a href="https://github.com/pimbrouwers/Falco/discussions">discussion</a> or reach out on <a href="https://twitter.com/falco_framework">Twitter</a>.</p>
7664
<h2 id="why-falco">Why &quot;Falco&quot;?</h2>
7765
<p><a href="https://docs.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel">Kestrel</a> has been a game changer for the .NET web stack. In the animal kingdom, &quot;Kestrel&quot; is a name given to several members of the falcon genus. Also known as &quot;Falco&quot;.</p>
7866
<h2 id="find-a-bug">Find a bug?</h2>
7967
<p>There's an <a href="https://github.com/pimbrouwers/Falco/issues">issue</a> for that.</p>
8068
<h2 id="license">License</h2>
81-
<p>Built with ♥ by <a href="https://github.com/pimbrouwers">Pim Brouwers</a> in Toronto, ON. Licensed under <a href="https://github.com/pimbrouwers/Falco/blob/master/LICENSE">Apache License 2.0</a>.</p>
82-
</main></div></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2024 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>
69+
<p>Licensed under <a href="https://github.com/pimbrouwers/Falco/blob/master/LICENSE">Apache License 2.0</a>.</p>
70+
</main></div></div><footer class="cl pa3 bg-merlot"><div class="f7 tc white-70">&copy; 2020-2025 Pim Brouwers & contributors.</div></footer><script src="/prism.js"></script></body></html>

0 commit comments

Comments
 (0)