# WebApi aspnetcore example

**URL:** <https://forums.fsharp.org/t/webapi-aspnetcore-example/1293>\
**Category:** Uncategorized\
**Tags:** beginners, dotnetcore\
**Created:** [May 15, 2020, 2:11pm UTC](https://forums.fsharp.org/t/webapi-aspnetcore-example/1293 "2020-05-15T14:11:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jkone27](https://yyz2.discourse-cdn.com/flex030/user_avatar/forums.fsharp.org/jkone27/32/735_2.png) [@jkone27](https://forums.fsharp.org/u/jkone27)\
**Post date:** [May 15, 2020, 2:11pm UTC](https://forums.fsharp.org/t/webapi-aspnetcore-example/1293/1 "2020-05-15T14:11:48Z")

</div>

Hello, I crated a simple example to show my colleagues the advantages of using F# over C#, and using type providers even in a small aspnetcore WebApi project.

in these context (data changes):

AppSetting.json changes FSharp.Data type provider  
Api changes (openapi) ease of connection via SwaggerProvider  
DB changes (added tables, rename column) via FSharp.Data.SqlProvider (to compare with EF db context)

uses also dbup to apply sql migrations

if you are interested here is the repo 🙂

> **[jkone27/FsharpWebApi](https://github.com/jkone27/FsharpWebApi)**
>
> fsharp web api example. Contribute to jkone27/FsharpWebApi development by creating an account on GitHub.
