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
色々なIaCツールを実際に触って比較してみる
iriikeita
0
270
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
9
1k
Kotlin2でdataクラスの copyメソッドを禁止する/Data class copy function to have the same visibility as constructor
eichisanden
1
140
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
7
2.8k
GitHub Actionsのキャッシュと手を挙げることの大切さとそれに必要なこと
satoshi256kbyte
5
390
外部システム連携先が10を超えるシステムでのアーキテクチャ設計・実装事例
kiwasaki
1
230
Pinia Colada が実現するスマートな非同期処理
naokihaba
2
160
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
430
C#/.NETのこれまでのふりかえり
tomokusaba
1
160
PLoP 2024: The evolution of the microservice architecture pattern language
cer
PRO
0
1.6k
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
130
Identifying User Idenity
moro
6
7.9k
Featured
See All Featured
Git: the NoSQL Database
bkeepers
PRO
425
64k
Side Projects
sachag
452
42k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
The Cult of Friendly URLs
andyhume
78
6k
Become a Pro
speakerdeck
PRO
24
5k
Adopting Sorbet at Scale
ufuk
73
9k
Building Your Own Lightsaber
phodgson
102
6.1k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Why Our Code Smells
bkeepers
PRO
334
57k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
150
Into the Great Unknown - MozCon
thekraken
31
1.5k
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]