Difference between Asp.net and Asp.net Core
Let’s
understand the .NET Core before exploring the differences between ASP.NET and
ASP.NET Core.
- Open source framework maintained by Microsoft.
- It implements .NET standard specifications.
- .Net Framework only runs on windows. .NET Core applications can run on windows, macOS and Linux, Whereas .NET Framework is older runtime which existed in windows for many years.
Let’s understand
the ASP.NET Core
features
- Can build and run ASP.NET applications on operations system like windows,mac,linux..etc.
- ASP.NET core unifies MVC and Web API.
- Can host on IIS or self host on own process.
- Built in dependency injection support.
- Easy integration with client side frameworks like angular or react or knockout.
- Provides environment based configuration system.
- Light weight and moduler HTTP request pipe line.
- Supports side by side app versioning.
- Can be
downloaded as nuget package.
ASP.NET 4.x |
ASP.NET Core |
Build
for Windows |
Build
for Windows, macOS, or Linux |
Use Web Forms, SignalR, MVC, Web API, WebHooks,
or Web Pages |
Razor Pages is
the recommended approach to create a Web UI as of ASP.NET Core 2.x. See
also MVC, Web API,
and SignalR. |
One
version per machine |
Multiple
versions per machine |
Develop
with Visual
Studio using C#, VB, or F# |
Develop
with Visual
Studio, Visual
Studio for Mac, or Visual
Studio Code using C# or F# |
Good
performance |
Higher
performance than ASP.NET 4.x |
Use
.NET Framework runtime |
Use .NET Core runtime |
Comments
Post a Comment