是否可以集成Web表单和MVC [英] Is it possible to integrate web forms and MVC

查看:108
本文介绍了是否可以集成Web表单和MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以整合网页表格和MVC



我尝试过:



试图整合这两个项目,但我没有线索

is it possible to integrate web forms and MVC

What I have tried:

Tried to integrate the two project but I have no clue

推荐答案

是的。通常,在创建新应用程序时,您可以选择使用特定模板或空模板,这样您就可以选择要在其上使用的内容(Web表单,MVC或Web API) )因为它使用复选框而不是单选按钮来选择选项,我相信你可以选择两者。



集成通常是一个问题因此,它更容易在创建具有相同名称的模型或视图后复制和粘贴代码,而不是将2个项目集成到一个应用程序中
Yes it is. Usually, when creating a new application, you are given the chance to choose either using a specific template or an empty template, which in turn allows you to choose what you would like to make use on it (either web forms, MVC or Web API) and since it uses checkboxes and not radio buttons for selection of choices, I believe that you can choose both.

Integration is usually a problem and therefore, it is easier to copy and paste code after creating models or views with the same names than it is to integrate 2 projects in one application


这篇关于是否可以集成Web表单和MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆