Migration is hard, going at it alone is harder. My team at Microsoft has spent years working with customers - we heard one message loud and clear: please don't skip the hard parts when you offer migration guidance.
Run the app and observe the CRUD operations for ODE to Food an MVC web app with a Web API backend that uses an in-memory dataset.
-
Restore the DotNetCompilerPlatform package.
Use the Package Manager Console to run the following command for both ASP.NET web projects.
Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
-
Set multiple startup projects
https://learn.microsoft.com/en-us/visualstudio/ide/how-to-set-multiple-startup-projects?view=vs-2022
-
Start the solution and view the Restaurants page
You are now ready to use the Pull Requests to learn about how to apply Configuration Builders for External Configuration and Polly to build reliable service communication.
Note
For ASP.NET Core web apps we recommend learning about the new Microsoft Extensions packages. Watch Brady Gaster introduce them at BUILD 2023 in his talk Cloud-native development with .NET 8 | BRK201H.
- Reliable web app pattern - Azure Architecture Center | Microsoft Learn
- Retry pattern - Azure Architecture Center | Microsoft Learn
- Make HTTP requests using IHttpClientFactory in ASP.NET Core | Microsoft Learn
- HttpClient guidelines for .NET - .NET | Microsoft Learn
- Use the IHttpClientFactory - .NET | Microsoft Learn
- Configuration builders for ASP.NET | Microsoft Learn
- Cloud-native development with .NET 8 | BRK201H
- Migrate an ASP.NET web application to Azure with Visual Studio - Training | Microsoft Learn
- Cache ASP.NET Session State Provider | Microsoft Learn
- Tutorial: Access data with managed identity - Azure App Service | Microsoft Learn
- How to authenticate .NET applications with Azure services | Microsoft Learn
- Azure Identity 101 - DefaultAzureCredential | Jon Gallant
Tips for dealing with issues.
Server Error: Could not find a part of the path
- Use the Package Manager Console to run the following command for both ASP.NET web projects.
Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r
Server Error: No connection could be made
- Configure the solution to set both web apps as startup projects.