GithubHelp home page GithubHelp logo

mattleach25 / dotnet47wincontainermodernize Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure-samples/dotnet47wincontainermodernize

0.0 0.0 0.0 25.84 MB

Step by step modernization of a DotNet Web Forms application to run in a Windows Server 2022 Container on Azure

License: MIT License

Shell 6.17% JavaScript 77.26% C# 10.06% CSS 1.02% Dockerfile 0.36% TSQL 0.18% ASP.NET 4.60% Bicep 0.37%

dotnet47wincontainermodernize's Introduction

Modernising a DotNet Framework app to Windows Containers

This guide provides a step by step, developer centric view of migrating legacy ASP.NET applications to Azure.

For a tool based approach using Azure Migrate: App Containerization tool, please see https://docs.microsoft.com/azure/migrate/tutorial-app-containerization-aspnet-kubernetes or https://docs.microsoft.com/azure/migrate/tutorial-app-containerization-aspnet-app-service, noting that (at the time of writing) the tooling doesn't support Apps that use Windows Authentication or have non IIS dependencies.

The App

The application chosen for this guide is from the eShopModernizing repo. It's a DotNet Framework 4.7 Web Forms Application.

The Objective

To iteratively work with the application, modernising it step by step to eventually run in a Windows 2022 container. Once containerised there will be guidance on running it in a number of Azure Container Compute services.

Code changes to the application will be minimized, and migration from DotNet Framework to DotNet is not in scope.

The steps

Step # Title Description
1 Getting the app running locally Using Visual Studio, we'll get the eShop app up and running
2 On a Virtual Machine Getting the app running on an Azure VM.
3 SQL Database Using SQL instead of the in-memory Database
4 App Service Hosting the application in the App Service PaaS platform
5 Windows Containerisation Focussing on creating a Windows Container
6 Windows Container Compute Reviewing the options for running a Windows Container
7 Web App for Containers Deploying the app to Web App for Containers
8 Kubernetes Deploying the app to Kubernetes
9 Windows 2022 Changing the base image, re-reviewing compute options

Links

Azure app Service Team Blog - Windows Containers Docs - Windows Containers

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

dotnet47wincontainermodernize's People

Contributors

microsoftopensource avatar dependabot[bot] avatar microsoft-github-operations[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.