Live data from Hacker News

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

weblogs.asp.net

11–20 of 104 posts

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

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

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

#12
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", "V…

> DataContractJsonSerializer has the most absurd way of serialising dictionaries into JSON.

DataContractJsonSerializer is a hack that is built on top of an XML parser.

For the people who are unfamiliar with .NET there is a comparison of Json.NET to Microsoft's two JSON serializers here:

http://json.codeplex.com/ <- Json.NET homepage

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

#13

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

I'm not too familiar with what Guthrie has done for the .NET community, but Hanselman is a famous proponent of open source and making .NET as fun to code in as ruby and python. His coming to MS has changed the way I look at the .NET stack.

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

#14
Also worthy to note that Microsoft's BizSpark program provides free production access to Microsoft tools and products-- not Express editions but versions like Visual Studio Ultimate, SQL Server Enterprise, Windows Server Enterprise, etc. You also get a couple thousand free hours on Azure if you want to go that route. For training you also get three months of Pluralsight which brings you up to speed on the relevant tools and platforms.

I feel it's a really good time to be a Microsoft developer. The products are really solid, the skills are in demand and the barrier to entry is pretty much gone.

I realize after writing the above I come off as a big time evangelist, but this is only because I have had such a good experience for the last decade building on their platforms. Never regretted going all in other than sometime feeling like a black sheep on this site. Good to know there are a lot of other .Net folk on this site. ;)

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

#15
post #14

Also worthy to note that Microsoft's BizSpark program provides free production access to Microsoft tools and products-- not Express editions but versions like Visual Studio Ultimate, SQL Server Enterprise, Windows Server Enterprise, etc. You also get a couple thousand free hours on Azure if you want to go that route. For training you also get three months of Pluralsight which brings you up to speed on the relevant to…

Yep. Our startup has been in the program for a little under 3 years now. It is great!

Edit - May I ask why the downvote? Would you like more information on my experience or something? I only attempted to validate that this is a real program with real companies going through it.

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

#16
I had a hell of a time trying to actually use the ASP.Net MVC sourcecode on a project a while ago. The problem was that while my own project compiled fine, many of the dependencies I was using were built against a signed version of the ASP.NET MVC DLL. Since the version of the DLL I was using wasn't signed (with Microsoft's key), those dependencies wouldn't work against the version I was compiling. If you compile everything from source, this isn't a problem, but I had a number of dependencies that had been distributed as DLLs, and for reasons now obscure to me (but likely due to time pressures), I wasn't able to replace all those dependencies with source.

I guess the moral of the story is that if you're in .Net land and want to take advantage of this, make sure you do everything with source from the get-go.

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

#17
post #14

Also worthy to note that Microsoft's BizSpark program provides free production access to Microsoft tools and products-- not Express editions but versions like Visual Studio Ultimate, SQL Server Enterprise, Windows Server Enterprise, etc. You also get a couple thousand free hours on Azure if you want to go that route. For training you also get three months of Pluralsight which brings you up to speed on the relevant to…

Wait until the bill comes.

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

#18
post #17
post #14

Also worthy to note that Microsoft's BizSpark program provides free production access to Microsoft tools and products-- not Express editions but versions like Visual Studio Ultimate, SQL Server Enterprise, Windows Server Enterprise, etc. You also get a couple thousand free hours on Azure if you want to go that route. For training you also get three months of Pluralsight which brings you up to speed on the relevant to…

Wait until the bill comes.

The program lasts for three years. Something to consider, sure, but three years can be a long time in startup-land.

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

#19
I'm a long time Java developer who recently move to .NET. What I love about Java when it comes to this particular issue: open source, is how easy it is to get the source code, documentation, and to navigate around given 2 assumptions:

1) You're using Maven + Eclipse (haven't tried in other IDE)

2) The source code is available (in most cases, they are) in Maven repository

Here's a simple example: I'm using Spring and Guava and occasionally I'd like to navigate to the method I use. All I have to do is hit F3 on the method call and Maven will download the source code JAR (and the documentation JAR as well) and voila: I can easily see the source code and navigate around. Ditto with the dependency of the dependency.

I have to say that Maven + Eclipse provide massive productivity increase for me and my team.

Now, I did .NET in the past briefly back when .NET was in 2.0/3.0 era. I recalled it wasn't obvious how to associate even the core .NET library (Collections, etc) via VS.NET.

How easy it is to achieve a similar workflow in .NET these days?

Post reply on HN