Skip to content

Commit

Permalink
Merge pull request #6599 from MicrosoftDocs/main
Browse files Browse the repository at this point in the history
Publish to live, Friday 4 AM PST, 1/17
  • Loading branch information
ttorble authored Jan 17, 2025
2 parents 7126dcb + c61a06f commit 8a90bcc
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 86 deletions.
5 changes: 1 addition & 4 deletions docs/identity-platform/daemon-quickstart-portal-netcore.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,8 @@ ms.topic: concept-article
>
> #### Step 4: Run the application
>
> If you're using Visual Studio or Visual Studio for Mac, press **F5** to run the application. Otherwise, run the application via command prompt, console, or terminal:
> If you're using Visual Studio, press **F5** to run the application. Otherwise, run the application via command prompt, console, or terminal:
>
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.
>
> ```dotnetcli
> cd {ProjectFolder}\1-Call-MSGraph\daemon-console
> dotnet run
Expand Down
21 changes: 0 additions & 21 deletions docs/identity-platform/tutorial-web-api-dotnet-prepare-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,20 +54,6 @@ Use the following tabs to create an ASP.NET Core project within an IDE.
cd NewWebAPILocal
dotnet new web
```
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
1. Open Visual Studio, and then select **New**.
1. Under **Web and Console** in the left navigation bar, select **App**.
1. Under **ASP.NET Core**, select **API** and ensure **C#** is selected in the drop down menu, then select **Continue**.
1. Accept the default for the **Target Framework** and **Advanced**, then select **Continue**.
1. Enter a name for the **Project name**, this will be reflected in **Solution Name**. Provide a similar name to the one registered on the Microsoft Entra admin center, such as *NewAPI1*.
1. Accept the default location for the project or choose a different location, and then select **Create**.
>[!NOTE]
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.
---
## Configure the ASP.NET Core project
Expand Down Expand Up @@ -118,13 +104,6 @@ Identity related **NuGet packages** must be installed in the project for authent
dotnet add package Microsoft.Identity.Web
```
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
1. In the top menu, select **Tools** > **Manage NuGet Packages**.
1. Search for **Microsoft.Identity.Web**, select the `Microsoft.Identity.Web` package, select **Project**, and then select **Add Package**.
1. In the pop-up, ensure the correct project is selected, then select **Ok**.
1. Select **Accept** if other **License Acceptance** windows appear.
---
## Next steps
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,6 @@ In this tutorial, you learn how to protect an API endpoint by adding authenticat
...
```

### [Visual Studio for Mac](#tab/visual-studio-for-mac)

1. Start the application by selecting **Play the executing solution**.

>[!NOTE]
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.

---

The web page `http://localhost:{host}` displays an output similar to the following image. This is because the API is being called without authentication. In order to make an authorized call, refer to [Next steps](#next-steps) for how-to guides on how to access a protected web API.
Expand Down
8 changes: 0 additions & 8 deletions docs/identity-platform/tutorial-web-app-dotnet-call-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ Start the application by selecting **Start without debugging**.
dotnet run --launch-profile https
```
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
Start the application by selecting the **Play** icon.
>[!NOTE]
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.
---
1. Depending on your IDE, you may need to enter the application URI into the browser, for example `https://localhost:7100`. After the sign-in window appears, select the account in which to sign in with. Ensure the account matches the criteria of the app registration.
Expand Down
27 changes: 0 additions & 27 deletions docs/identity-platform/tutorial-web-app-dotnet-prepare-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,6 @@ Use the following tabs to create an ASP.NET Core project within an IDE.
dotnet new webapp
```
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
1. Open Visual Studio, and then select **New**.
1. Under **Web and Console** in the left navigation bar, select **App**.
1. Under **ASP.NET Core**, select **Web Application** and ensure **C#** is selected in the drop down menu, then select **Continue**.
1. Ensure the **Target Framework** is set to **.NET 6.0** at a minimum.
1. Enter a name for **Project name**, this is reflected in **Solution Name**. Provide a similar name to the one registered in the Microsoft Entra admin center, such as *NewWebAppLocal*.
1. Accept the default location for the project or choose a different location, and then select **Create**.
>[!NOTE]
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.
---
## Create and upload a self-signed certificate
Expand All @@ -95,20 +82,6 @@ The use of certificates is a suggested way of securing communication between cli
dotnet dev-certs https -ep ./certificate.crt --trust
```
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
1. Locate the **Terminal** option in your project.
1. Enter the following command to create a new self-signed certificate:
```powershell
dotnet dev-certs https -ep ./certificate.crt --trust
```
>[!NOTE]
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.
---
### Upload certificate to the Microsoft Entra admin center
Expand Down
18 changes: 0 additions & 18 deletions docs/identity-platform/tutorial-web-app-dotnet-sign-in-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,6 @@ Identity related **NuGet packages** must be installed in the project for authent
dotnet add package Microsoft.Identity.Web.DownstreamApi
```
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
1. In the top menu, select **Tools** > **Manage NuGet Packages**.
1. Search for **Microsoft.Identity.Web**, select the `Microsoft.Identity.Web` package, select **Project**, and then select **Add Package**.
1. Modify your search to read **Microsoft.Identity.Web.UI** and select **Add Packages**.
1. In the pop-up, ensure the correct project is selected, then select **Ok**.
1. Select **Accept** if additional **License Acceptance** windows appear.
>[!NOTE]
> Visual Studio for Mac is scheduled for retirement by August 31, 2024 in accordance with Microsoft’s [Modern Lifecycle Policy](/lifecycle/policies/modern). Visual Studio for Mac 17.6 will continue to be supported until August 31, 2024, with servicing updates for security issues and updated platforms from Apple.
> Refer to [What's happening to Visual Studio for Mac](/visualstudio/mac/what-happened-to-vs-for-mac) for more information.
---
## Implement authentication and acquire tokens
Expand All @@ -84,12 +72,6 @@ After installing the NuGet packages and adding necessary code for authentication
In the Explorer bar, select **Pages**, right-click **Shared**, and select **New File**. Give it the name *_LoginPartial.cshtml*.
### [Visual Studio for Mac](#tab/visual-studio-for-mac)
1. Expand **Pages**, right-click **Shared**, and then select **Add > Razor page**.
1. Select **Razor Page - Empty**, and then select **Add**.
1. Enter *_LoginPartial.cshtml* for the name, and then select **Add**.
---
### Edit the *_LoginPartial.cshtml* file
Expand Down

0 comments on commit 8a90bcc

Please sign in to comment.