2
Reply

Differences between ASP.NET and ASP.NET Core ?

Raj Bhatt

Raj Bhatt

1y
3.6k
0
Reply

ASP.NET applications can only run on Windows operating systems,
ASP.NET Core is designed to be cross-platform and can run on Windows, macOS, and Linux.

ASP.NET applications are typically deployed as full .NET Framework applications
ASP.NET Core applications can be deployed as self-contained applications or using the .NET Core runtime.

ASP.NET Core is generally faster and more lightweight than ASP.NET due to its modular architecture and optimized runtime.

ASP.NET Core has built-in support for dependency injection, while in ASP.NET you need to use a third-party library for this feature.

ASP.NET Core uses a middleware pipeline to handle requests, which allows for more granular control over the request handling process.
ASP.NET, we use HttpModules and HttpHandlers to handle requests

ASP.NET Core has a more flexible and streamlined configuration system compared to ASP.NET, which allows for easier configuration of the application at runtime.

ASP.NET Core introduces a new web application model called Razor Pages, which simplifies the creation of page-focused web applications.
In ASP.NET We can’t able to add C# logic in aspx page .

These are some of the key differences between ASP.NET and ASP.NET Core. Which framework to choose depends on the specific requirements of your project and the development team’s expertise.

    Compatibility-Window,Linux performance-Light Weight Modular frame work, Cross Platform Ecosystem opensource tools both work--.net core and full net framework

    1. Cross-Platform: ASP.NET Core supports cross-platform where as asp.net support only Windows.2. Open Source: ASP.NET Core is open source hence developers can change the framework code by them self whereas ASP.NET is not open source.3. Cloud Native: ASP.NET Core is designed to support the cloud easily where ASP.NET does not.4. Performance: ASP.NET Core application provide good performance over ASP.NET as ASP.NET Core follows the modular approach by splitting the large dll or namespaces into small chunk.5. Dependency Injection: ASP.NET Core has inbuild dependency injection support whereas ASP.NET don't have it.