11 ms·
Source code of ASP.NET
- moskie 12y agoThe URL of that link is a pretty surprising thing, in and of itself.
- georgemcbay 12y agoParts of Microsoft have been using github for quite a while now: https://github.com/msopentech https://github.com/msopentech https://github.com/Azure https://github.com/Azure The Azure SDK has been there since 2012. I agree that even now it still seems kind of odd when Microsoft embraces open source technologies, and the company is very big so their support tends to be oddly lumpy (generally better among the groups working on products that are directly related to networking like ASP.NET, Azure, etc) but they've been on this path for quite a while now.
- steveklabnik 12y agoReactive extensions too: https://github.com/Reactive-Extensions https://github.com/Reactive-Extensions
- lucidquiet 12y agoToo little, too late (imo). I'll think about it again once they have visual studio and all the good things running on *.nix. It's too much of a pain to get anything to work with a .net project, and then deploy on anything other than IIS.
- bigdubs 12y agoASP.net vNext was specifically about this. And you don't need VS to do .net development; check out monodevelop or xamarin studio (they're the same basic thing)
- hudo 12y agoToo little? Biggest change for ASP.NET from release of ASP.NET! "Too much of pain" was the first (and last) thing I said when trying to configure ruby on ubuntu. Or tried to download some app and run it.
- hockeybias 12y agoHear, hear!
- gretful 12y agosame thing I said when trying to convert to .Net. Ruby on Ubuntu? easy peasy.
- lucidquiet 12y agoI guess all those thousands of Rails apps running on Ubuntu had some kind of magic or secret knowledge to get that working. Going open source and posting some libs on Github is 'Huge'? That's kind of funny considering how much is out there, top notch, and did it way before MS did, and yet, it wasn't "huge" for them.
- jf22 12y agoIts huge because MS has never embraced open source like they are now. Flying cars would be pretty huge even though planes have already been flying for a while...
- mkaziz 12y agoI think Hudo's point is that experience with technologies is subjective. I loathe Windows after having been comfortable in terminal, and I loathe Eclipse after having been comfortable in VS.
- lucidquiet 12y agoI've gotten apps working on .net and ubuntu -- configuration was a drag in both, but it works, and isn't the entire basis for loving or hating a platform. So what I'm saying is I agree with your comment. The catch here (and point) is why should you have to switch from VS at all? If it's a real source code editor shouldn't it handle Java, Clojure, Haskell, Python, Ruby, JavaScript, etc all just fine? Some of the oldest and free editors do and do it well. I realize MS has an agenda (perhaps) or they've de-prioritized any of these features into oblivion -- but who are they serving, I certainly didn't feel it was me even after giving them a lot of $ for VS.
- justathrow2k 12y agoThis just in, people who aren't impressed by the .NET stack still aren't and continue to not use it.
- jbigelow76 12y agoI don't think some of them even use their preferred development stacks, they are too busy telling you how they don't use .NET.
- UweSchmidt 12y ago"I'm a vegan, I do crossfit, I don't own a TV. Oh and I don't use .NET"
- camus2 12y agoit'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.
- UK-AL 12y agoThey've committed to working with mono to getting working well on there.
- brainling 12y agoThis 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.
- itsboring 12y agoAs 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.
- weego 12y agoI don't understand the thinking behind phrases like "too little, too late" about a company whose tooling will likely span the entire careers of a number of generations of developers.
- duiker101 12y agobecause some people just like to complain and hate.
- dev360 12y agoI say that a lot and I feel like .NET is loosing relevance. Embracing open source and making Linux a first-class citizen in the eco system would be the only way for .NET to increase adoption or stay technologically relevant, and unfortunately its happening too slow.
- justathrow2k 12y agoToo slow for what? Are you suggesting that .NET technology is traveling on a steady path towards becoming irrelevant?
- dev360 12y agoYes. Most users of .NET is in the enterprise (as opposed to tech and startups) and Java has positioned itself as the go-to platform for big data analytics and processing. I think this comes down to clinging to an antiquated product model. A lot of the technologies that are seeing rapid adoption are open source and driven by transparent communities. In some cases companies back them (e.g. cloudera, datastax, 10gen, typesafe).
- soAsian 12y ago>Yes. Most users of .NET is in the enterprise (as opposed to tech and startups) what do you mean by tech? startups is too cool to associate themselves with Microsoft. >Java has positioned itself as the go-to platform for big data analytics and processing. F# >I think this comes down to clinging to an antiquated product model. .Net have always been a product aiming at LOB market. It is a replacement for VB6. > A lot of the technologies that are seeing rapid adoption are open source and driven by transparent communities. Oh yes, RoR is everywhere in corporate America and around the world. Node.js is what everyone is using for LOB.
- brainling 12y agoVisual Studio a) will never run on Unix, and b) is not required to do .NET development. I know people who do their .NET work in Sublime Text with a nant build chain. It's not my preferred method, but it works great for them. Hell, I know a guy that uses ASP.NET to host an Angular app, and to unify his build system, he has Grunt pick up the heavy lifting of running his MSBuild files whenever he does the pre-deploy steps for his JavaScript. If you think you need Visual Studio to do .NET development, it's because you fundamentally don't understand the technologies at play and just wanted to say something provocative and witty.
- lucidquiet 12y agoThe only reason I bring up Visual Studio is because most people don't even see the world out side of that IDE. "If it's not MS and it's not possible inside of Visual Studio it doesn't exist." That's how a whole lot of .NET developers, and .NET houses work -- and so that leads to my comment on VS.
- eropple 12y ago> If you think you need Visual Studio to do .NET development, it's because you fundamentally don't understand the technologies at play and just wanted to say something provocative and witty. On the off chance you're not just being knee-jerk and defensive because Something You Like is under fire--people think that VS is necessary because life is way too short to spend building something half as good as the other options in twice the time. I mean, could write Scala in TextMate, too, if I had the jones for it. But I could also not, and use IntelliJ, because I value having tools that are able to improve my productivity. (And decrease my frustration; by sticking with the JVM I have the benefit of not have to rely on Mono, whose GC, from experience, I do not trust in long-running processes; after spending a year owning a trivial Mono ASP.NET app that presented no end of troubles, I am very happy not needing to have a watchdog ready to kick it over when it undergoes its daily spaz-out.) Xamarin Studio is not an acceptable product, either. I've been trying to use it for a couple weeks now and about ready to pitch a computer out a window--the basic functions of editing code are magnificently broken and have been for a long time. Random phantom line breaks in the editor that aren't in the code file, bad auto-indenting, phantom error highlighting, no partial-build error solving--and Visual Studio doesn't work on OS X. (To say nothing of the "you have to restart because XS forgot how to talk to xbuild" bugs...) That leaves the shitty bodges you well-actually'd your way into or not doing .NET at all. The latter makes a lot more sense for a lot more people. I really enjoy C# and F# and I'd love to use .NET more if the frustrations in using it on not-Windows were not of such a magnitude. I am critical because it should be better and isn't. (Worse, Xamarin removed most reasons to contribute to the Mono ecosystem a while ago by making so much of the useful bits commercial, which is understandable--gotta eat--but also unfortunate.)
- romanovcode 12y agoAnd what is impressive? Still rocking that LAMP stack, mate?
- lucidquiet 12y agoNope, I'm not a fan of Php either actually. Mostly I rock the Java, Node, Clojure, Scala, *nix (mac), C++11 on Ubuntu and Mac with JS+Angular. I guess that's the stack mate.
- breischl 12y agoI believe one of the big changes in ASP.NET vNext is the ability to deploy outside of IIS. Other types of projects, notably WebAPI, have been able to easily deploy outside of IIS for years. I actually just converted two WebAPI projects to self-hosting. It took about a day, which is not bad considering that includes time to learn what I was doing and reworking an existing deployment process.
- bdcravens 12y agoThere's definitely some places where this may be true, but there's a lot of locations and industries where .NET is firmly planted and not going anywhere anytime soon. For instance, Houston and the oil industry here (not just the big companies like Exxon, but the massive ecosystem surrounding petroleum). It may not be about winning new industries, but gaining the benefits of open source where they already are.
- nivla 12y agoWhen company X that the hivemind dislikes makes it to the news, they are often criticized with not open sourcing their product Y. When they finally open source it, they are met with "Too late!". Sometimes there is no winning with people who have already made up their mind. >Too little Really? Its MS, their core products and the open source we are talking about. Heck they even open sourced it under a liberal license.
- ellisike 12y agoScott 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.
- deleted 12y ago[deleted]
- d0ugie 12y agoFor those curious, Microsoft went with the Apache 2 license: http://www.asp.net/open-source http://www.asp.net/open-source
- badman_ting 12y agoOh, whoever did this is gonna be in big trouble. Heads are gonna roll. …Hmm? What do you mean "they meant to do that"?
- githulhu 12y agoNot all of ASP.NET though...notably absent: Web Forms.
- gagege 12y agoYeah, I noticed that too. It would seem that my co-worker who thinks MVC is a fad is at odds with MS themselves.
- chiph 12y agoASP.NET MVC is no longer a fad - a lot of the job openings I'm seeing are asking for it.
- SideburnsOfDoom 12y agoASP MVC stopped being a fad years ago.
- dested 12y agoId say its safe to say webforms is dead. The only job openings for it now are legacy systems.
- byte1918 12y agoSharePoint and there are probably others.
- gagege 12y agoThat's what I'm trying to tell this senior developer at work. It's a pain.
- chris_mahan 12y agoIn my case, my direct manager. Oh, and not ASP.Net webforms. WinForms, for desktop-deployed software.
- 12y ago
- dev360 12y agoIs this admission that codeplex is dead?
- kayone 12y agoI don't think so, the ASP.NET team has been releasing code to github for while. same as azure, most of their SDK was released to github, I don't think there is a mandate for all MS project to be on codeplex which is somewhat surprising.
- alelefant 12y agoAt long last I can avoid codeplex for browsing the aspnet source!
- skrebbel 12y agoFolks, not much of this is new. Both Entity Framework and ASP.NET MVC were already open source for quite some time [0][1]. All the other repos are nearly empty. The only real news here is that, indeed, ASP.NET vNext is going to be developed in the open, or at least to some extent. But right now, not a lot of code seems to be released that wasn't already out there (although I did not go through all the repos). I don't think you should expect to find many current/legacy parts of ASP.NET that aren't open yet: this seems to be mostly for new stuff. Finally, don't forget that "ASP.NET" doesn't seem to mean a lot (anymore): it's basically Microsoft actively shipping the org chart. Anything that's web related and from MS appears to get tacked "ASP.NET" on front of it. Cause really, what does ASP.NET MVC, basically a pretty uninspired Rails port to C# (and just an open source library like any other), have to do with "active server pages"? [0] https://aspnet.codeplex.com/wikipage?title=MVC https://aspnet.codeplex.com/wikipage?title=MVC [1] https://entityframework.codeplex.com/ https://entityframework.codeplex.com/
- Jaecen 12y ago"ASP.NET" is the name of Microsoft's .NET web platform. To answer your rhetorical question, ASP.NET MVC is an MVC framework for Microsoft's .NET web platform. "Microsoft MVC" would not be clearly constrained to web development.
- skrebbel 12y ago"Microsoft's .NET web platform" What does that even mean? In this case, a bunch of libraries and a protocol for dispatching HTTP requests to .NET code. If I use Mono's XSP server, and use it to host a ServiceStack backend, am I using "the ASP.NET platform"? It's 100% non-Microsoft open source. Am I using ASP.net when I host the same backend on IIS instead? Or when I host ASP.NET MVC (which is just a library) on Mono/XSP?
- bunderbunder 12y agoFirst 4 words of content at https://github.com/mono/xsp https://github.com/mono/xsp are "Mono's ASP.NET hosting server". So yeah, you're using ASP.NET. In the same way that working with Mono is using .NET. Or maybe not. Perhaps someone means to specify that they're using Mono/XSP as opposed to one of Microsoft's implementations. But then it'll probably be obvious from the context.
- daigoba66 12y agoOne should note that this is the "new" ASP.NET. The old version, the one explicitly tied to IIS, is not and will probably never be open source software. They're building a new stack from the ground up. Which is the only way, really, to make it "cross platform".
- soundoflight 12y agoThe old one was open sourced a couple months (years?) back and is on CodePlex. http://aspnetwebstack.codeplex.com/ http://aspnetwebstack.codeplex.com/
- daigoba66 12y agoNot 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.
- reddiric 12y agoIt's at least available to view the source: http://referencesource.microsoft.com/System.Web/xsp/system/Web/UI/Page.cs.html#System.Web/xsp/system/Web/UI/Page.cs#a7e11608d83dac42 http://referencesource.microsoft.com/System.Web/xsp/system/W...
- bad_user 12y agoThat's not open-source.
- ajryan 12y agoIn ASP.NET vNext, there is no System.Web any more. They have broken the core into separate components, and their source is in the OP link.
- WoodenChair 12y agoIs this snippet of code bad? I was just randomly browsing https://github.com/aspnet/KRuntime/blob/dev/src/Microsoft.Framework.DesignTimeHost/ApplicationContext.cs 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 bool IsDifferent(SourcesMessage local, SourcesMessage remote) { return true; }
- tekknolagi 12y agololwat
- matthewarkin 12y agothats why its called vNext, not vCurrent, still a work in progress
- davidfowl 12y agoI should have put a TODO in there :)
- pmelendez 12y agoIt happens in the best families... :)
- politician 12y agoHonestly? It looks like an API that's suffering from lack of an interface.
- malkia 12y agoPossibly http://en.wikipedia.org/wiki/Multiple_dispatch http://en.wikipedia.org/wiki/Multiple_dispatch ?
- sz4kerto 12y ago
- turingbook 12y agoSome 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 https://github.com/aspnet/Home [1] https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md https://github.com/aspnet/Home/blob/master/CONTRIBUTING.md [2] http://blogs.msdn.com/b/dotnet/archive/2014/05/12/the-next-generation-of-net-asp-net-vnext.aspx 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-vnext-the-future-of-net-on-the-server.aspx http://blogs.msdn.com/b/webdev/archive/2014/05/13/asp-net-vn...
- V-2 12y agoICanHasViewContext :) (Mvc / src / Microsoft.AspNet.Mvc.Core / Rendering / ICanHasViewContext.cs)
- MrRed 12y agoBut why are they looking if their code runs on Mono [1] ? [1] https://github.com/aspnet/FileSystem/blob/dev/src/Microsoft.AspNet.FileSystems/PlatformHelper.cs https://github.com/aspnet/FileSystem/blob/dev/src/Microsoft....
- getsaf 12y agohttp://www.hanselman.com/blog/IntroducingASPNETVNext.aspx http://www.hanselman.com/blog/IntroducingASPNETVNext.aspx "... Oh, and by the way ASP.NET vNext (and Rosyln) runs on Mono, on both Mac and Linux today. While Mono isn't a project from Microsoft, we'll collaborate with the Mono team, plus Mono will be added to our test matrix. It's our aspiration that it 'just work.'" Thanks for pointing that out though, I learned something new today! http://msdn.microsoft.com/en-us/library/dd642331(v=vs.110).aspx http://msdn.microsoft.com/en-us/library/dd642331(v=vs.110).a...