22 ms·
Announcing .NET Core 1.0
- BinaryIdiot 10y agoInteresting name choice considering they have already had a .Net 1.0. I mean I get it, I understand why they chose to make this more of a 1.0 release but for those already in the .Net ecosystem it seems a little confusing to me.
- malekpour 10y agoIt could have been more confusing by bumping versions. They first tried ASP.NET 5 and ASP.NET MVC 6 and EF 7 and there was no simple migration path from older version. Now they are all Core 1.0
- recursive 10y agoExcuse me if this was already obvious, but the word "core" designates a new product line, starting from 1.0. Obviously, it's informed heavily from the old .net framework, but it's not backwards compatible with it.
- BinaryIdiot 10y agoSure it's obvious. Like I said I "get it" it's just core has always been a part of .Net just less directly referred to so my first thought was this was .Net 1.0's core until I started reading through the link. Overall I think it's a good move just a little confusing (unless I'm the only one) for those who have done .Net work before.
- lmickh 10y agoThis is just a personal view, but my first instinct when I read about product "CoolApp" and "CoolApp Core" would be to assume core is a subset of the first. Not a new and re-engineered product line. I could see why others might see .Net Core as a parallel product as opposed to a new one.
- interdrift 10y agoThe dawn of a new era!
- runesoerensen 10y agoRelease notes: https://github.com/dotnet/core/blob/master/release-notes/1.0/1.0.0.md https://github.com/dotnet/core/blob/master/release-notes/1.0...
- deleted 10y ago[deleted]
- jderick 10y agoDoes this represent some kind of change for .NET? Why is it called 1.0?
- enricosada 10y agoBecause it's the first version of the xplat .NET (the .NET Core) supported by Microsoft (mono already does an amazing works as xplat, and have done that for years). It's not confusing if you work in .NET, the .NET Framework 1.0 was released in 2000..
- malekpour 10y agoThey reset versioning to 1.0 by renaming .NET to .NET Core
- FLGMwt 10y agoThe full .NET framework (Windows only) will live on, currently at 4.6.2, I believe. ".NET Core" is the new open source, cross-platform subset of the full .NET framework.
- insulanian 10y agoIMHO the full .NET is from today considered a legacy platform. I would compare the situation to WebForms / MVC - who does new projects with WebForms now?
- oblio 10y agoAs far as I remember the long term plan is to stack the remaining APIs from the full .NET on top of .NET Core. So Microsoft would have: .NET Core - base for everything. .NET - Windows specific bits, Xamarin - mobile specific bits.
- jsingleton 10y agoIt's v1.0 of the "Core" open-source rewrite.
- 10y ago
- dogma1138 10y agoI was really hoping for ARM support at least as far as RasPi goes for 1.0. But still very good news I personally love .Net it's nice to be able to use it cross platform without having to work specifically around mono.
- oblio 10y agoFrom what I see Samsung has been contributing on that front. They said in the announcement that Samsung has joined the Dotnet Foundation.
- dogma1138 10y agoYeah, the only problem with Samsung is that they most likely going to make builds for the Exynos based SOC which isn't that wide spread. The ARM ecosystem is quite fragmented and depending on how you build your software it's not as portable as one would assume. It's also not clear which instruction sets they are going to be aiming for Exynos started with ARMv7 + all the stuff that Samsung added to it, but the newer ships are ARMv8. The Raspberry Pi still uses ARMv6, 7 and 8 depending on the exact model with the newer RasPi compute, and Zero models still running the old BCM2835 ARMv6 CPU's. So I'm hoping for a more or less clean stock ARMv7 and ARMv8 builds for the .NET core coming out sooner rather than later, I also hope they'll release the X86 version to more platforms than Windows since running it on something like an Intel Edison which comes with a 32bit ATOM CPU will be quite cool. .NET is quite powerful and for my taste it's considerably better than Node.JS (I don't like Javascript, this isn't some technical observation just personal preference) but I do like C# and F# quite a bit and having the ability to run the same code across multiple platforms makes me excited for IOT/Embedded devices again especially considering that I don't have to work through some of the headaches that come with Mono (some pun indented).
- oblio 10y agoWell, I imagine that if someone offers support for those platforms they won't say no. But they'd probably also need for stuff such as the CI chain.
- 10y ago
- gldev 10y agoAfter so many years microsoft finally presenting their tools in a more moden way. Never been a huge fan of .NET but i can't deny is a great tool hopefully people try it out on more platforms.
- whatever_dude 10y agoI still can't shake the feeling that their naming is just confusing. I still am not sure what exactly is .NET and what's not.
- gldev 10y agoYes, that's a thing but at this point imagine just how much more confusion it could create if they change the name.
- bigtones 10y ago.Net is 14 years old now - if you don't know what it is by now you're probably not ever going to know. It's a cross platform runtime and a group of programming languages that run on it, just like Java.
- chinhodado 10y agoThe general idea of .NET as a platform is easy to understand. The naming of .NET Core, .NET Framework, ASP.NET, etc. and the difference between them is not.
- oblio 10y ago.NET Framework = the whole shebang, the full runtime including Windows-only bits. .NET Core = portable subset of .NET Framework. Therefore not entirely compatible with .NET Framework. ASP.NET Core = portable rewrite of ASP.NET. AFAIK not fully compatible with previous versions.
- cobalt 10y ago
- AndreyErmakov 10y agoDocumentation as a PDF (constantly updated): https://readthedocs.com/projects/aspnet-aspnet/downloads/pdf/latest/ https://readthedocs.com/projects/aspnet-aspnet/downloads/pdf... It's really just a copy of their informational web site content with articles by different authors, but still very conveniently combined into a single PDF useful for printing etc.
- krylon 10y agoThank you! I have been looking for something like this!
- ieverdream 10y agoGiant leap forward represented by Microsoft!! Happened right there when I heard of Microsoft released SQL Server running on Linux...
- donpdonp 10y agoAm I the only one annoyed with the post title of "NET" and not ".NET"?
- pduk 10y agoPossibly removed automatically by Hacker News
- deleted 10y ago[deleted]
- jsingleton 10y agoLive stream of the release at Red Hat DevNation: https://channel9.msdn.com/Events/Linux/DevNation-2016 https://channel9.msdn.com/Events/Linux/DevNation-2016 Starts at 0930 local.
- AndreyErmakov 10y agoA bit unrelated, but I'm hoping to hear something soon about the future licensing model for the upcoming SQL Server on Linux. Do we get a free version without DB size / CPU / RAM limitations (but perhaps with some other restrictions) that smaller companies and startups can use in production? I'm planning to run my future ASP.NET MVC projects on Linux and very much would like to know if a better SQL Server Express / Community Edition is coming or do I need to move to PostgreSQL (which I have already started looking into).
- BrentOzar 10y agoMicrosoft already announced the SQL Server on Linux licensing: https://blogs.technet.microsoft.com/dataplatforminsider/2016/03/15/data-driven-top-10/ https://blogs.technet.microsoft.com/dataplatforminsider/2016... "A customer who buys a SQL Server license (per-server or per-core) will be able to use it on Windows Server or Linux. This is just part of how we are enabling greater customer choice and meeting customers where they are." Same editions, same prices.
- AndreyErmakov 10y agoThanks for the information! Apparently I missed that in the news stream. Sad to hear about that though. I was hoping for a break. Will just have to continue reading that PostgreSQL book I've already started.
- AndreyErmakov 10y agoNow that someone has downvoted me, I know it is the right choice and I must learn Postgres. Thanks for your support, folks.
- sherjilozair 10y agoPostgreSQL is the right choice, no matter what.
- pcr0 10y ago
- knocte 10y agoI was expecting they would fix the Uri class on Unix (https://github.com/dotnet/corefx/issues/1745 https://github.com/dotnet/corefx/issues/1745) before releasing 1.0 :( Now I fear their backwards compatibility policies will prevent to fix it later. So much for crossplatformness...
- tacos 10y agoWay too many compatibility issues unaddressed by that PR to have a hope of getting anything changed there. Also it looks like what you (?) are trying to do could easily be solved with the Path.* and Directory.* path manipulation functions. No need to put a million apps at risk when you can wrap your call to Uri() with a three line helper.
- knocte 10y ago3line helper? facepalm...
- triangleman 10y agoCare to enlighten us?
- recursive 10y agoHow many lines would be acceptable? Your frustration is inscrutable.
- jsingleton 10y agoThey've renamed some packages, so this might possibly be fixed in another one? I found the Ping class didn't work on any non-Windows OS, but it was fixed in a later package with a new name.
- computerlab 10y agoA couple months ago I installed .NET core on a Ubuntu virtual machine running on the Windows 10 hypervisor, and was able to get a MVC5 app running using Visual Studio Code. As someone who really loves Visual Studio (it made me expect a lot more from my tools) and C# (it made me expect a lot more from my languages), it was an exciting moment. I actually took a selfie with my monitor. It was still a little rough: the "getting started" instructions ONLY worked on Ubuntu 14.x and not Ubuntu 16.x, and my PR to the documentation pointing this out was nixed. (I notice they've since added a disclaimer: https://docs.asp.net/en/1.0.0-rc1/getting-started/installing-on-linux.html#installing-on-ubuntu-14-04 https://docs.asp.net/en/1.0.0-rc1/getting-started/installing...). I really hope to someday be able to build projects with React and a .NET core WebApi and be confident that my teammates will be able to get the project running on their macbooks without kms.
- jsingleton 10y agoMVC 6 is the version that works best with Core, although they don't really refer to it directly much any more. Both MVC 6 and Web API 2 are now part of Core. They're just packages like everything else.
- computerlab 10y agoGood point, I meant MVC6. I confused the versions of ASP.NET 5 (which is now known as ASP.NET Core) and MVC6.
- jsingleton 10y agoThe naming is really confusing, but then naming things is hard. As Phil Karlton famously said: There are only two hard things in Computer Science: cache invalidation and naming things.
- recursive 10y agoI don't know where it came from, but I've always preferred this variant: There are only two hard things in Computer Science: cache invalidation, naming things, and off-by-1 errors.
- donatj 10y agoI'm receiving > “dotnet-dev-osx-x64.1.0.0-preview2-003121.pkg” can’t be opened because it is from an unidentified developer." I know full well how to get around this, but it makes me suspicious of what I've downloaded. Would Microsoft have truly missed this?
- jsingleton 10y agoIt is annoying. The preview MSIs are signed but the preview PKGs are not. The last release was so maybe it just takes some time? BTW you can ctrl-click/right-click the installer package and select open to get the option to run it without fully disabling gatekeeper. [https://github.com/dotnet/cli/issues/3434 https://github.com/dotnet/cli/issues/3434]
- leecow 10y agoHey folks, sorry for the inconvenience around PKG signing. We're working on it right now and should have things updated soon. Lee [.NET PM]
- jadbox 10y agoI'd LOVE to see some Linux web/micro benchmarks... particularly against Java, Go, Node, Python.
- manigandham 10y agoThe webstack is pretty fast, they're working on getting listed officially in the techempower rankings [1]. Here's an older article from Feb explaining more details. [2] 1. https://github.com/aspnet/benchmarks https://github.com/aspnet/benchmarks 2. http://web.ageofascent.com/asp-net-core-exeeds-1-15-million-requests-12-6-gbps/ http://web.ageofascent.com/asp-net-core-exeeds-1-15-million-...
- tacos 10y agoFrom the release notes: "We used industry benchmarks for web platforms on Linux as part of the release, including the TechEmpower Benchmarks. We’ve been sharing our findings as demonstrated in our own labs, starting several months ago. We’re hoping to see official numbers from TechEmpower soon after our release. Our lab runs show that ASP.NET Core is faster than some of our industry peers. We see throughput that is 8x better than Node.js and almost 3x better than Go, on the same hardware."
- e12e 10y agoThey link to some benchmarks in the article: https://github.com/aspnet/benchmarks https://github.com/aspnet/benchmarks (they're a little hard to read on mobile, but I think the tl;dr is "plenty fast" (or to quote the article: "Our lab runs show that ASP.NET Core is faster than some of our industry peers. We see throughput that is 8x better than Node.js and almost 3x better than Go, on the same hardware. We’re also not done! These improvements are from the changes that we were able to get into the 1.0 product.")
- JustSomeNobody 10y agoMe too. Especially compared to raw servlets, not the normal 50 layers of inheritance, enterprise crap.
- 616c 10y agoScott Hunter of MS did an interview not so long ago re .NET, Kestrel (the new libuv HTTP server they build), and their march to build up as a top contender for Tech Empower. http://dotnetrocks.com/?show=1291 http://dotnetrocks.com/?show=1291 They have a team who does it all for fun and has an impressive testing environment build out. Fascinating to listen to given today's new. I listened a few weeks ago myself. I have friends at work who liked C# and moved on to frontend. The fact they are so less interested in .NET now is amazing to me as I finally want them to teach me to use ... on Linux!? I never thought I would say that. Haha.
- montyedwards 10y agoI don't see mention of FreeBSD anywhere in the .NET Core 1.0 announcements -- has official support for FreeBSD dropped or been postponed?
- Voloskaya 10y ago* FreeBSD is listed on CoreCLR GitHub repo (https://github.com/dotnet/coreclr https://github.com/dotnet/coreclr). See current build status here: http://dotnet-ci.cloudapp.net/job/dotnet_coreclr/job/master/job/release_freebsd/ http://dotnet-ci.cloudapp.net/job/dotnet_coreclr/job/master/... * Also, see doc here (last updated in feb though): https://github.com/dotnet/coreclr/blob/master/Documentation/building/freebsd-instructions.md https://github.com/dotnet/coreclr/blob/master/Documentation/... * Laslty, FreeBSD arrived on azure last week, so it would be quite surprising if support was dropped.
- montyedwards 10y agoI understand, but none of those links are the .NET Core 1.0 release announcements. And the download page for .NET Core 1.0 doesn't mention FreeBSD at https://www.microsoft.com/net/download#core https://www.microsoft.com/net/download#core
- RomanPushkin 10y agoDo we officially have better-than-Java on all platforms now?
- interdrift 10y agoLooks like it.
- 16bytes 10y agoLanguage and tooling wise? Yes, or very close to it. There's a lot to be said about the huge amount of value in the main maven repository vs. what's in nuget. Java's decade long head start in that area doesn't seem so huge when you look at what the node.js community has put together in only a few years. If you were considering .net on a new project, however, I would probably recommend comparing something like Scala. Scala has the benefits of being a "modern" language like C# with the full support of all or nearly all of the existing JVM projects. That being said, there are a growing number of reasons to choose .net on non-windows platforms.
- oblio 10y agoI'd argue that it will be a while for Nuget to catch up. When I go on Maven Central I expect every library to be cross platform except for those marked as platform dependent. For Nuget... all bets are off for now. It's the exact opposite, I assume that things are not portable or at least have not been tested on say, Linux.
- rbanffy 10y ago> Java's decade long head start in that area doesn't seem so huge when you look at what the node.js community has put together in only a few years. It's easier to follow than to blaze a path. We have learned from Java and can, hopefully, avoid those pains.
- PopsiclePete 10y agoYeah but so what. If the "best" language always won, why isn't the entire world running on Haskell and Rust or whatever? Java's eco-system is ginormous and it's deeply entrenched as the "corporate stack" in non-MS shops, with more than 15 years of history. I'm afraid this is just too late to make a big dent. C# is nicer than Java, but not that much nicer to warrant switching over or rewriting your stuff in a very immature eco-system. Maybe they're hoping to capture some of that elusive start-up market- and mind-share? That one is already pretty hostile towards MS... Either way, this is a good thing, I just wish they had done this in 2005 or so.
- enricosada 10y agoF# doesnt work ootb with sdk preview2. Work ok with preview1 of SDK (win/ubuntu/osx/docker), but preview2 has a bug, the fix is in progress ( ref https://github.com/dotnet/netcorecli-fsc/issues/12 https://github.com/dotnet/netcorecli-fsc/issues/12 ) and will be published a nuget package with fix soon.
- acangiano 10y agoYou reported the issue 11 days ago. I'm surprised they just announced it with such a basic use case being broken. It doesn't bode well for F# as a first class citizen in their ecosystem.
- ubertaco 10y agoSeconded. I saw the announcement and immediately went to grab the docker image and give it a shot with F# via "dotnet new -l F#" and go. It restored and built, but didn't run. So v1.0 is broken, I guess?
- Eyas 10y agoI don't think so. It means that the tooling is broken, which is not at 1.0 yet (still in `preview2` I believe).
- enricosada 10y agoExacly, the preview2 of the sdk, atm, is broken for f#. Not the .net core, that's ok. new console/lib templates are going to be published (with the fixed fsharp compiler/library package), that's all.
- ubertaco 10y agoStill a little odd for a release announcement. It feels disingenuous to only afterwards make the fine-grained distinction that yes the libraries are technically v1, but the tooling is still in preview. Kinda like announcing your new line of cars is ready for purchase today! Except that down in the fine print you might find out that the engine is ready to go, but the steering wheel, headlights, dashboard, and pedals are all still in development and so it's justifiable that they're broken.
- SoapSeller 10y agoIt's fascinating how Microsoft's marketing moved from ".Net - One platform with multiple languages" to "This is .Net - here some samples in C#"(without mentioning C# by name anywhere in the page). I think that .Net would be much better if they had this kind of focus in dev side from the start. *Hides from the f# mafia.
- jsingleton 10y agoThere is another blog post here: https://blogs.msdn.microsoft.com/webdev/2016/06/27/announcing-asp-net-core-1-0/ https://blogs.msdn.microsoft.com/webdev/2016/06/27/announcin... (they have 2 blogs, one for ASP.NET and one for .NET) The stream on Channel 9 is about to start.
- bad_user 10y agoI don't understand, why does the package name for Linux say preview2? apt-get install dotnet-dev-1.0.0-preview2-003121 Isn't this the final release?
- jsingleton 10y agoThe preview refers to the tooling (CLI, VS etc.) [https://github.com/aspnet/home/wiki/roadmap#schedule https://github.com/aspnet/home/wiki/roadmap#schedule]
- michaelmior 10y agoEven if this isn't the final release, I'm confused why they would include version numbers in the package name at all. One of the reasons of having a package manager in the first place is to avoid things like this.
- dreamsofdragons 10y agoIs this the release of .Net Core and ASP.Net Core, or is this just the .Net Core?
- runesoerensen 10y agoFirst line of the blog post: We are excited to announce the release of .NET Core 1.0, ASP.NET Core 1.0 and Entity Framework 1.0, available on Windows, OS X and Linux!
- dreamsofdragons 10y agoInteresting, I could swear that the first time I clicked the link it went to a product page. I never saw the blog post.
- runesoerensen 10y agoYou're right, the link was updated after the announcement post was made public (was https://www.microsoft.com/net/ https://www.microsoft.com/net/) :)
- muratgg 10y agoBoth.
- smcl 10y agoDamn, I wanted to learn more so clicked Learn -> Get started with .NET Core and ... 404 Not the best start :-/ https://docs.microsoft.com/en-us/dotnet/core/index https://docs.microsoft.com/en-us/dotnet/core/index
- lenkite 10y agoThats https://docs.microsoft.com/en-us/dotnet/articles/core/index https://docs.microsoft.com/en-us/dotnet/articles/core/index
- smcl 10y agoCool, thanks. Well the link on the page is somehow still not displaying this.
- cyphax 10y agoI have a Slackware server, I have tried a few times to get started with .net core but I've given up every time because it's just so unclear what I have to do and where to find everything. Maybe if I have Debian or Fedora it's easy, but I don't, and I just cannot seem to find a simple article that says: here download this, run that, and you're good to go. So I guess I'll try again in a few months.
- daveguy 10y agoFYI, from the announcement. Probably the most important part at the end, italicized by me. Also note (elsewhere) that licenses are MIT and Apache2: .NET Core Tools Telemetry The .NET Core tools include a telemetry feature so that we can collect usage information about the .NET Core Tools. It’s important that we understand how the tools are being used so that we can improve them. Part of the reason the tools are in Preview is that we don’t have enough information on the way that they will be used. The telemetry is only in the tools and does not affect your app. Behavior The telemetry feature is on by default. The data collected is anonymous in nature and will be published in an aggregated form for use by both Microsoft and community engineers under a Creative Commons license. You can opt-out of the telemetry feature by setting an environment variable DOTNET_CLI_TELEMETRY_OPTOUT (e.g. export on OS X/Linux, set on Windows) to true (e.g. “true”, 1). Doing this will stop the collection process from running. Data Points The feature collects the following pieces of data: The command being used (e.g. “build”, “restore”) The ExitCode of the command For test projects, the test runner being used The timestamp of invocation The framework used Whether runtime IDs are present in the “runtimes” node The CLI version being used The feature will not collect any personal data, such as usernames or emails. It will not scan your code and not extract any project-level data that can be considered sensitive, such as name, repo or author (if you set those in your project.json). We want to know how the tools are used, not what you are using the tools to build. If you find sensitive data being collected, that’s a bug. Please file an issue and it will be fixed.
- Analemma_ 10y agoI choose to ignore this post so five weeks from now I can write an outraged "Microsoft is TRACKING YOU" article on Medium that will garner me praise and upvotes.
- jsingleton 10y agoMuch quicker and easier than simply forking the code and commenting out the telemetry feature :P
- stephengillie 10y ago
- jsingleton 10y agoGood news! Now time for all the library and framework authors to add support for .NET Core. I know a lot of people were waiting for RTM before starting this, considering the massive changes between RC1 and RC2. I've started a support matrix project at https://anclafs.com https://anclafs.com. Feel free to file an issue or send a PR on GitHub.
- enricosada 10y agothe asp.net core changed a lot between rc1 and rc2 (because moved to .net sdk instead of dnx). The normal libraries or console app not too much
- jsingleton 10y agoIt depends on if you want to run ASP.NET Core on .NET Framework 4.6 or on .NET Core 1.0. It's not just the SDK that is new, Core console apps are pretty recent too, as previously it was mainly for web apps.
- dewiz 10y agoYou're missing akka.net there
- jsingleton 10y agoThanks! I have a big list of things to add but I'll check this is on there and add it if they are planning (or have already added) support for Core. It started as things I had talked about in my recent book.
- jsingleton 10y agoAdded, closing https://github.com/jpsingleton/ANCLAFS/issues/4 https://github.com/jpsingleton/ANCLAFS/issues/4, thanks!
- deleted 10y ago[deleted]
- swalsh 10y agoDoes anyone know if the changes planned to project.json are included in this?
- romanovcode 10y agoNo, they are not.
- mrweasel 10y agoDoes Microsoft have some diagram or something that shows how all the .NET things fit together (on Linux)? The C# development I've done was... fine, but that was seven years ago and it's like Java in the sense that it's an amazingly complex thing to grasp and keep up with. Understanding how everything is layered is pretty complicated at this point.
- soundoflight 10y agoI could be wrong, but I think this is what you are looking for. http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx http://www.hanselman.com/blog/AnUpdateOnASPNETCore10RC2.aspx
- frik 10y agoalso on HN frontpage: Woman wins $10,000 judgment against Microsoft for forced Windows 10 upgrade: https://news.ycombinator.com/item?id=11985904 https://news.ycombinator.com/item?id=11985904 As everytime a negative MS news is featured on HN, suddenly two positive news suddenly appear with many upvotes - what a coincidence.
- dang 10y agoWe've been through this before: https://news.ycombinator.com/item?id=11844253 https://news.ycombinator.com/item?id=11844253. Please stop commenting like this here. Presumably the .NET announcements were pre-scheduled, so if there is any connection between these posts, it must go the other way. But I don't believe there is. On the contrary, coincidence is almost certainly what we're seeing here, and in that case it is probably only the strength of your feeling about this topic that makes you see it otherwise. We detached this comment from https://news.ycombinator.com/item?id=11987313 https://news.ycombinator.com/item?id=11987313 and marked it off-topic.
- uluyol 10y agoDoes this still use mono's jit and GC on mac and linux? Last I checked mono's GC is conservative and the jit isn't as good as the .NET one.
- mellinoe 10y agoIt does not; it uses the same JIT and GC as the Windows version of .NET Core, and the code is also shared with the (full) .NET Framework that ships inside Windows. Actually, this has always been the case for .NET Core, but you may be thinking of our older preview versions which gave you the option to run your app entirely on mono. (I work on .NET at Microsoft)
- atrudeau 10y agoIf I'm an experienced Python developer who develops a lot of websites and APIs using Django or Flask and SQLAlchemy, is there any reason to try this stuff? C# is a great language, but what about the libraries? What replaces Flask? What replaces SQLAlchemy? How do I deploy? Looking for some practical reasons to invest time on this if Windows development is not in my roadmap.
- sakopov 10y agoFlask - Nancy SqlAlchemy - EntityFramework, nHibernate Deployment - AppVeyor (cloud), TeamCity/OctopusDeploy (self-hosted) Having said that, there is probably very little reason unless you're just doing it out of pure interest.
- brianwawok 10y agoNo. If you really want a high performance Windows friendly server software, try Java. But honestly I would not use .net for anything past excel plugins.
- oblio 10y agoWell, besides libraries, performance. .NET supports proper multithreading (no GIL) and it is also much faster than CPython. If IronPython gets ported to .NET Core (maybe it already has, I don't know), then you'd get those benefits for free.
- sremani 10y agoIn the public repos, there no substantial new work taking place with IronPython.
- cbHXBY1D 10y agoIf there was enough interest you could get the Microsoft Python team to support IronPython. There's been talk of a renewed effort. [1] https://blogs.msdn.microsoft.com/pythonengineering/ https://blogs.msdn.microsoft.com/pythonengineering/
- 10y ago
- mcs_ 10y agosudo apt-get install dotnet-dev-1.0.0-preview2-003121 ... some second later... >> This software may collect information about you and your use of the software, and send that to Microsoft. Edit: Please visit http://aka.ms/dotnet-cli-eula http://aka.ms/dotnet-cli-eula for more information. The link is a 404 on GitHub
- shanselman 10y agoFixing now...
- shanselman 10y agoFixed.
- mantenpanther 10y agoI've mixed feelings about this release, because it seems a bit early to me. Some fundamentals will change soon (project.json replacement) and I am still not able to get debugging to work in VS Code on OSX. The whole situation in the .NET Core space was very confusing for the last months and this trend seems to continue. This is sad, because I'd love to code in C# on any platform and that things would just work as advertised on the website. Edit: Debugging works now for me, after the .NET Core Debugger was automatically installed in the background!
- dimgl 10y agoIt's still extremely buggy. Very difficult to get a .NET MVC app up and running (they're not using the term WebAPI anymore).
- mattmanser 10y agoI also think they've made a terrible decision, the first-class support for DI is a bad direction which has made many simple concepts like config settings into absolute farces that take 5 lines of code. It's code "purity" over usability. It's putting the core dev team's principles over their customers actual need, completely violating KISS, DRY and YAGNI. DI really is our generation's factories. I'm already seeing projects written by people who don't understand it making utter nightmare spagetti code, worse than any code I've ever seen. It's nasty scaffolding code which is a symptom of limitations of the language, definitely not code anyone should ever actually be wasting time writing. Instead of recognising it's a flash in the pan, the core team have embraced it and are trying to force it down everyone's necks, and a lot programmers simply don't get it and are making an utter mess instead.
- romanovcode 10y ago>and a lot programmers simply don't get it and are making an utter mess instead. Then maybe those programmers should go back to JS ES5?
- tracker1 10y ago
- yread 10y agoAny ideas how to do GUI development with .NET Core? Is there a version of Xamarin? Are there plans to port Windows.Forms, WPF? There is this massive thread about it http://forums.dotnetfoundation.org/t/cross-platform-wpf/421/90 http://forums.dotnetfoundation.org/t/cross-platform-wpf/421/... and an issue here https://github.com/dotnet/corefx/issues/5766 https://github.com/dotnet/corefx/issues/5766
- WorldMaker 10y agoUniversal Windows Platform ".NET Native" stack is aligned with (built upon/merging towards) .NET Core. It's XAML-based like WPF and Silverlight. ETA: Other than not cross-platform. Other option is Xamarin.Forms and would be useful to see more Xamarin.Forms targets.
- ickler9 10y agoyea, xamarin.forms targets UWP. and looks like there's a forms mac branch being somewhat worked on: https://github.com/xamarin/Xamarin.Forms/tree/mac https://github.com/xamarin/Xamarin.Forms/tree/mac
- tbennet 10y agoYou can have a Web UI in desktop app. Just run the app with embedded kestrel web server and make all UI in HTML. And it will look pretty good an all platforms. CatLight is one of the apps that do that - https://catlight.io https://catlight.io
- voltagex_ 10y agoThat's Electron, .NET Core (?) and Squirrel, all working together. Looks pretty cool, just pity the people on <20 megabit connections - these apps are getting pretty big.
- jasselin 10y agoWhat happened to the so called promised "dynamic compilation"? There was supposed to be a great improvement in compilation times...which is still quite long on the default sample. I don't feel like Microsoft has improved enough for me to make the switch from .NET 4.x.
- tracker1 10y agoAs someone who's mostly moved off of windows, the ability to build/target docker (linux) and dev on osx (already using vs code for node) is pretty compelling.
- mwcampbell 10y agoWhat's the current status of the CoreRT runtime [1], the one designed for AOT compilation? Can it be used for non-trivial programs yet? [1]: https://github.com/dotnet/corert https://github.com/dotnet/corert
- ngrilly 10y agoA few years ago, I wouldn't have thought I would write this, but it looks like Microsoft is definitely changing, for the best! Two questions: - Does .NET Core offers something similar to Go goroutines or Erlang "lightweight" processes? - And something similar to gofmt?
- oblio 10y ago1. I can't say for sure. Maybe this? http://getakka.net/ http://getakka.net/ 2. There's https://msdn.microsoft.com/en-us/library/ff926074.aspx https://msdn.microsoft.com/en-us/library/ff926074.aspx + your favorite IDE which can automatically reformat the code. Visual Studio can do this. If you want to enforce things, there's: https://stylecop.codeplex.com/ https://stylecop.codeplex.com/
- jdmichal 10y agoI don't know of any green threads in .NET -- at least, not built in. However, .NET does have a built-in thread pooling / task execution service. You generally interface via `System.Threading.Tasks.Task`[0], which has static `Run` functions, or use the `Factory` property to get the underlying `TaskFactory` for more fun. Since the executors are pooled, the creation costs will be amortized over your program's lifetime. Then there's `async`/`await`[1], which is built on top of tasks. [0] https://msdn.microsoft.com/en-us/library/system.threading.tasks.task%28v=vs.110%29.aspx https://msdn.microsoft.com/en-us/library/system.threading.ta... [1] https://msdn.microsoft.com/en-us/library/mt674882.aspx https://msdn.microsoft.com/en-us/library/mt674882.aspx
- int_19h 10y agoI remember that a long time ago, .NET threading was implemented in such a way that it should, in theory, support Win32 fibers. It's why all the low-level .NET APIs don't use the OS thread IDs, but instead have their own IDs, and require explicit mapping. I believe that it was abandoned as a supported scenario a while ago, though. But you can still see artifacts of that in the docs, e.g.: https://msdn.microsoft.com/en-us/library/system.threading.thread.managedthreadid(v=vs.110).aspx https://msdn.microsoft.com/en-us/library/system.threading.th... "The value of the ManagedThreadId property does not vary over time, even if unmanaged code that hosts the common language runtime implements the thread as a fiber."
- nitinreddy88 10y agoThey should have named it as xNET :) pronunce it as cross platfrom NET - dot net framework which works on all platforms
- dimgl 10y agoIs some information missing from the article? I'm eager to use this but it's not showing me how to set up my `tasks.json` file.
- youdontknowtho 10y agoThis is great news! I know that some of the devs from MS visit this site. Good work guys!
- mikevm 10y agoWhat is the licensing like if you're a vendor and you want to ship software based on .NET Core on your own hardware appliances? Can you redistribute the runtime, or do you have to pay?
- socialist_coder 10y agoI am interested in hosting a .NET web app on linux, so I read the docs: https://docs.asp.net/en/latest/publishing/linuxproduction.html https://docs.asp.net/en/latest/publishing/linuxproduction.ht... Is there any advantage to running a reverse proxy (nginx) if you already have Cloudfront in front of your cluster, doing the https & gzip work? And, if your web app serves literally 0 static content?
- aphextron 10y ago>And, if your web app serves literally 0 static content? Even real time dashboards have some cacheable content. I would still want to use something like Varnish/NGINX in between.
- socialist_coder 10y agoMobile backend, every call hits the db
- hackaflocka 10y agoIs there a primer somewhere that explains simply what the difference and dependence is between .NET (core, foundation), ASP.NET (core, foundation), Xamarin, Visual Studio (in all it's different flavors including VS.NET etc.) and Visual Studio Code? I tried Wikipedia, and Microsoft's own homepages for each, and am even more confused. I'm a hierarchical thinker, and a hierarchical tree explaining the above would be very very helpful. Disclaimer: I haven't downloaded any of these yet. I usually don't until I've understood something. Bonus question: If I want to develop websites and electron apps using: HTML, CSS, Javascript and PHP, what's the minimum set of technologies (or whatever it is that Microsoft is calling them these days) I will need?
- oblio 10y agoDotnet Foundation = NGO that manages various legal and org things for .NET. Think FSF for GNU. .NET Core = cross platform software development platform. Includes a VM, compiler, tons of libraries. ASP.NET Core = HTTP server + server side .NET libraries. There is no ASP.NET Foundation, it's all part of the Dotnet Foundation. Xamarin = .NET libraries for mobile development. Wraps Android/iOS native libraries. Visual Studio = native Windows IDE for .NET and other languages. Visual Studio Code = portable, Electron/HTML 5 IDE for Javascript/Typescript and other languages. You probably want Visual Studio Code for HTML/PHP. But you should check out .NET Core, it can replace PHP. By the way, if it works, it works, but I find it better to research and do at the same time. Downloading only after you've understood the org chart seems a bit too radical for me :)
- hackaflocka 10y agoThanks. Very helpful. Last 2 Qs: is Framework different from Core? And how does Windows Presentation Foundation fit in all this?
- oblio 10y ago.NET Framework is the old .NET Framework. It's basically the entire shebang, tied to Windows: VM, class libraries, etc. .NET Core is as the name says, just the "core" of the .NET Framework, the part that's cross platform. However, I'm not sure that at this point the code's common, I believe at least a part of it has been reimplemented. I think that in the future .NET Framework will be based on .NET Core. Therefore .NET Framework will be .NET Core + Windows specific bits. WPF is the fancy name for a .NET UI toolkit for Windows, basically. Think of it as a Windows-only GTK.
- eperfa 10y agoI might be missing something here, but does this mean that .NET Framework and .NET Core have diverged, and you need to take extra steps to keep code compatible with both? The major differences between .NET Core and the .NET Framework: [...] APIs — .NET Core contains many of the same, but fewer, APIs as the .NET Framework, and with a different factoring (assembly names are different; type shape differs in key cases). These differences currently typically require changes to port source to .NET Core. While I understand the motivation, this at first sight looks like something that will be with us for a long time, and could make life more difficult especially for library authors, who need to potentially target both 'platforms'. [Disclaimer: haven't used .NET technologies for a very long time and might be horribly wrong here]
- taspeotis 10y agoThere are new platform targets that cover the common functionality. Support in NuGet is a bit nascent though. https://github.com/dotnet/corefx/blob/master/Documentation/architecture/net-platform-standard.md https://github.com/dotnet/corefx/blob/master/Documentation/a...
- mentaat 10y agoHow does the web framework compare to springboot?
- deleted 10y ago[deleted]
- cpeth 10y agoAt my shop we have been using ASP Core since RC1 and have been quite happy with it. The tooling feels a lot like Node.js in a way, much different from any previous .NET development. It's awesome to have C# be deployable as docker containers on Linux hosts. My biggest gripe so far has been that Nuget doesn't have a way to search only for libraries that are Core compatible. If you are San Diego area and interested in working on Core, we are hiring. Inquire at christian.peth(at)millenniumhealth.com
- Scuds 10y agoI'd like to be able to write AWS lambda methods in .Net core.
- hiram112 10y agoMicrosoft is about 5 years too late with this. I'm sure their MVC stack is fine, but this isn't a problem needing a solution in 2016. There are dozens are frameworks in your favorite language that can deal with taking HTTP requests, grabbing data from a backend, and spitting it out as JSON. They all run fine on Linux servers, are easy to develop on Mac. C# is a nice language too, but I'd need a compelling reason to jump from Java / Scala over to .Net. And JetBrains puts out products just as good as Visual Studio for every major language. The one thing that might make me consider this would be MS implementing the actual valuable part of .Net to Linux, Mac, and others: the desktop GUI libs and Visual Studio GUI tools. Of course this will never happen since the MS dev tools team is beholden to the Office and OS departments. Instead, I imagine .Net core will not gain much traction.
- merb 10y agoI still don't understand what's a .NET project now, how to define one? what to checkin? is it still project.json? Or do we need another tool?
- dblooman 10y agoAny tutorial on how to build a .Net core web application specifically on Linux. There seems to be a lot to wade through docs wise with a lot of it still talking Windows.