ASP.NET Core is not continuation of ASP.NET, it's totally new, redesigned, cross-platform, high-performance, open-source framework. It's crucial in the GrandNode e-commerce development.
It is worth to mention, that not only for us it is a very important change.
Many developers have used ASP.NET to create web apps, as we used it to create GrandNode. ASP.NET Core is a redesign of ASP.NET, with architectural, core changes that result in a cleaner, faster and modular framework.
ASP.NET Core provides the following benefits:
- Built-in dependency injection.
- A lightweight, high-performance, and modular HTTP request pipeline.
- Ability to host on IIS or self-host in your own process.
- Tooling that simplifies modern web development.
- Ability to build and run on Windows, macOS, and Linux.
- Open-source and community-focused.
ASP.NET Core ships entirely as NuGet packages. This allows you to optimize your app to include just the NuGet packages you need. The benefits of a smaller app surface area include tighter security, reduced servicing, and improved performance.
1. Multi platform, cross-platform
For years .NET technologies were related with Windows. Now it has changed. Application written in ASP.NET Core will work on each platform.
ASP.NET Core is no longer closely related to the IIS server. It's easier to host pages written in ASP.NET Core. What does it mean for you? Your application can be run on Mac, Linux and Windows.
It gives you many new possibilities, if you are not familiar with Windows Servers, you are able to host your online stores on Linux server. It's also good to remember that we use MongoDB, which is Linux friendly database.
2. Less framework, more performance
ASP.NET Core has been also slimmed out of many of its functionality. Many of these functions had to exist because the system was closely related to Windows. Now that chains are gone, many unnecessary features have been removed. How does this effect us? Better performance, of course. It's crucial in GrandNode.
ASP.NET Core is no longer offering Web Forms. So there was another slimming, in my opinion a plus. Programming in ASP.NET Web Forms nowadays creates more problems than solutions. It is better to don't have this programming option at all.
When the framework was slimmed down and the connection with Windows disappeared applications have accelerated.
3. Better structure
It has been simplified. ASP.NET Core keeps us to controlers place in the folder Controller, views to the Views folder, etc.
When you will open solution, for sure you will see that we use view components instead of view partials.
So far, static files like scripts, css files, images have not had their own destination directory. GrandNode has the "Content" directory where were placed all these files. In the ASP.NET Core 2.0 we have dedicated directory called "wwwroot".
No more web.config file - all settings were moved to C# code. You will see it in project, just because IIS need it to keep its own settings.
4. TagHelpers
Tag Helpers enable server-side code to participate in creating and rendering HTML elements in Razor files. In ASP.NET MVC, you previously used Razor syntax to add specific items to the view. For example, the using syntax (Html.beginForm) creates a form.
5. Modular
The whole framework was divided into packages. Each ASP.NET Core component is a package that has its packages. What does it mean for us? We can choose only necessary packages. This has impact on your online store performance.
6. Conclusion
Moving GrandNode to ASP.NET Core 2.0 was our biggest challenge. It's the largest and the most labor-intesive update in the history of the GrandNode. For sure it is crucial update taking into cosideration next months of GrandNode promotion and development. Basing on ASP.NET Core 2.0 not only you get pluses, it is also milestone for us.
As you know, in the last updates we were focused on improving performance, speed and safety of GrandNode. ASP.NET Core 2.0 improves it even more. It is not problem for you to upload milion products and handle dozen of thousands users online.
When we are talking about GrandNode as a multi platform solution, I want to remind you that we use also multi platform database engine - MongoDB! So you are not limited to MSSQL as it was before.
Below you can find list of the benefits of using NoSQL - MongoDB:
NoSQL database in GrandNode is primarily designed for supporting decentralized systems that target cloud applications. A NoSQL database like MongoDB typically offers the following benefits over other database management systems:
Continuously Available: A database that stays online even in the face of the most devastating infrastructure outages.
Geographically Distributed: Fully active data, everywhere you need it.
Operationally Low Latency: Response times fast enough for your most intense operational cloud applications.
Linearly Scalable: Predictably scale to meet the current and future data needs of cloud applications.
Immediately Decisive: Full range of data manipulation capabilities tightly integrated into a single system.
Functionally Cohesive: Coherent integration and interoperability of mixed workloads and multiple data models.
Operationally Mature: Enterprise-ready data management for cloud applications.
Low TCO: No requirements for specialized hardware or ancillary software.
7. Key features coming from NoSQL implementation
If you are still not convinced to use MongoDB, please look at the list of key features coming from MongoDB implementation in project.
- No more relational complexity
- Flexible
- Best suited for dynamic eCommerce operations
- Best for read-heavy scenarios
- Scalable, efficient architecture
- Strong, free community support
- Imprvoed performance and high availability
- Cost effectiveness
Let's reach us and talk about perfect implementation of your e-commerce!