You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: aspnetcore/migration/fx-to-core/areas/index.md
+8-73Lines changed: 8 additions & 73 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,79 +6,14 @@ ms.author: tasou
6
6
ms.date: 6/20/2025
7
7
uid: migration/fx-to-core/areas
8
8
---
9
-
# Complex migration scenarios - Deep dive areas
10
-
11
-
This section provides detailed guidance for migrating complex ASP.NET Framework features and scenarios that require careful consideration and specialized knowledge when moving to ASP.NET Core.
12
-
13
-
## Overview
14
-
15
-
While many ASP.NET Framework applications can be migrated to ASP.NET Core following standard patterns, certain areas present unique challenges due to fundamental architectural differences between the frameworks. This section focuses on the most complex migration scenarios that developers commonly encounter.
16
-
17
-
These deep dive guides address areas where:
18
-
19
-
* The ASP.NET Core equivalent requires significant architectural changes
20
-
* Multiple interconnected components need to be migrated together
21
-
* Legacy patterns need to be completely reimagined for modern development practices
22
-
* Platform-specific knowledge is required for successful migration
23
-
24
-
## Complex migration areas
25
-
26
-
The following guides provide comprehensive coverage of the most challenging migration scenarios:
27
-
28
-
### [HTTP Modules and Handlers Migration](http-modules.md)
29
-
30
-
HTTP modules and handlers represent one of the most complex migration scenarios due to fundamental differences in request processing architecture.
31
-
32
-
**Key challenges:**
33
-
* Understanding the shift from IIS-integrated pipeline to middleware pipeline
34
-
* Migrating complex module interactions and dependencies
35
-
* Handling order-dependent processing logic
36
-
* Converting Web.config-based configuration to code-based setup
37
-
38
-
**What you'll learn:**
39
-
*[Migrating HTTP Modules](http-modules.md) - Convert IHttpModule implementations to middleware
40
-
*[Migrating HTTP Handlers](http-handlers.md) - Transform IHttpHandler logic for ASP.NET Core
41
-
*[HttpContext Migration](http-context.md) - Adapt to the new HttpContext API surface
42
-
43
-
### Authentication and Authorization Patterns
44
-
45
-
Complex authentication scenarios often involve custom implementations that don't map directly to ASP.NET Core's identity system.
46
-
47
-
**Key challenges:**
48
-
* Migrating custom authentication modules
49
-
* Converting complex authorization logic
50
-
* Handling legacy session management patterns
51
-
* Integrating with existing identity providers
52
-
53
-
### Legacy Data Access and ORM Migration
54
-
55
-
Applications with complex data access patterns require careful migration planning.
56
-
57
-
**Key challenges:**
58
-
* Migrating from Entity Framework 6.x to Entity Framework Core
59
-
* Converting LINQ to SQL implementations
60
-
* Handling connection string management changes
61
-
* Migrating custom data access abstractions
62
-
63
-
### Configuration and Dependency Injection
64
-
65
-
ASP.NET Core's configuration and DI systems require significant changes to legacy patterns.
66
-
67
-
**Key challenges:**
68
-
* Migrating from Web.config to the new configuration system
69
-
* Converting to built-in dependency injection
70
-
* Handling complex service lifetime scenarios
71
-
* Migrating custom configuration providers
72
-
73
-
## Migration strategy recommendations
74
-
75
-
When tackling complex migration scenarios:
76
-
77
-
1.**Start with isolated components** - Begin with self-contained features that have minimal dependencies
78
-
2.**Plan for architectural changes** - Accept that direct port may not be the best approach
79
-
3.**Leverage modern patterns** - Use migration as an opportunity to adopt better practices
0 commit comments