Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Migrate .NET Application to .NET Core
Search
Baris Ceviz
November 04, 2018
Programming
0
21
Migrate .NET Application to .NET Core
Baris Ceviz
November 04, 2018
Tweet
Share
More Decks by Baris Ceviz
See All by Baris Ceviz
Getting Started with gRPC-Web & Blazor
peacecwz
0
65
Asynchronous Processing with Outbox Pattern in .NET Core 3.0
peacecwz
0
180
Introduction to NoSQL Solutions with Couchbase and .NET Core
peacecwz
0
39
One Build, Multi Platform
peacecwz
0
28
Other Decks in Programming
See All in Programming
オンコール⼊⾨〜ページャーが鳴る前に、あなたが備えられること〜 / Before The Pager Rings
yktakaha4
2
1.2k
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
3
300
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
570
GPUを計算資源として使おう!
primenumber
1
300
Go製CLIツールをnpmで配布するには
syumai
0
890
型で語るカタ
irof
1
880
CDK引数設計道場100本ノック
badmintoncryer
2
590
#QiitaBash TDDで(自分の)開発がどう変わったか
ryosukedtomita
1
180
Android 15以上でPDFのテキスト検索を爆速開発!
tonionagauzzi
0
170
Jakarta EE Meets AI
ivargrimstad
0
450
CIを整備してメンテナンスを生成AIに任せる
hazumirr
0
360
MySQL9でベクトルカラム登場!PHP×AWSでのAI/類似検索はこう変わる
suguruooki
1
260
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
860
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Gamification - CAS2011
davidbonilla
81
5.4k
A Modern Web Designer's Workflow
chriscoyier
695
190k
The Invisible Side of Design
smashingmag
301
51k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.5k
The Pragmatic Product Professional
lauravandoore
35
6.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
770
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building an army of robots
kneath
306
45k
Transcript
Migrate .NET Application to .NET Core Baris Ceviz Software Developer
@ Trendyol @PeaceCwz https://barisceviz.com/
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
.NET & .NET Core Platforms
.NET Framework .NET Standard .NET Mono .NET Core .NET Micro
All .NET Frameworks
.NET Framework Versions
Analyze and Find Dependencies
Legoloman
Legoloman Usage
ESH Package Manager
.NET ApiPort
.NET ApiPort
Multiple Target Frameworks
None
Referencing and target frameworks •Write conditions and package or assembly
reference grouping
None
None
None
. Net Core App (appsettings.json) •Framework specific configuration reader •Multiple
frameworks support . Net App (app.config)
Calling methods with same codes
.NET Desktop Migration
Cannot migrate .NET Desktop app to .NET Core. Hopefully, It
will become in .NET Core 3.0
WCF Services or ASP.NET Web Services Migration
SOAP Core
WCF Service Implementation
Startup Configurations
ASP.NET Web Forms Migration
Cannot migrate ASP.NET Web Forms Applications
ASP.NET MVC Migration
Configurations Move Move resources to wwwroot folder Remov e Remove
Global.asax and move into Startup.cs Move Move Routing into Startup.cs
Views •Move Views folder to ASP.NET Core Views Folder •Remove
Scripts and Styles Renderer •Use async methods in Views
Bundling and minification .NET Core Framework not supported and recommended
runtime bundling and minification Supporting in build time
None
Bundling and minification in run-time
None
In ViewImpors Reference in Views Reference with Enviromment Bundling and
minification with Simidge
ASP.NET Web API Migration
•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
Q&A
May the source be with you Baris Ceviz Software Developer
@ Trendyol @PeaceCwz https://barisceviz.com/
[email protected]