Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Migrate .NET Application to .NET Core

Migrate .NET Application to .NET Core

Baris Ceviz

November 04, 2018
Tweet

More Decks by Baris Ceviz

Other Decks in Programming

Transcript

  1. Migrate .NET Application to .NET Core Baris Ceviz Software Developer

    @ Trendyol @PeaceCwz https://barisceviz.com/
  2. Agenda •.NET & .NET Core Platforms •Analyze and find dependencies

    •Multiple Target Frameworks •.NET Desktop Migration •WCF/WS Migration •ASP.NET Web Forms & MVC & Web API Migration
  3. Configurations Move Move resources to wwwroot folder Remov e Remove

    Global.asax and move into Startup.cs Move Move Routing into Startup.cs
  4. Views •Move Views folder to ASP.NET Core Views Folder •Remove

    Scripts and Styles Renderer •Use async methods in Views
  5. Bundling and minification .NET Core Framework not supported and recommended

    runtime bundling and minification Supporting in build time
  6. •Remove Global.asax and move into Startup.cs •Modify HttpContext to HttpContextAccessorFactory

    •Use Dependency Injection •If you are using Identity, Should be review and change table Schemas in SQL Configurations
  7. Q&A