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
12
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
60
Asynchronous Processing with Outbox Pattern in .NET Core 3.0
peacecwz
0
170
Introduction to NoSQL Solutions with Couchbase and .NET Core
peacecwz
0
33
One Build, Multi Platform
peacecwz
0
21
Other Decks in Programming
See All in Programming
Pinia Colada が実現するスマートな非同期処理
naokihaba
2
160
Go言語でターミナルフレンドリーなAIコマンド、afaを作った/fukuokago20_afa
monochromegane
2
140
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.7k
開発効率向上のためのリファクタリングの一歩目の選択肢 ~コード分割~ / JJUG CCC 2024 Fall
ryounasso
0
360
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
150
Amazon Neptuneで始めてみるグラフDB-OpenSearchによるグラフの全文検索-
satoshi256kbyte
4
330
弊社の「意識チョット低いアーキテクチャ」10選
texmeijin
5
23k
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
250
cXML という電子商取引の トランザクションを支える プロトコルと向きあっている話
phigasui
3
2.3k
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
430
Android 15 でアクションバー表示時にステータスバーが白くなってしまう問題
tonionagauzzi
0
140
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
7
2.8k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
290
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.8k
Ruby is Unlike a Banana
tanoku
96
11k
What's new in Ruby 2.0
geeforr
342
31k
Writing Fast Ruby
sferik
626
61k
GitHub's CSS Performance
jonrohan
1030
460k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
How GitHub (no longer) Works
holman
311
140k
A Tale of Four Properties
chriscoyier
156
23k
KATA
mclloyd
29
13k
4 Signs Your Business is Dying
shpigford
180
21k
Thoughts on Productivity
jonyablonski
67
4.3k
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]