DEV Community

Brady Holt
Brady Holt

Posted on • Originally published at geekytidbits.com on

2

Updating My ASP.NET Core Template to .NET Core 3.1

Back in 2016, I decided to build an ASP.NET Core template app so I could play with the framework and get a feel for working with .NET Core. It turned out to be a fun process but took a long time! Admittedly, I took it further than I initially planned to, by adding email functionality, scaffolding tests, building in database migrations, provisioning / deployment with Ansible, and much more. I learned a lot.

It become helpful to some others, to my joy. I got some contributions, questions, and some link backs to my repository as a reference. That type of interest and involvement in the open-source community is really what makes it fun and gives me encouragement to keep contributing.

Back in September, Victor Cardins asked if I planned to upgrade the template to .NET 3.0. It had been awhile since I worked with this project and the idea seemed to be too much to tackle with all the other things I was juggling at the time. But I had some spare time last week, and a burst of interest, so I decided to take the plunge. It took longer than I thought it would (of course) but I finally finished it. This upgrade was certainly rougher than than the upgrade from 2.0. to 2.1 as quite a few foundational APIs have changed. By far the biggest change was the deprecation of Microsoft.AspNetCore.SpaServices because I had to restructure how Webpack was integrated for on-demand bundling and HMR.

Repository Link

https://github.com/bradymholt/aspnet-core-react-template

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs