What is ASP.NET?What is ASP.NET? ASP stands for Active Server Page. As can be understood from its opening, it is a server-side web development technology. Asp.net is the framework of web application development (framework). It was created by making significant improvements to the classic ASP developed by Microsoft. (C #, VB.NET) is a web development framework structure that can be used. Asp.net is a modern technology and allows the preparation of web pages, web applications, and XML web services. ASP.NET is not a programming language. One of the .net languages (C #, VB.net ..) to create a web application with Asp.net available. Visual Studio is used to develop a web application with Asp.net.
ASP.NET Web FormASP.NET Web Form Asp In the asp.net server controls (textbox, dropdown, etc.) on an aspx page, we can call webforms the structure of the data that is sent to the code for programmatic processing. Sun It offers an architectural structure that uses ready-to- drop, event-based concepts in abundance, has ready controls and is suitable for rapid development. This structure offers the convenience of developing desktop applications while developing the web.
Advantages of ASP.NET Web FormAdvantages of ASP.NET Web Form St ViewState Support: According to the HTTP protocol, data is lost during a request between two pages. WebForms saves this data with the ViewState object. For example, if the user enters an incorrect value and posts the form, if the form fails, the user will see that the values entered in the page reload have remained unchanged. So you don't have to enter the data again. This topic can be turned into an advantage for Web forms unless very large data is stored during the use of ViewState. RAPID Development (Rapid development): Provides rapid development thanks to the rich controls it offers.
Disadvantages of ASP.NET Web FormDisadvantages of ASP.NET Web Form Project Structure: There is no project structure that comes by default. A general project structure has not yet been established. Everyone can create their own structure. As the project develops, this will become a major problem. Performance: Page reload every time the page goes to and from the server. This results in an excessive increase in data, depending on the status of the page, and a slowdown in the cycling of data between the client and server each time. Control over HTML: You cannot manage too many HTML codes with web forms. You can't intervene in some places.
What is ASP.NET MVC? What is ASP.NET MVC? MV ASP.NET MVC has been developed by Microsoft to add the MVC pattern to ASP.NET. It is a framework. It consists of the initials of the words MVC, Model, View, Controller, and each word represents a different layer of MVC. Model: In the MVC world, the model is where the application data or status is stored, usually in the database or XML / JSON file format. The view is the layer that contains the interface that the client sees, usually created by using the data in the Model layer. Controller: The controller performs tasks such as processing the request from the client, bridging the Model and View layers.
Advantages of ASP.net MVCAdvantages of ASP.net MVC Project Structure: By default, a project structure is displayed. Thanks to the MVC architecture, models, controller classes and view pages are clearly separated from each other. In this way, no matter how large the project expands, it prevents complexity. Testability: After HTML pages and server-side language are separated, these codes can be tested and reused very easily. Performance: Because it doesn't use ViewState, it doesn't hold unnecessary data on the page, it doesn't increase the size of the page. Teamwork: View pages are not dependent on the methods in the Controller. Therefore, they can be developed separately. Tam Full Control over HTML: Provides complete control over HTML, as there are no ready controls. Since we produce the controls ourselves, With jquery libraries, we have full authority over these elements.
Disadvantages of ASP.net MVCDisadvantages of ASP.net MVC Not using an event, Requires basic knowledge of HTML-js, Lack of ViewState and PostBack operations
ASP.net CoreASP.net Core ASP.NET Core modern cloud-based Internet-connected applications it is a new open-source platform-independent framework for preparing web applications, IoT applications, and mobile backends.
Advantages of ASP.net CoreAdvantages of ASP.net Core Platform-independent operation (Cross-Platform): Windows, Linux, and macOS operating systems and .NET Core support environments. It is being developed for cross-platform operation. You don't have to host your applications on IIS on a Windows machine. You can host it on Linux or even Mac. Compatible: Compatible with .NET Framework, .NET Framework, Mono and Xamarin It can operate. Source Open Source: .NET Foundation project is .NET Core open Due to the source code, it is subject to a rapid development process. Github continues to be developed in accordance with the comments and requests of all software developers.