News

Q&A with Philip Japikse: Top Tips for Moving to ASP.NET Core 2 for Web Apps and RESTful Services

Microsoft MVP, consultant, author and trainer Philip Japikse knows ASP.NET inside and out and, in his session, "ASP.NET Core 2 for Mere Mortals" at the upcoming Live! 360 conference in Orlando, Florida, he'll walk attendees how to move their Web apps forward with ASP.NET Core 2. We recently got a chance to talk with Japikse in which he shared some of his top tips for this transition, among other advice:

What is the No. 1 thing developers need to know before moving to ASP.NET Core 2 for their Web apps and RESTful services?
The number one thing is that it isn't a "port." In other words, there isn't a migration path from MVC5/WebAPI2.2 to ASP.NET Core. It is foundationally different. While some of the controller and model code can be clip-board inherited (copied from old project and pasted into the new project), there are so many new features and paradigms with ASP.NET Core that it's best to start from scratch. All new projects that we do (with my consulting) are ASP.NET Core, but if you have a working MVC5/WebAPI2.x solution, you might not want to move it to Core.

What's No. 2?
Performance and features. (OK, so No. 2 and No. 3). Performance is now part of the definition of done with the team, not something to be bolted on after the fact.

"We are noticing significant (order of magnitude) improvement in perf with our ASP.NET Core and Entity Framework Core applications."

Philip Japikse, Microsoft MVP, MCSD, CSM, and CSP Developer, Coach, Author, Teacher

We are noticing significant (order of magnitude) improvement in perf with our ASP.NET Core and Entity Framework Core applications. The second is features. There are so many new features in ASP.NET Core (like the new configuration system, tag helpers, view components, the built-in DI system) that make development in ASP.NET Core modern and current. This really isn't your mother's ASP.NET. By the way, I cover all of the new features in this talk.

What's your favorite feature(s) of ASP.NET Core 2 in this context?
Almost too many to list here. Certainly the new environmental awareness, the new configuration system, pluggable middle ware, tag helps , view components ... OK, I admit I really like all of the new features in ASP.NET Core.

What limitations may developers run across?
Legacy code is the biggest issue. Many of my customers have old references to in-house projects that are old, and aren't compatible with .NET Standard. Having to pull in those references can be problematic (although much better with the Windows Compatibility pack).

What overall improvements are developers going to see when they move their apps and RESTful services to ASP.NET Core 2?
Performance. Not only from the running application, but also from a development perspective. ASP.NET Core is truly a modern development platform, and helps to create amazing applications instead of getting in the way (as MVC5/WebAPI2.2 could). This is due to the fact that ASP.NET and EF Core are a complete re-write from ASP.NET and Entity Framework, so a lot of the baggage was left behind.

Want more? Don't miss Phil's Hands-On Lab "Develop an ASP.NET Core2 and EF Core 2 App in a Day," also at Live 360!

About the Author

Becky Nagel serves as vice president of AI for 1105 Media specializing in developing media, events and training for companies around AI and generative AI technology. She also regularly writes and reports on AI news, and is the founding editor of PureAI.com. She's the author of "ChatGPT Prompt 101 Guide for Business Users" and other popular AI resources with a real-world business perspective. She regularly speaks, writes and develops content around AI, generative AI and other business tech. She has a background in Web technology and B2B enterprise technology journalism.

comments powered by Disqus

Featured

  • Mastering Blazor Authentication and Authorization

    At the Visual Studio Live! @ Microsoft HQ developer conference set for August, Rockford Lhotka will explain the ins and outs of authentication across Blazor Server, WebAssembly, and .NET MAUI Hybrid apps, and show how to use identity and claims to customize application behavior through fine-grained authorization.

  • Linear Support Vector Regression from Scratch Using C# with Evolutionary Training

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the linear support vector regression (linear SVR) technique, where the goal is to predict a single numeric value. A linear SVR model uses an unusual error/loss function and cannot be trained using standard simple techniques, and so evolutionary optimization training is used.

  • Low-Code Report Says AI Will Enhance, Not Replace DIY Dev Tools

    Along with replacing software developers and possibly killing humanity, advanced AI is seen by many as a death knell for the do-it-yourself, low-code/no-code tooling industry, but a new report belies that notion.

  • Vibe Coding with Latest Visual Studio Preview

    Microsoft's latest Visual Studio preview facilitates "vibe coding," where developers mainly use GitHub Copilot AI to do all the programming in accordance with spoken or typed instructions.

  • Steve Sanderson Previews AI App Dev: Small Models, Agents and a Blazor Voice Assistant

    Blazor creator Steve Sanderson presented a keynote at the recent NDC London 2025 conference where he previewed the future of .NET application development with smaller AI models and autonomous agents, along with showcasing a new Blazor voice assistant project demonstrating cutting-edge functionality.

Subscribe on YouTube