Live data from Hacker News

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

weblogs.asp.net

1–10 of 104 posts

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

#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 enamored .NET programmers who would use and evangelize it more but only don't due to it being a closed platform.

Also, a lot of us have great ideas to make the platform we're using better - and with Microsoft announcing they'd make Json.NET, a third party JSON library, the default JSON serializer over their home-grown DataContractJsonSerializer in the next version of ASP.NET MVC, I wondered if Microsoft was considering the unthinkable: start accepting community developed features into their platform, and perhaps open source it to make the scope for community contributions even larger.

There's a long way to go to fully realize this vision (I'd like for .NET itelf to be open source ;-] ), but this is just incredible news.

For those who want to understand which parts of the ASP.NET stack are open source, check out this diagram on Hanselman's blog that was very useful to me.

http://www.hanselman.com/blog/VisualStudio11BetaInContext.as...

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

#7
post #2

This is really great news. Open sourcing Razor means that it can be shipped with Mono, so the awkward getting-razor-working-with-mono rituals won't be necessary in the future.

Indeed - in fact they reached out to Miguel to submit a pull request. :-]

http://www.hanselman.com/blog/ASPNETMVC4ASPNETWebAPIAndASPNE...

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

#9
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…

> Microsoft announcing they'd make JSON.NET, a third party JSON library, the default JSON serializer over their home-grown DataContractJsonSerializer in the next version of ASP.NET MVC

Finally! For those who haven't used it, DataContractJsonSerializer has the most absurd way of serialising dictionaries into JSON. Rather than producing {"k1": "v1", "k2": "v2"} it produces [{"Key": "k1", "Value": "v1"}, {"Key":"k2", "Value": "v2"}]

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

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

Post reply on HN