Minimal mvc references from nuget in Web Api project

Got a clean Web api project where I want to put my Rest services.

Lets say I would like to reference System.Web.Mvc. Trying to add it through Nuget seems to give a LOT of other references. For example Razor!

Does it exist any minimal mvc Nuget package?


I recommend Web API empty template extension. It basically provides only the structure.

There is also a tutorial on code project.

Here is an image of generated project (taken from code project):

I've used this extension and it fits quite well into my needs (rest services as an API, and no UI pages).

Need Your Help

Javascript array search engine

javascript mysql search-engine

I have a mysql DB table of about 10.000 rows and about 20 fields. I have a form with all the fields and when I press a key in any of the field it should filter the 10.000 rows to only those that ma...

Html.ActionLink() gives me an empty link when I use it inside Html.RenderAction() actionlink renderaction

I have a Microsoft MVC project with an action "Foo" whose view ("Foo.aspx") contains the lines: