Skip to content

Commit

Permalink
Remove C#, whoopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermp committed Aug 24, 2018
1 parent 9f2eace commit cdc2fcf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/ide/quickstart-fsharp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Quickstart: Create an ASP.NET Core web service in F#"
description: "Learn how to create an ASP.NET Core web app in Visual Studio with C#, step-by-step."
description: "Learn how to create an ASP.NET Core web service in Visual Studio with F#, step-by-step."
ms.date: 08/24/2018
ms.prod: visual-studio-dev15
ms.technology: vs-acquisition
Expand All @@ -17,7 +17,7 @@ ms.workload:
---
# Quickstart: Use Visual Studio to create your first ASP.NET Core web service in F#

In this 5-10 minute introduction to the Visual Studio integrated development environment (IDE), you'll create a simple C# ASP.NET Core web application.
In this 5-10 minute introduction to the Visual Studio integrated development environment (IDE), you'll create an F# ASP.NET Core web application.

If you haven't already installed Visual Studio, go to the [Visual Studio downloads](https://visualstudio.microsoft.com/downloads/?utm_medium=microsoft&utm_source=docs.microsoft.com&utm_campaign=button+cta&utm_content=download+vs2017) page to install it for free.

Expand All @@ -43,7 +43,7 @@ First, you'll create an ASP.NET Core Web API project. The project type comes wit

![Solution Explorer with Controllers folder expanded in F# Web API project](../ide/media/hello-world-fs-sln-explorer.png)

2. Next, modify the `Get()` member to be this code:
2. Next, modify the `Get()` member to be the following:

```fsharp
[<HttpGet>]
Expand All @@ -52,7 +52,7 @@ member this.Get() =
ActionResult<string[]>(values)
```

The code is very simple. An F# array of values is bound to the `values` name, and then passed to the ASP.NET Core MVC framework as an `ActionResult`. ASP.NET Core will take care of the rest for you.
The code is straightforward. An F# array of values is bound to the `values` name, and then passed to the ASP.NET Core MVC framework as an `ActionResult`. ASP.NET Core will take care of the rest for you.

It should look like this in the editor:

Expand Down

0 comments on commit cdc2fcf

Please sign in to comment.