一个Web应用程序中结合经典ASP.NET和ASP.NET MVC [英] Combine classic ASP.NET and ASP.NET MVC within one web application

查看:208
本文介绍了一个Web应用程序中结合经典ASP.NET和ASP.NET MVC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前有一个经典的ASP.NET Web应用程序它作为我们的API。它基本上有一堆ASMX Web服务,但这些真的是累赘从JavaScript一起工作。我想是公开一组基于REST的端点,但在classis ASP.NET这样做是不是我真正想做的事情。

We currently have a classic ASP.NET web application which serves as our API. It basically has a bunch of ASMX Web Services, but these are really cumbersome to work with from JavaScript. What I want is to expose a set of RESTful endpoints, but doing this in classis ASP.NET is not what I really want to do.

我在考虑给既经典ASP.NET和ASP.NET MVC在一个Web应用程序相结合。这是可能的呢?如果有,是什么问题/问题,我可能会遇到?

I'm considering to combine both classic ASP.NET and ASP.NET MVC in one web app. Is this possible at all? If yes, what are the issues/problems I may encounter?

推荐答案

啊哈!看来,这是非常可能的。 这里'SA COM prehensive文章,其中介绍了什么应该做的。

Aha! It seems that this is very much possible. Here's a comprehensive article which describes what should be done.

这篇关于一个Web应用程序中结合经典ASP.NET和ASP.NET MVC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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