Web Application Without Model

Jela 1 Reputation point
2021-02-11T03:03:27.207+00:00

Is there any other way to create an ASP.NET Web Application .NET Framework (as Frontend) without using a Model class?

I'm using ASP.NET Core Web Application as Backend.

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

2 answers

Sort by: Most helpful
  1. Michael Wang-MSFT 1,061 Reputation points
    2021-02-12T06:14:14.387+00:00

    Hi, @Jela ,

    The model classes represents domain-specific data and business logic in the MVC application. It represents the shape of the data as public properties and business logic as methods. It can be used in the view to populate the data, as well as sending data to the controller.

    If you have simply data to present, you can create view without model.

    Here is the introduction of ASP.NET MVC Pattern and the overview of ASP.NET Core Model-View-Controller(MVC).

    ---

    If the answer doesn’t solve your issue, please provide more details of error that will help us track down what’s happening.
    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.

    Best Regards,
    Michael Wang

    0 comments No comments

  2. Duane Arnold 3,216 Reputation points
    2021-02-13T20:39:17.573+00:00
    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.