4 ms·
It's stuff like this that gives C# a bad name. If you strip away the enterprise-y, ASP.NET stuff it's usually wrapped in, it's a fantastic language. After havi
by untog 14y ago
It's stuff like this that gives C# a bad name. If you strip away the enterprise-y, ASP.NET stuff it's usually wrapped in, it's a fantastic language.
After having spent a lot of time working in Javascript (and node.js specifically), I'm diving back into C# in my spare time, but learning to forget all the nonsense- no factories, no web.config, no ASP.NET framework... it's great. One highlight is Nancy.fx[1], a very lightweight web framework. Setting up routes is as simple as:
Get["/list"] = parameters => {
return "The list of products";
};
I'm also developing on a Mac with MonoDevelop- it's a poor cousin of Visual Studio, but it works just fine. I feel like there is a series of "C# without the crap" blog posts to be written- I hope to do so.
[1] http://nancyfx.org/ http://nancyfx.org/
- shaydoc 14y agoAsp.net webapi is quite good, I have to say!
- untog 14y agoI haven't had a chance to look at it, but have heard good things. The sad thing is that even ASP.NET MVC- which is 100x better than WebForms- is used 0.001 as much. The same fate may apply to the Web API. It just doesn't seem like there is much interest.
- shaydoc 14y agoI have built a html5 client of pure html5 + css + js and I am currently using asp.net webapi for the purely RESTful serverside, its great, its so clean decoupled and composable... i would have thought ASP.NET MVC is quite mainstream and that webforms is slowly dying personally... now with webapi and a pure html client, i see no point in MVC whatsoever!
- glhaynes 14y agoInteresting — I've gotten the opposite sense anecdotally: that MVC has become basically "the way" to do ASP.NET these days.
- untog 14y agoI think the reality is as jinushaun has said it- there's a ton of legacy apps, and new development is in technologies other than ASP.NET.
- jinushaun 14y agoI don't think it's a matter of interest. My guess if that the WebForms stuff is all legacy intranet crap some more schmo has to support, and everyone else has long moved onto PHP, Ruby and Python. With MVC and API, MS can't be blamed for not trying.
- smhinsey 14y agoI agree with you about Nancy, and I also use ServiceStack alongside it, but I don't think the linked article has anything to do with ASP.NET specifically. The author does seem to be an ASP.NET MVC guy though.