dotnetomaniak.pl - Artykuły z tagiem fsharp-2dotnetomaniak.pl - Artykuły z tagiem fsharp-22024-03-29T10:03:53Zhttps://dotnetomaniak.pl/Tags/fsharp-2Copyright (c) dotnetomaniak.pldotnetomaniak.pl Atom Generatordotnetomaniak.pl webmasteradmin@dotnetomaniak.plhttps://dotnetomaniak.pl/Assets/Images/fav.icohttps://dotnetomaniak.pl/Assets/Images/dotnetomaniak_logo-negatyw_small.png12025https://dotnetomaniak.pl/Dwa-swiaty-w-jednym-projekcie-czyli-uzywanie-F-z-controllera-C-MarcinLovesCodeDwa światy w jednym projekcie czyli używanie F# z controllera C# - MarcinLovesCode2022-02-19T17:26:05Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_U-TQiIyIkkalUiLyAE3Cgg.png"/></div><div>Połączenie F# i C# bywa trudniejsze niż o tym mówią. We wpisie pokazuję jak można połączyć te dwa światy wykorzystując różne podejścia</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Dwa-swiaty-w-jednym-projekcie-czyli-uzywanie-F-z-controllera-C-MarcinLovesCode"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fmarcinlovescode.com%2fintegracja%2ffsharp-w-webapi-csharpowym%2f" style="border:0px"/></a></div></div>marcinlovescodehttps://dotnetomaniak.pl/Users/m-K5aWxeG0iLxYb4UussXg2022-02-22T09:20:03Zhttps://dotnetomaniak.pl/Dwa-swiaty-w-jednym-projekcie-czyli-uzywanie-F-z-controllera-C-MarcinLovesCode1770Połączenie F# i C# bywa trudniejsze niż o tym mówią. We wpisie pokazuję jak można połączyć te dwa światy wykorzystując różne podejściahttps://marcinlovescode.com/integracja/fsharp-w-webapi-csharpowym/http://dotnetomaniak.pl/Data/Thumbnails/small_U-TQiIyIkkalUiLyAE3Cgg.pnghttps://dotnetomaniak.pl/Inbox-pattern-Implementacja-w-F-MarcinLovesCodeInbox pattern - Implementacja w F# - MarcinLovesCode2022-01-10T18:39:52Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_zBXOfArh7UqgrDN1eedAXA.png"/></div><div>Ostatni element uniwersalnego mechanizmu do zagwarantowania przetworzenia wiadomości dokładnie raz. Prosta implementacja Inbox'a w F#</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Inbox-pattern-Implementacja-w-F-MarcinLovesCode"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fmarcinlovescode.com%2fdesign%2finbox-pattern%2f" style="border:0px"/></a></div></div>marcinlovescodehttps://dotnetomaniak.pl/Users/m-K5aWxeG0iLxYb4UussXg2022-01-13T07:44:43Zhttps://dotnetomaniak.pl/Inbox-pattern-Implementacja-w-F-MarcinLovesCode1570Ostatni element uniwersalnego mechanizmu do zagwarantowania przetworzenia wiadomości dokładnie raz. Prosta implementacja Inbox'a w F#https://marcinlovescode.com/design/inbox-pattern/http://dotnetomaniak.pl/Data/Thumbnails/small_zBXOfArh7UqgrDN1eedAXA.pnghttps://dotnetomaniak.pl/Outbox-pattern-Implementacja-w-F-MarcinLovesCodeOutbox pattern - Implementacja w F# - MarcinLovesCode2021-12-28T16:47:17Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_9d0_76GpUkiCaP4Ql97hUw.png"/></div><div>Prosta implementacja Outbox'a w F#</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Outbox-pattern-Implementacja-w-F-MarcinLovesCode"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fmarcinlovescode.com%2fdesign%2foutbox-pattern%2f" style="border:0px"/></a></div></div>marcinlovescodehttps://dotnetomaniak.pl/Users/m-K5aWxeG0iLxYb4UussXg2021-12-30T08:25:02Zhttps://dotnetomaniak.pl/Outbox-pattern-Implementacja-w-F-MarcinLovesCode2530Prosta implementacja Outbox'a w F#https://marcinlovescode.com/design/outbox-pattern/http://dotnetomaniak.pl/Data/Thumbnails/small_9d0_76GpUkiCaP4Ql97hUw.pnghttps://dotnetomaniak.pl/Write-your-first-F-code-Learn-Microsoft-DocsWrite your first F# code - Learn | Microsoft Docs2021-07-27T12:54:05Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_9zB5p9s0cUmOzz4LpMPxVQ.png"/></div><div>Skip to main contentContentsExit focus modeTable of contentsStart
Module
10 Units
Beginner
Developer
Student
.NET
Take your first steps with F# - Set up your development environment, write your first line of code, and build your first application
Learning objectives
Understand what makes F# a good language for building applicationsWrite your first line of F# codeBuild your fir...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Write-your-first-F-code-Learn-Microsoft-Docs"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fdocs.microsoft.com%2fen-us%2flearn%2fmodules%2ffsharp-first-steps%2f" style="border:0px"/></a></div></div>Piotr Stapphttps://dotnetomaniak.pl/Users/uYS8cHLZukmjW_DgdZuz0Q2021-07-28T07:03:25Zhttps://dotnetomaniak.pl/Write-your-first-F-code-Learn-Microsoft-Docs1320Skip to main contentContentsExit focus modeTable of contentsStart
Module
10 Units
Beginner
Developer
Student
.NET
Take your first steps with F# - Set up your development environment, write your first line of code, and build your first application
Learning objectives
Understand what makes F# a good language for building applicationsWrite your first line of F# codeBuild your fir...https://docs.microsoft.com/en-us/learn/modules/fsharp-first-steps/http://dotnetomaniak.pl/Data/Thumbnails/small_9zB5p9s0cUmOzz4LpMPxVQ.pnghttps://dotnetomaniak.pl/Writing-high-performance-F-codeWriting high performance F# code2021-06-21T07:16:06Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_owbbwW5riEe52QfzJrDZdg.png"/></div><div>While this post is addressed to F# .NET developers, it introduces much wider concepts starting from hardware architecture to overall .NET runtime and JIT compiler optimizations. It shouldn't be a surprise - optimizing the application performance requires us to understand the relationships between our high level code and what actually happens on the hardware.
There's a popular opinion that F# code must be slower than equivalent C# code. This opinion is mostly false, however it comes with some rationale. ...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Writing-high-performance-F-code"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fbartoszsypytkowski.com%2fwriting-high-performance-f-code%2f" style="border:0px"/></a></div></div>Piotr Stapphttps://dotnetomaniak.pl/Users/uYS8cHLZukmjW_DgdZuz0Q2021-06-22T07:05:38Zhttps://dotnetomaniak.pl/Writing-high-performance-F-code1180While this post is addressed to F# .NET developers, it introduces much wider concepts starting from hardware architecture to overall .NET runtime and JIT compiler optimizations. It shouldn't be a surprise - optimizing the application performance requires us to understand the relationships between our high level code and what actually happens on the hardware.
There's a popular opinion that F# code must be slower than equivalent C# code. This opinion is mostly false, however it comes with some rationale. ...https://bartoszsypytkowski.com/writing-high-performance-f-code/http://dotnetomaniak.pl/Data/Thumbnails/small_owbbwW5riEe52QfzJrDZdg.pnghttps://dotnetomaniak.pl/DB-deployments-with-FakeSqlSqlPackageDB deployments with Fake.Sql.SqlPackage2019-12-23T09:15:43Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_cGuHxo0pi0OeMl_5SdYyjQ.png"/></div><div>In my previous post, I presented how we can deploy multiple visual studio database projects using Fake build tool. Here, I will present another option which is possible with version 5.19.0.
This version has a new module called Fake.Sql.SqlPackage, which is a redesign of previous Fake.Sql.DacPac module. The reason, why the previous module needed redesign, it was a missing option (from my point of view crucial option) - publish profiles. I raised that point on GitHub here and solved it with this pull requ...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/DB-deployments-with-FakeSqlSqlPackage"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fthecodemanual.pl%2f2019%2f12%2f23%2fDB-deployments-with-Fake-Sql-SqlPackage.html" style="border:0px"/></a></div></div>Krzysztof-Mhttps://dotnetomaniak.pl/Users/IT0VVRQfi0KqWqx97yOqbw2019-12-27T07:45:07Zhttps://dotnetomaniak.pl/DB-deployments-with-FakeSqlSqlPackage1440In my previous post, I presented how we can deploy multiple visual studio database projects using Fake build tool. Here, I will present another option which is possible with version 5.19.0.
This version has a new module called Fake.Sql.SqlPackage, which is a redesign of previous Fake.Sql.DacPac module. The reason, why the previous module needed redesign, it was a missing option (from my point of view crucial option) - publish profiles. I raised that point on GitHub here and solved it with this pull requ...http://thecodemanual.pl/2019/12/23/DB-deployments-with-Fake-Sql-SqlPackage.htmlhttp://dotnetomaniak.pl/Data/Thumbnails/small_cGuHxo0pi0OeMl_5SdYyjQ.pnghttps://dotnetomaniak.pl/DB-deployments-with-FAKE-tool-%C2%B7-The-Code-ManualDB deployments with FAKE tool · The Code Manual2019-12-14T15:20:29Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_dMTZk80DFEubzLUTt6pzPA.png"/></div><div>This story has begun quite long ago. I got a chance to work on projects without the automatic deployment process. It was strange a bit because we had deployments process for both front-end and back-end projects, but not for databases. For databases, we were generating SQL scripts from Visual Studio, and then we executed them in our Test environment. This was a perfect place to save our time and FAKE did the right job here.
We use Visual Studio SQL Server DB projects to handle SQL scripts. And exactly th...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/DB-deployments-with-FAKE-tool-%C2%B7-The-Code-Manual"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fthecodemanual.pl%2f2019%2f12%2f14%2fDB-deployments-with-FAKE-tool.html" style="border:0px"/></a></div></div>Krzysztof-Mhttps://dotnetomaniak.pl/Users/IT0VVRQfi0KqWqx97yOqbw2019-12-16T07:42:03Zhttps://dotnetomaniak.pl/DB-deployments-with-FAKE-tool-%C2%B7-The-Code-Manual1800This story has begun quite long ago. I got a chance to work on projects without the automatic deployment process. It was strange a bit because we had deployments process for both front-end and back-end projects, but not for databases. For databases, we were generating SQL scripts from Visual Studio, and then we executed them in our Test environment. This was a perfect place to save our time and FAKE did the right job here.
We use Visual Studio SQL Server DB projects to handle SQL scripts. And exactly th...http://thecodemanual.pl/2019/12/14/DB-deployments-with-FAKE-tool.htmlhttp://dotnetomaniak.pl/Data/Thumbnails/small_dMTZk80DFEubzLUTt6pzPA.pnghttps://dotnetomaniak.pl/Ja-programista-Tomasz-Heimowski-programowanie-funkcyjne-Devsession-Grzegorz-Kotfis-Od-programisty-dla-programistowJa, programista – Tomasz Heimowski – programowanie funkcyjne – Devsession | Grzegorz Kotfis | Od programisty dla programistów2019-01-23T08:47:20Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_th87yq5p20mDDlb8FgGj-w.png"/></div><div>Posted on :
By
Grzegorz KotfisJa, programista
Ciężko rozmawia się o rzeczach o których ma się znikome pojęcie. Ale od tego ma się gości. A w tym odcinku goszczę Tomka Heimowskiego – programistę FSharp. Rozprawiamy się z programowaniem funkcyjnym wokół którego narosło wiele mitów. Choćby taki, że jest trudne. Czy aby na pewno? Koniecznie posłuchajcie odcinka!
Serdecznie zachęcam także do zapisania się do newslettera, którego w końcu odpaliłem! Dzięki temu będziemy w kontakcie, będę powiad...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Ja-programista-Tomasz-Heimowski-programowanie-funkcyjne-Devsession-Grzegorz-Kotfis-Od-programisty-dla-programistow"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fdevsession.pl%2fjaprogramista-5%2f" style="border:0px"/></a></div></div>Grzegorz Kotfishttps://dotnetomaniak.pl/Users/i4BaTBctzEy0mw3foKC9WA2019-01-24T08:00:48Zhttps://dotnetomaniak.pl/Ja-programista-Tomasz-Heimowski-programowanie-funkcyjne-Devsession-Grzegorz-Kotfis-Od-programisty-dla-programistow2610Posted on :
By
Grzegorz KotfisJa, programista
Ciężko rozmawia się o rzeczach o których ma się znikome pojęcie. Ale od tego ma się gości. A w tym odcinku goszczę Tomka Heimowskiego – programistę FSharp. Rozprawiamy się z programowaniem funkcyjnym wokół którego narosło wiele mitów. Choćby taki, że jest trudne. Czy aby na pewno? Koniecznie posłuchajcie odcinka!
Serdecznie zachęcam także do zapisania się do newslettera, którego w końcu odpaliłem! Dzięki temu będziemy w kontakcie, będę powiad...https://devsession.pl/japrogramista-5/http://dotnetomaniak.pl/Data/Thumbnails/small_th87yq5p20mDDlb8FgGj-w.pnghttps://dotnetomaniak.pl/ENF-Async-Guide-Lev-Gorodinski-Medium[EN]F# Async Guide – Lev Gorodinski – Medium2018-06-24T20:57:46Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_hKqYQwpGl0ejMwlBc94nhw.png"/></div><div>This is a usage guide for asynchronous programming in F# using the Async type. The content should be helpful to existing F# Async users or those approaching F# concurrency from another programming language, and is complementary to existing material such as Asynchronous Programming by Scott Wlaschin, Async in C# and F# by Tomas Petricek and Async Programming in F# on MSDN.Table of ContentsDefinition— th...</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/ENF-Async-Guide-Lev-Gorodinski-Medium"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fmedium.com%2f%40eulerfx%2feb3c8a2d180a" style="border:0px"/></a></div></div>adminhttps://dotnetomaniak.pl/Users/4gl99XGCVEWqm9X_8JKXZA2018-06-29T05:45:55Zhttps://dotnetomaniak.pl/ENF-Async-Guide-Lev-Gorodinski-Medium2260This is a usage guide for asynchronous programming in F# using the Async type. The content should be helpful to existing F# Async users or those approaching F# concurrency from another programming language, and is complementary to existing material such as Asynchronous Programming by Scott Wlaschin, Async in C# and F# by Tomas Petricek and Async Programming in F# on MSDN.Table of ContentsDefinition— th...https://medium.com/@eulerfx/eb3c8a2d180ahttp://dotnetomaniak.pl/Data/Thumbnails/small_hKqYQwpGl0ejMwlBc94nhw.pnghttps://dotnetomaniak.pl/Performance-testing-using-FsCheckPerformance testing using FsCheck2017-08-18T04:42:30Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_EtUj2bg6BUWxnPpWmDs-Lw.png"/></div><div>Tworząc aplikacje webowe, często zastanawiamy się, czy tworzony przez nas kod nie pogorszy czasów odpowiedzi całej aplikacji. W jaki sposób możemy kontrolować te czasy, tak by kontrola była jednym z elementów całego procesu CI w naszym projekcie. Jednocześnie zapewniając losowość danych, o które odputujemy sprawdzaną aplikację. Właśnie o tym jest ten artykuł, zapraszam do lektury :)</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/Performance-testing-using-FsCheck"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fmnie.github.io%2f2017-08-17-performanceTestsUsingFsCheck%2f" style="border:0px"/></a></div></div>mniehttps://dotnetomaniak.pl/Users/gw0u5lzf8EGMbud8rQ-EjA2017-08-26T05:46:26Zhttps://dotnetomaniak.pl/Performance-testing-using-FsCheck3670Tworząc aplikacje webowe, często zastanawiamy się, czy tworzony przez nas kod nie pogorszy czasów odpowiedzi całej aplikacji. W jaki sposób możemy kontrolować te czasy, tak by kontrola była jednym z elementów całego procesu CI w naszym projekcie. Jednocześnie zapewniając losowość danych, o które odputujemy sprawdzaną aplikację. Właśnie o tym jest ten artykuł, zapraszam do lektury :)https://mnie.github.io/2017-08-17-performanceTestsUsingFsCheck/http://dotnetomaniak.pl/Data/Thumbnails/small_EtUj2bg6BUWxnPpWmDs-Lw.pnghttps://dotnetomaniak.pl/F-web-z-Suave-MD-Tech-BlogF# web z Suave | MD Tech Blog2017-01-12T08:58:55Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small_hH25sk_cNUacIfgDHDy2Jg.png"/></div><div>Najpopularniejszym frameworkiem webowym dla aplikacji .NET jest ASP.NET MVC. Pracując w C# sprawdza się on się świetnie, ale bazuje na obiektowym paradygmacie programowania, co nie do końca współgra z funkcyjnym podejściem F#.
Na szczęście jest Suave, który pozwala na proste i funkcyjne pisanie aplikacji w F#.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/F-web-z-Suave-MD-Tech-Blog"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=http%3a%2f%2fwww.md-techblog.net.pl%2f2017%2f01%2ffsharp-suave%2f" style="border:0px"/></a></div></div>manio143https://dotnetomaniak.pl/Users/03m9PeuZaE-jS6REtyFJMg2017-01-19T16:08:52Zhttps://dotnetomaniak.pl/F-web-z-Suave-MD-Tech-Blog1770Najpopularniejszym frameworkiem webowym dla aplikacji .NET jest ASP.NET MVC. Pracując w C# sprawdza się on się świetnie, ale bazuje na obiektowym paradygmacie programowania, co nie do końca współgra z funkcyjnym podejściem F#.
Na szczęście jest Suave, który pozwala na proste i funkcyjne pisanie aplikacji w F#.http://www.md-techblog.net.pl/2017/01/fsharp-suave/http://dotnetomaniak.pl/Data/Thumbnails/small_hH25sk_cNUacIfgDHDy2Jg.pnghttps://dotnetomaniak.pl/F-wyrazenia-Keraxels-Binary-ThoughtsF#: wyrażenia2016-05-01T13:02:00Z<div><div><div style="float:right"><img alt ="" src="http://dotnetomaniak.pl/Data/Thumbnails/small__D5_TibUCECPeSbkOqT4sw.png"/></div><div>Wyjaśniam, dlaczego wyrażenia są bezpieczniejsze od twierdzeń oraz jak zwiększyć czytelność wyrażeń w F#.</div></div><div style="padding-top:4px"><a rev="vote-for" href="https://dotnetomaniak.pl/F-wyrazenia-Keraxels-Binary-Thoughts"><img alt="Podbij ↑" src="https://dotnetomaniak.pl/image.axd?url=https%3a%2f%2fkeraxel.net%2f2016%2f04%2ffsharp-wyrazenia%2f" style="border:0px"/></a></div></div>Keraxelhttps://dotnetomaniak.pl/Users/Yq0jn8chMU6ygBt4mfTmZw2016-05-05T09:19:19Zhttps://dotnetomaniak.pl/F-wyrazenia-Keraxels-Binary-Thoughts2860Wyjaśniam, dlaczego wyrażenia są bezpieczniejsze od twierdzeń oraz jak zwiększyć czytelność wyrażeń w F#.https://keraxel.net/2016/04/fsharp-wyrazenia/http://dotnetomaniak.pl/Data/Thumbnails/small__D5_TibUCECPeSbkOqT4sw.png