Is it possible to create web application with both webforms and mvc?

Yes. We have to include below mvc assembly references in the web forms application to create hybrid application.

Yes, it is possible to create a web application that utilizes both ASP.NET Web Forms and ASP.NET MVC (Model-View-Controller). This approach is often referred to as “mixed-mode” or “hybrid” development.

In a mixed-mode ASP.NET application, you can have different parts of your application developed using Web Forms and others using MVC. This can be useful in scenarios where you have an existing Web Forms application and want to gradually migrate to MVC, or when you want to take advantage of specific features or benefits offered by each framework within the same project.

For example, you might choose to use Web Forms for certain pages that require rapid development or complex data-binding capabilities, while opting for MVC for other pages where you need more control over the HTML markup or want to leverage features like routing and cleaner separation of concerns.

However, it’s important to note that mixing both Web Forms and MVC in a single application can add complexity and may require careful planning to ensure compatibility and maintainability. Additionally, as ASP.NET Core has become the preferred framework for new development, mixing Web Forms and MVC is more common in legacy ASP.NET applications rather than in modern projects.