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
状態管理ライブラリZustandの導入から運用まで
k1tikurisu
3
470
いつか使える ObjectSpace / Maybe useful ObjectSpace
euglena1215
2
140
Securify_エンジニア採用資料
3shake
0
100
watsonx.ai Dojo #2 生成AIを使ったアプリ開発入門編
oniak3ibm
PRO
0
190
Increased Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
380
事業フェーズの変化に対応する 開発生産性向上のゼロイチ
masaygggg
0
200
オートマトン学習しろ / Do automata learning
makenowjust
3
130
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
私のEbitengineの第一歩
qt_luigi
0
450
XStateでReactに秩序を与えたい
gizm000
0
730
What you can do with Ruby on WebAssembly
kateinoigakukun
0
170
実践!難読化ガイド
mitchan
0
200
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
24
610
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
36
1.7k
A Tale of Four Properties
chriscoyier
155
22k
Statistics for Hackers
jakevdp
794
220k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
248
20k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
663
120k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
278
13k
The Pragmatic Product Professional
lauravandoore
31
6.2k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
8.9k
Optimising Largest Contentful Paint
csswizardry
31
2.8k
Product Roadmaps are Hard
iamctodd
PRO
48
10k
Adopting Sorbet at Scale
ufuk
73
8.9k
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]