{{announcement.body}}
{{announcement.title}}

Porting your legacy crapware to .Net Core and Angular in 1 second

DZone 's Guide to

Porting your legacy crapware to .Net Core and Angular in 1 second

Still living in the stone age? Don't become obsolete as a system developer. Demand from your management to be able to use the latest tech, coolest tools, and most modern frameworks. Here's how!

· Web Dev Zone ·
Free Resource

Over the years, I have seen so many legacy systems, built on ancient technology, that I could probably demand a PhD in legacy crapware. I once worked for a FinTech company that was using Open Source components that had officially been abandoned by its developer more than a decade ago. Working with jQuery, Durandal and .Net Framework instead of .Net Core today, simply doesn't cut it. In addition, the results of working with such projects, is that you as a developer slowly withers away, and become obsolete over time. Hence, you should do everything you can, to argue in favour of upgrading these legacy systems, to a modern platform, such as Angular and .Net Core.

From your management's perspective though, this process is only costs. They know they had 20+ developers, working for 20+ years, to maintain their garbage - And hence, therefor they believe it'll take 20+ developers for 20+ years to replace it. In such a regard, your management is still living in the stone age, believing in stone age tools, and stone age processes - While the rest of the world silently gained cold fusion capacity, without them even noticing. There are simply no arguments today that dictates that it requires the same amount of resources to replace their legacy projects, as it took to create it in the first place. In fact, often replacing such systems can be done surprisingly much faster than they think, and a lot of their existing structure can also be transferred into the new codebase.

Magic is an automation tool that reads metadata from your database to generate CRUD HTTP REST endpoints for you, on top of the .Net Core 3 runtime may I add. Then it generates an Angular frontend for you, automatically - And all this by you simply clicking a button!

Afterwards, the results is a .Net Core Web API, with a SPA Angular frontend, which you can modify as you see fit. Some of the features Magic gives you, can be found below.

  • Authentication and Authorisation - Check!
  • CRUD endpoints for every single database table you have in your SQL Server database, or MySQL database - Check!
  • The ability to dynamically create tasks, either to periodically schedule these tasks, or for creating workflows for your enterprise - Check!
  • An easily extendible DSL for your own needs, to create rule based engines, and dynamically orchestrate your CLR components together - Check!
  • An Angular frontend with Ajax loaders, navbars, routing, paging, sorting and filtering of your grids - Check!

And more importantly, it gives you these features in 1 second. Watch this YouTube playlist for a demonstration of the system and its features. After you have generated your backend and frontend, you can create any amounts of custom ControllerBase endpoints you wish, pull in Entity Framework, and create the rest of your system leveraging your existing knowledge. However, due to the fact that arguably 50% of most enterprise applications is pure CRUD, this implies that 50% of your (boring) job is now simply done - And you can already within 1 second show a GUI to your manager, and hopefully have them agree on allowing you to get rid of your legacy crapware.

Life is simply too short to use jQuery in 2020

And even if the above doesn't convince your management, then inform them of how much time you're using to maintain your database on a daily basis. Then inform them that creating a "second app", wrapping your database, allows you to grant access to this "second app" to your enterprise's back office workers, making your job easier, and their jobs simpler. Then slowly over time, you simply create new features into this second app, until one day the new app simply is superior to the legacy app, and they'll agree with you to throw the original codebase away, and allow you entrance into the 21st Millennium. Because seriously, we've got cars, airplanes and skyscrapers today - No needs to keep living in that cave dude ...

Magic's price you may ask now? €49 per developer, allowing a single developer to deploy Magic unto an infinite amount of production servers. Some fairly might 49 EUROs if you ask me ...

It's OK, you can leave the cave now

Topics:
.net core 3, crud anguar

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}