c# - Uncertain if an inherited project is asp.net core -


i must develop on existing project (there no documentation or developers) targets framework 4.5

there tasks return return ok or badrequest

[allowanonymous] [route("register")] public async task<ihttpactionresult> register(usermodel usermodel) {     if (usermodel == null)     {         return badrequest();     }     //......there other codes     return ok("it ok"); } 

and in startup.cs there configuration

public void configuration(iappbuilder app) {     var kernel = setupninject();      configureoauth(app);      setupsignalr(kernel, app);      configurecors(app);      setupwebapi(kernel, app);      setupstaticfiles(app); } 

i asp.net mvc developer , not familiar above code. in previous projects there no async task , startup.cs app configuration.

i can open project visual studio 2012 , rebuild or run succesful. there no console.

is project asp.net core?

i impression trying determine framework above code uses.

is project asp.net core?

short answer: no

not short answer:

ihttpactionresult part of action results in asp .net web api 2 , associated results returned apicontroller

that configuration method iappbuilder part of microsoft owin components.


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -