asp.net - Difference between various templates when creating web api project -


i creating asp.net web api application using visual studio 2013. there couple of ways using can create project

  1. file > new > project > web > visual studio 2012 > asp.net mvc 4 web application > web api
  2. file > new > project > visual c# > asp.net web application > web api
  3. file > new > project > web > asp.net web application > empty
  4. file > new > project > web > asp.net web application > web api

apart option 3, other options add stuff bootstrap, fonts (glyphicons), jquery etc.

i want return data web api. right option create solution? why add stuff web api when cannot return view?

if don't want of scripts , style stuff you'll need use empty template.

file > new project > visual c# > web > asp.net web application

new project screenshot

template selection screenshot

be warned: template sparse. empty folders , webapiconfig.cs.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -