MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.23k stars 21.41k forks source link

.NET Core has been deprecated - need update to code for Function App #76998

Closed gcontrabass closed 2 years ago

gcontrabass commented 3 years ago

Function App code meant to work in .NET Core runtime. That is no longer available.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

AjayKumar-MSFT commented 3 years ago

@gcontrabass, Thanks for the feedback! We are taking a look into this and will get back to you soon.

KalyanChanumolu-MSFT commented 3 years ago

@gcontrabass Thank you for taking the time to provide feedback. .Net Core 3.1 is an LTS release and supported until December 2022. More details are here Rest assured, the tutorial is still relevant and up to date.

gcontrabass commented 3 years ago

The tutorial: https://docs.microsoft.com/en-us/azure/azure-maps/tutorial-iot-hub-maps says:

Quote

On the Function App creation page, name your function app. Under Resource Group, select ContosoRental from the drop-down list. Select .NET Core as the Runtime Stack. At the bottom of the page, select Next: Hosting

End quote

When you try to do this, .NET Core is not available.

Here is what I get when I try to select the Runtime Stack: I tried adding a screen shot... image

The choices available are:

.NET Node.js Python Java PowerShell Core Custom Handler

If you select .NET the only Version available is 3.1

The code to be used in the tutorial uses at least one .NET Core resource.

Quote

using Microsoft.AspNetCore.Mvc;_

End quote

Azure documentation that I've read said .NET Core would be deprecated.

What am I doing wrong that would not allow me to use .NET Core in the Function App?

Thank you.

anaharris-ms commented 3 years ago

.NET 3.1 is .NET Core. I can update the docs to say ".NET"

anaharris-ms commented 2 years ago

please-close