Live data from Hacker News

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

weblogs.asp.net

91–100 of 104 posts

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

#91
post #87

Earlier quoted context omitted.

Indeed, but it's harder to automate. And automating tests is very important. Some test cycles here involve the automated deployment of VMs based on machine templates that are then configured using Puppet. If we were to do that with Windows, those tests would never run.

You can totally automate the deployment of windows machines. Maybe what you suggested the other guy did for linux you should do for windows.

What would be the automated testing tool in this case?

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

#92
post #44

Earlier quoted context omitted.

The most expensive part of a software project is the people, not the licenses. People who pay for MS believe that they're saving money in the long run.

The increased engineering burden of having to consider software license costs when designing systems hardly seems worth it. Imagine if you had to pay a per-node fee for your Hadoop cluster? How much extra effort would be put into optimizing the individual performance of each node and job if there were an additional 50% per-node cost to run it?

But you already go through the exercise; you compare the cost of adding a server versus the cost of engineering a solution. The only difference is server cost is different. My time's worth $200/hr, what's yours?

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

#93
post #91

Earlier quoted context omitted.

You can totally automate the deployment of windows machines. Maybe what you suggested the other guy did for linux you should do for windows.

What would be the automated testing tool in this case?

Maybe I misunderstood what you're saying (and on re-reading I'm still not entirely sure). Are you saying you chose a tool that doesn't work on windows and those tests would never run because of the tool you chose? Or are you saying that automating the deployment of VMs based on machine templates for testing is not possible in windows (hence "those tests would never run"). Reading your parent comment re: automated provisioning and configuration of virtual machine images - windows has all this. You suggest that people learn linux better, but seem unwilling to do the same for windows.

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

#94
post #44

Earlier quoted context omitted.

The increased engineering burden of having to consider software license costs when designing systems hardly seems worth it. Imagine if you had to pay a per-node fee for your Hadoop cluster? How much extra effort would be put into optimizing the individual performance of each node and job if there were an additional 50% per-node cost to run it?

But you already go through the exercise; you compare the cost of adding a server versus the cost of engineering a solution. The only difference is server cost is different. My time's worth $200/hr, what's yours?

Hence the use of the phrase "extra effort." In a theoretical world where Microsoft offered "Microsoft Map Reduce" as a Microsoft-sanctioned way to run map reduce jobs, one could imagine the licensing cost for a single box could well exceed the cost of hardware, ops, etc, if SQL server license fees are any indication. How much extra engineering effort does this translate into? Is it worth it?

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

#95
post #84
post #81

Earlier quoted context omitted.

Considering that most startups fail for reasons other than technical (running out of money, lack of traction, founders moving on) I don't think any correlation will be that meaningful. It will be interesting see a plot of the type of the startup (social, b2b, retail etc) versus the stack though :)

I am not so sure technology stack is entirely unrelated to failure rate. The stack you pick may influence iteration speed, hosting options, developer availability, uptime, reliability, security and costs. Twitter would have failed had their scalability problems persisted. In fact, I remember "Six Degrees". It was more or less Facebook, but in the late 90's. IIRC, they ran Cold Fusion on Windows.

Some say that Friendster failed mainly due to scaling issues. http://highscalability.com/blog/2007/11/13/friendster-lost-l...

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

#96
post #85
post #82

Earlier quoted context omitted.

> if you have light needs, or can easily restart the service on a regular basis, you may find it usable. But I'd definitely avoid deploying an MVC 3 app Can you further elaborate on that one? Because that's exactly what I would like to do.

Mono had two issues we hit in production for server processes: 1. The GC was poor. There's actually a couple of pieces to this one: it's non-compacting, so your app gradually slows down; and (because it's Boehm) it has to guess at what's a pointer, and sadly just doesn't do a good job, so you gradually leak RAM through no fault of your own. The new GC, which I think is called SGen, is a precise collector, so I assume…

Remember that Mono is open source and we'd LOVE to get patches to improve it.

Bug reports also help!

In the meantime, we're working hard to constantly be improving Mono, but the best way to improve free/open source software is to get involved.

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

#97
post #85
post #82

Earlier quoted context omitted.

> if you have light needs, or can easily restart the service on a regular basis, you may find it usable. But I'd definitely avoid deploying an MVC 3 app Can you further elaborate on that one? Because that's exactly what I would like to do.

Mono had two issues we hit in production for server processes: 1. The GC was poor. There's actually a couple of pieces to this one: it's non-compacting, so your app gradually slows down; and (because it's Boehm) it has to guess at what's a pointer, and sadly just doesn't do a good job, so you gradually leak RAM through no fault of your own. The new GC, which I think is called SGen, is a precise collector, so I assume…

How long ago did you experience those issues? I still have some time to go until I launch whatever it is I decide to build. I hope the Mono team finds a solution for them eventually.

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

#98
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.

While a vast improvement on the past, "Navigate to" doesn't find stuff intelligently like Resharper's jump... e.g. if I have a file "LabListView", I can type "llv" in the "go to" window and it'll be highlighted (I could type any combination of characters but I tend to use the capitalised letters). VS2010 just shows an empty list when I do that -- I have to type a complete partial name.

I could also be imagining this, but I have the feeling Resharper remembers which files are related when I select them from this list because if there's more than 1 match it almost always seems to have the right one at the top of the list based on my current context.

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

#99
post #91

Earlier quoted context omitted.

What would be the automated testing tool in this case?

Maybe I misunderstood what you're saying (and on re-reading I'm still not entirely sure). Are you saying you chose a tool that doesn't work on windows and those tests would never run because of the tool you chose? Or are you saying that automating the deployment of VMs based on machine templates for testing is not possible in windows (hence "those tests would never run"). Reading your parent comment re: automated pro…

No. I chose the tool because it did what I wanted it to. It was implied there are automated tools that, say, upon an SCM push with a given tag, can instantiate Windows VMs, deploy and test the app with no manual intervention and report any issues encountered. I never did that and I'm curious about how would you do it.

I imagine a combination of Buildbot and Microsoft's VM container could do it and be automated with a PowerShell script, but I'm not very sure how. Has anyone done something similar to this?

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

#100

> start accepting community developed features into their platform Guthrie has done a great job of making developers on the Windows platform feel included and involved. While Microsoft's product offerings slip, Guthrie continues to grow the community of developers, maybe not in quantity but most certainly in quality. Before Guthrie, an offering like today's announcement never would have seen the light of day.

Microsoft product offerings slip how? What I see is outstanding products being delivered such as Windows Azure, Windows Server 8, SQL Server 2012, System Center 2012.

More on the consumer side, not the data center.
Post reply on HN