Should I leave ASP.NET Web Forms and Move to ASP.NET Core?!

Waleed 6 Reputation points
2021-07-27T04:10:44.243+00:00

Hello,

I'm ASP.NET Web Forms Developer since many years. Recently I worked with ASP.NET Core and Entity Framework. I found totally change in everything between the Web Forms and .NET Core.

Essential changes for me are no Design View anymore! and no SQL Query (SqlCommand) everywhere instead Entity Framework is the popular now. The structure of the Solution files and folder completely changed. Even the famous Web.Config file is not exist anymore.

My question is, should I leave the ASP.NET Web Forms and I start to do my new projects using ASP.NET Core? It's the right step?

I read some general articles but I look up for short and direct friendly answer. Thank you in advance.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,560 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,490 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Yijing Sun-MSFT 7,081 Reputation points
    2021-07-27T08:34:10.6+00:00

    Hi @Waleed ,
    I suggest you use asp.net core. As far as I think,WebForm is outdated. Currently,ASP.NET Core have very good prospects.
    ASP.NET Core provides the following benefits:

    • Fast - It is a lightweight, high-performance web framework.
    • Integration of Modern UI Framework - ASP.NET Core support modern, a Client-side framework like AngularJs, ReactJs and React with Redux etc. ASP.NET framework supports client-side framework templates like AngularJs, ReactJs and React with Redux etc.
    • Hosting - It has the ability to host on IIS, Apache, Docker or Self Hosting.
    • Cross Platform - ASP.NET Core web application can run on Windows, Mac, Linux development tools.
    • Support Built-In Dependency Injection - It supports built-in Dependency Injection.
    • Supports Modular - It support modular HTTP request.
    • Open-Source - It is an open-source and community-focused web framework.
    • Side-by-side app versioning - ASP.NET Core runs on .NET Core which supports the simultaneous running of multiple versions of applications.
    • A unified story for building web UI and web APIs.

    Best regards,
    Yijing Sun


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our  documentation  to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Bruce (SqlWork.com) 65,316 Reputation points
    2021-07-27T14:32:24.393+00:00

    As webforms is a legacy platform, you will need to move to a new technology at some point. You might also look at a razor pages.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.