C# 不确定继承的项目是否为asp.net核心

C# 不确定继承的项目是否为asp.net核心,c#,.net,asp.net-mvc,asp.net-core,C#,.net,Asp.net Mvc,Asp.net Core,我必须在现有项目上开发(没有文档或任何开发人员) 这一目标是框架4.5 有这样的任务返回returnOk或BadRequest [AllowAnonymous] [Route("Register")] public async Task<IHttpActionResult> Register(UserModel userModel) { if (userModel == null) { return BadRequest(); } //

我必须在现有项目上开发(没有文档或任何开发人员) 这一目标是框架4.5

有这样的任务返回return
Ok
BadRequest

[AllowAnonymous]
[Route("Register")]
public async Task<IHttpActionResult> Register(UserModel userModel)
{
    if (userModel == null)
    {
        return BadRequest();
    }
    //......there is other codes
    return Ok("it is ok");
}
我是asp.NETMVC开发人员,不熟悉上述代码。在我以前的项目中,没有带有应用程序配置的
异步任务
和startup.cs

我可以使用visual studio 2012打开项目并成功重建或运行。没有控制台


这个项目是asp.net核心吗?

我得到的印象是,您正试图确定上述代码使用的框架

这个项目是asp.net的核心吗

简短回答:

不那么简单的回答:

IHttpActionResult
是从
ApiController


使用
IAppBuilder
Configuration
方法是其中的一部分。

从显示的代码中可以看出,项目是asp.net-web-api2,带有OWINthanks…此项目存在性能问题。web API 2对性能有好处吗?我是否应该将此移到asp.net mvc,因为我非常擅长asp.net mvc…我搜索asp.netcore…他们说core的性能非常好,但我不知道core的每个版本都比前一个版本有所改进。如果您不熟悉core,我建议您阅读文档,因为MS建议新项目从core开始。Core将MVC和web API合并到一个堆栈中。根据我的经验,我没有遇到过Web API的性能问题。
public void Configuration(IAppBuilder app)
{
    var kernel = SetupNinject();

    ConfigureOAuth(app);

    SetupSignalR(kernel, app);

    ConfigureCors(app);

    SetupWebAPI(kernel, app);

    SetupStaticFiles(app);
}