无需安装.net4.5运行的WebAPI [英] Run webapi without installing .net4.5

查看:1331
本文介绍了无需安装.net4.5运行的WebAPI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在运行ASPX页面网站,在asp.net4.0。

I have a website running aspx pages, under asp.net4.0.

我也有一些DevEx preSS控制,我在4年前购买了。

I also have some DevExpress controls, that I purchased 4 years ago.

我现在想要一个API添加到Web应用程序,但是我明白,需要.net4.5中运行。

I now want to add an API to the web application, however I understand that needs .net4.5 to be running.

该DevEx preSS控制不4.5下工作 - 所以我将需要在相当大的代价来续约他们

The DevExpress controls don't work under 4.5 - so I would need to renew them at considerable cost.


  1. 有可能,安装.net4.5,我的网站后继续
    使用.NET4 - 而不是新的4.5?这样我可以在网站
    4.5根据4.0下运行,并且API?

  2. 或者是有可能有API(使用实体框架)
    .NET 4.0
  3. 在运行

感谢您,

标记

推荐答案

您可以同时使用网络API和Entity Framework而无需安装.net4.5。

You can use both web-api and entity framework without installing .net4.5.

您可以通过安装的NuGet包Microsoft.AspNet.WebApi添加Web的API,以现有项目(发布候选)

You can add web-api to an existing project by installing the nuget package "Microsoft.AspNet.WebApi" (release candidate)

这篇关于无需安装.net4.5运行的WebAPI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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