Live data from Hacker News

ASP.NET MVC, Web API, Razor and Open Source

weblogs.asp.net

61–70 of 104 posts

Re: ASP.NET MVC, Web API, Razor and Open Source

#62
post #21
post #11

I would consider paying for .net if it received first class treatment on Linux. As someone who has lived through the pain of hosting apps on Windows, I just refuse to do it in the future. I'd love to see Microsoft bring Mono into the fold and truly bring it to the level of the Windows .net implementation.

What part of hosting apps on Windows was painful to you? I actually prefer to host my apps in Windows when I'm able and the technology stack supports it. I don't need to set up new apps often, but when I do, it's many orders of magnitude faster for me to get an app running on Windows vs. Linux. Linux works great as a server OS once I get everything set up and configured correctly. I never need to think about it again…

There are a couple use cases: 1) applications where the OS is a commodity - abstraction layer to IO (disk, network). MS solution is their PAAS (which is expensive). 2) existing libraries/services that aren't available on Win32 where it is hard to justify another server license just for .NET - this factors in to where I work; some code can't be .NET as there is already a Linux server in the setup. We've ended up with 80% dotnet and 20% python 3) most companies loathe mixing server OSs; some shops have fallen into the MS camp and others the FOSS camp 4) The proof that they aren't going to cannibalize existing OS/SQL License sales is in your comment

Re: ASP.NET MVC, Web API, Razor and Open Source

#63
post #54

Earlier quoted context omitted.

With Eclipse, 99% I don't need a mouse to refactor, navigate, build, run unit-tests within Eclipse or outside, and packaged a rather large codebase and its dependencies (3rd-parties or not) and Maven contributes to that significant productivity gain as well. Eclipse recently also introduced an App-Store clone to download plugins and so far I haven't had the need to hunt down plugins from the world wide web (except fo…

If your entire complaint is that you want short-cut keys then look into the Tools | Options | Keyboard configuration. I find raw VS.NET pretty lame in terms of Intellisense, no "jump to file" shortcut, etc. so installing Resharper is a necessity for productivity. But at that point everything is indeed keyboard driven.

VS2010 has "Navigate to" on ctrl-, which is better than jump to file. It's jump to anything, type a class name, a method, a filename, a partial filename, partial anything, and it will match what you write against everything in your solution. It's really powerful and I don't click around in the source tree at all anymore.

Re: ASP.NET MVC, Web API, Razor and Open Source

#64
post #54

Earlier quoted context omitted.

With Eclipse, 99% I don't need a mouse to refactor, navigate, build, run unit-tests within Eclipse or outside, and packaged a rather large codebase and its dependencies (3rd-parties or not) and Maven contributes to that significant productivity gain as well. Eclipse recently also introduced an App-Store clone to download plugins and so far I haven't had the need to hunt down plugins from the world wide web (except fo…

If your entire complaint is that you want short-cut keys then look into the Tools | Options | Keyboard configuration. I find raw VS.NET pretty lame in terms of Intellisense, no "jump to file" shortcut, etc. so installing Resharper is a necessity for productivity. But at that point everything is indeed keyboard driven.

I'm not sure where in my post that I complained too much other than showing that Eclipse and Java are as much as productive (and even more) to VS and C#.

Re: ASP.NET MVC, Web API, Razor and Open Source

#65
post #54

Earlier quoted context omitted.

If your entire complaint is that you want short-cut keys then look into the Tools | Options | Keyboard configuration. I find raw VS.NET pretty lame in terms of Intellisense, no "jump to file" shortcut, etc. so installing Resharper is a necessity for productivity. But at that point everything is indeed keyboard driven.

VS2010 has "Navigate to" on ctrl-, which is better than jump to file. It's jump to anything, type a class name, a method, a filename, a partial filename, partial anything, and it will match what you write against everything in your solution. It's really powerful and I don't click around in the source tree at all anymore.

Just to add to this so that people stop dissing Eclipse; it also has these features.

Eclipse OOB XML editor also has great navigation features such as jump to definition of complex type, jump to class file, jump to xsd, handy if you need to navigate WSDL or web.xml (similar to web.config).

Re: ASP.NET MVC, Web API, Razor and Open Source

#66
post #45

Earlier quoted context omitted.

Uh, there is a big bill coming at the end. You need to keep your system running, even though you now have to pay for licenses, don't you? When building your system during BizSpark, you are unlikely to make architectural choices with respect to software licenses, because they are free. Then you graduate, and you're probably looking at a system that uses way more licenses than it would have if you had to optimize aroun…

Yes and no. The point is that you're not retroactively billed for licenses you got while in the program. Believe it or not, a lot of people seem to think that it's just a delayed payment program. Yes, if you're designing a system that's going to require more than 6 servers you might end up paying for a license. Windows Web Server runs ~$470. But for many businesses, if you're using >6 servers you're likely going to b…

Another consideration is that if you do succeed, you can partner with MS, which provides some cost savings with MSDN licenses. At my last start-up, we authored several white papers about our solution and how it meshed with MS's toolset, and we received significant discounts with licensing.

Re: ASP.NET MVC, Web API, Razor and Open Source

#67
post #6

I am a developer who has leaned towards .NET over the last few projects and one of the things that used to nag me is that the platform is a closed one (and the licensing fees can be a decent part of the cost). I was fairly certain I would migrate off it if the project ever took off seriously. And after seeing the C# love on HN on the poll for favorite programming languages last week, I realized there must be many ena…

I'd pay to have a fully compatible .NET stack on OSX/Linux. Most of our backend code is C#; outside of having to use Windows I've actually found it very pleasant to work with. No need for a full MSVS port, just a working VM/library and build tools (+ maybe an IntelliSense daemon to plug into editors). It'd be interesting to see MS get back to their roots this way.

Re: ASP.NET MVC, Web API, Razor and Open Source

#68
post #35

Earlier quoted context omitted.

NuGet vs Maven seems like a small issue when compared to VS vs Eclipse or even C# vs Java. In the latter two, MS wins hands down. I can cope with NuGet.

Don't want to get into a silly argument, but while you are right that VS beats eclipse, IntelliJ IDEa absolutely spanks VS. IMO jetbrains is hands down the best dev tools company around nowadays

Yeah, having recently moved from doing .net (and thus VS) to java/groovy/scala with Intellij I have to agree. Intellij is an amazing IDE.

I don't have a lot of experience with ReSharper in VS, but I would assume it brings over a lot of the IDEA features to VS?

Re: ASP.NET MVC, Web API, Razor and Open Source

#70

Looking for some HN insight here. I'm still a college student interested in startups. However, microsoft products really don't excite me. Can someone explain the benefits of C# to a Ruby on Rails coder?

Good parts: C#, and the entire .NET stack, completely skewers Ruby from a performance perspective, while not putting your coding in a straight jacket like Java does. You'll also find what in my opinion are vastly more powerful debugging and profiling tools, awesome threading support (be sure to check out both C# 4.5's async/await keywords and the existing Rx library at http://msdn.microsoft.com/en-us/data/gg577609), better versioning, better IDEs if you're into that kind of thing, and more.

Downsides: While this is gradually changing, I don't consider server-side Mono production-ready, so you'll be both developing and deploying on Windows. Deploying on Windows may prove expensive, but BizSpark (http://www.crunchbase.com/product/bizspark) will let you avoid that well past the point where you should either be successful or have VC, making it a non-issue. The community isn't as library-happy as the Ruby community, although that's definitely changing; one side-effect of that is that, where Microsoft anticipated your needs, life is beautiful, but where they haven't, things can get painful.

I'd see my previous answer to this question at http://news.ycombinator.com/item?id=3405362 too.

Post reply on HN