Live data from Hacker News

Source code of ASP.NET

github.com

71–80 of 104 posts

Re: Source code of ASP.NET

#71

Is this snippet of code bad? I was just randomly browsing https://github.com/aspnet/KRuntime/blob/dev/src/Microsoft.Fr... private bool IsDifferent(ConfigurationsMessage local, ConfigurationsMessage remote) { return true; } private bool IsDifferent(ReferencesMessage local, ReferencesMessage remote) { return true; } private bool IsDifferent(DiagnosticsMessage local, DiagnosticsMessage remote) { return true; } private b…

thats why its called vNext, not vCurrent, still a work in progress

Re: Source code of ASP.NET

#72

Earlier quoted context omitted.

Not quite: that's "ASP.NET MVC", the razor view engine, "web pages", and some other libraries like Entity Framework and SignalR. Technically these are just libraries built on the closed-source ASP.NET stack, colloquially known as System.Web, which is essentially IIS.

It's at least available to view the source: http://referencesource.microsoft.com/System.Web/xsp/system/W...

That's not open-source.

Re: Source code of ASP.NET

#73

Is this snippet of code bad? I was just randomly browsing https://github.com/aspnet/KRuntime/blob/dev/src/Microsoft.Fr... private bool IsDifferent(ConfigurationsMessage local, ConfigurationsMessage remote) { return true; } private bool IsDifferent(ReferencesMessage local, ReferencesMessage remote) { return true; } private bool IsDifferent(DiagnosticsMessage local, DiagnosticsMessage remote) { return true; } private b…

I should have put a TODO in there :)

Re: Source code of ASP.NET

#74
post #14

Earlier quoted context omitted.

it's not even about visual studio. It's about the fact that the whole .net framework is not opensource,thus forcing you to run windows server anyway.

This entire version of ASP.NET is specifically about modularizing the stack and breaking it's dependence on IIS so it will work well with Mono + Apache and Nginx. That's quite literally why this version is being written, as aside from MVC, ASP.NET as an IIS interface technology has been feature complete for years and wasn't in line for any major changes.

As a person who likes C# and MVC but doesn't like Windows, I've hoped for this for a long time. The fact that Microsoft is going to include mono in their tests is awesome. It's like a genie granted me a wish.

Re: Source code of ASP.NET

#75

Is this snippet of code bad? I was just randomly browsing https://github.com/aspnet/KRuntime/blob/dev/src/Microsoft.Fr... private bool IsDifferent(ConfigurationsMessage local, ConfigurationsMessage remote) { return true; } private bool IsDifferent(ReferencesMessage local, ReferencesMessage remote) { return true; } private bool IsDifferent(DiagnosticsMessage local, DiagnosticsMessage remote) { return true; } private b…

Honestly? It looks like an API that's suffering from lack of an interface.

Re: Source code of ASP.NET

#76

Is this snippet of code bad? I was just randomly browsing https://github.com/aspnet/KRuntime/blob/dev/src/Microsoft.Fr... private bool IsDifferent(ConfigurationsMessage local, ConfigurationsMessage remote) { return true; } private bool IsDifferent(ReferencesMessage local, ReferencesMessage remote) { return true; } private bool IsDifferent(DiagnosticsMessage local, DiagnosticsMessage remote) { return true; } private b…

Possibly http://en.wikipedia.org/wiki/Multiple_dispatch ?

Re: Source code of ASP.NET

#77
post #6

Scott Guthrie is amazing. He's behind all the open source projects. Some of them are even taking pull requests. Entity Framework, MVC, ASP.NET, etc are all popular and open source.

Yep - he's the guy that got me into .NET mvc and alt.net... which turned out to be a gateway drug to Ruby on Rails then Scala. (Genuinely) Thanks Scott!

So because of .Net MVC you're now programming on the JVM?

Re: Source code of ASP.NET

#78

Is this snippet of code bad? I was just randomly browsing https://github.com/aspnet/KRuntime/blob/dev/src/Microsoft.Fr... private bool IsDifferent(ConfigurationsMessage local, ConfigurationsMessage remote) { return true; } private bool IsDifferent(ReferencesMessage local, ReferencesMessage remote) { return true; } private bool IsDifferent(DiagnosticsMessage local, DiagnosticsMessage remote) { return true; } private b…

        public struct Nada
        {
        }
Probably work in progress

Re: Source code of ASP.NET

#79
Some clarification: This seems to be only for demos and samples, not really the home of source code to cooperate on.

“The Home repository is the starting point for people to learn about ASP.NET vNext, it contains samples and documentation to help folks get started and learn more about what we are doing.” [0]

“The GitHub issue list is for bugs, not discussions. If you have a question or want to start a discussion you have several options:

- Post a question on StackOverflow - Start a discussion in our ASP.NET vNext forum or JabbR chat room [1]

ASP.NET vNext includes updated versions of MVC, Web API, Web Pages, SignalR and EF... Can run on Mono, on Mac and Linux. [2]

MVC, Web API, and Web Pages will be merged into one framework, called MVC 6. MVC 6 has no dependency on System.Web. [3]

[0] https://github.com/aspnet/Home

[1] https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md

[2] http://blogs.msdn.com/b/dotnet/archive/2014/05/12/the-next-g...

[3] http://blogs.msdn.com/b/webdev/archive/2014/05/13/asp-net-vn...

Re: Source code of ASP.NET

#80
post #69
post #62

Earlier quoted context omitted.

Not a rhetorical question: What's so wrong with Web Forms? Postback? That's really part of HTTP. What the browsers send back to the server is as specified by HTTP, not Microsoft or Web Forms. Viewstate? Okay, it's a bit of a tricky thing, but really can mostly ignore it. Else it provides a somewhat useful service. Controls? Yes, for each HTML 'control', there is an ASP.NET class so to send the HTML for the control to…

IMO, there was nothing horribly wrong with WebForms itself when it was introduced -- So long as you were writing your HTML by hand and using HtmlControls rather than the drag-n-drop stuff. ViewState was far better than other frameworks that shoved the client state into a server session object and broke the Back button . Plus the clients were saving state instead of wasting server memory. If it got too ugly, you didn'…

There are AJAX controls for webforms, so it hasn't really "broke[n] down hard"?

Drag an AJAX control on the form, and whatever is in there, that part of the page will be ajaxed.

Post reply on HN