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

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

  • VS Code Copilot Previews New GPT-4o AI Code Completion Model

    The 4o upgrade includes additional training on more than 275,000 high-quality public repositories in over 30 popular programming languages, said Microsoft-owned GitHub, which created the original "AI pair programmer" years ago.

  • Microsoft's Rust Embrace Continues with Azure SDK Beta

    "Rust's strong type system and ownership model help prevent common programming errors such as null pointer dereferencing and buffer overflows, leading to more secure and stable code."

  • Xcode IDE from Microsoft Archrival Apple Gets Copilot AI

    Just after expanding the reach of its Copilot AI coding assistant to the open-source Eclipse IDE, Microsoft showcased how it's going even further, providing details about a preview version for the Xcode IDE from archrival Apple.

Subscribe on YouTube

Upcoming Training Events