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
19
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
38
One Build, Multi Platform
peacecwz
0
26
Other Decks in Programming
See All in Programming
CSC307 Lecture 17
javiergs
PRO
0
110
漸進。
ssssota
0
1.7k
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
3
1.9k
機械学習って何? 5分で解説頑張ってみる
kuroneko2828
0
190
Go Modules: From Basics to Beyond / Go Modulesの基本とその先へ
kuro_kurorrr
0
100
Using AI Tools Around Software Development
inouehi
0
1.1k
OpenNext + Hono on Cloudflare でイマドキWeb開発スタックを実現する
rokuosan
0
120
XSLTで作るBrainfuck処理系
makki_d
0
180
REST API設計の実践 – ベストプラクティスとその落とし穴
kentaroutakeda
2
360
ワイがおすすめする新潟の食 / 20250530phpconf-niigata-eve
kasacchiful
0
290
Parallel::Pipesの紹介
skaji
2
900
実はすごいスピードで進化しているCSS
hayato_yokoyama
0
110
Featured
See All Featured
Making Projects Easy
brettharned
116
6.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
14
1.5k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Why Our Code Smells
bkeepers
PRO
337
57k
Thoughts on Productivity
jonyablonski
69
4.7k
What's in a price? How to price your products and services
michaelherold
245
12k
Speed Design
sergeychernyshev
30
980
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
106
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.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]