Live data from Hacker News

Announcing .NET Core 1.0

blogs.msdn.microsoft.com

221–230 of 327 posts

Re: Announcing .NET Core 1.0

#222

Earlier quoted context omitted.

You can go ahead with PostreSQL if you use Entity Framework and Code First approach. I used it many times and I was able to quickly jump from PostreSQL to MS SQL and back. It just works. With EF I don't see any reason why I should tie to any particular SQL database

Personally, I prefer writing SQL by hand. That way I know exactly what will happen in a query. A database really is an important component of a system and shouldn't be treated like a dumb data store where you just throw in any stuff you like through an ORM and hope it sticks there somehow.

It's easy enough to do that, you don't HAVE to use an ORM framework. Though mapping sprocs to an Entity model is easy enough... I've had to do that several times where performance in EF was particularly bad.

Re: Announcing .NET Core 1.0

#223

Do we officially have better-than-Java on all platforms now?

Yeah 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 imm…

I'm not entirely sure about that.. Node.js has made huge inroads in the 6-7 years it's been around, and Go is pretty popular in some circles as well. Also, look at how RoR grew. It's entirely possible we'll see a shift towards .Net away from Java as an option for lots of projects.

Especially as the tooling for micro-services and docker (or similar) gain traction moving forward. C# is pretty well supported, and at least here in Phoenix is about as common as Java is... can't speak for other metro areas.

I've been a pretty big node.js fan, and haven't used C# as much the last few years, but I wouldn't count it out. Two years ago, C# wouldn't have been on my radar for a new project, now it's entirely possible, given the opportunity for better cross platform deployments.

Re: Announcing .NET Core 1.0

#224
post #67

FYI, 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 Pr…

I am surprisingly okay with this. If this is indeed all that is being collected, then I am totally okay with that data being collected from time to time. I would like for my architecture and usage style to be represented, so that my workflow isn't made obsolete.

Re: Announcing .NET Core 1.0

#225

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

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

Re: Announcing .NET Core 1.0

#226
post #136

Any 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/... and an issue here https://github.com/dotnet/corefx/issues/5766

You 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

Re: Announcing .NET Core 1.0

#227
post #172
post #143

Earlier quoted context omitted.

So it is bad when Microsoft asks to do it, but ok when Eclipse, Netbeans or InteliJ do it? They are being quite open about it and how to turn it off.

Yes. It's bad when Microsoft does it this way because it's opt-out. IntelliJ/Android Studio prompts you and asks you your preference first. I think Eclipse is opt-in but could be mistaken.

That’s the recurring debate with opt-in = better for privacy but skewed stats vs. opt-out = more relevant stats but bad for privacy(?).

Re: Announcing .NET Core 1.0

#228

Earlier quoted context omitted.

> a button was removed from File Explorer Would that be the "Go up to the parent directory" button that was removed in 7 by any chance?

Easily my favorite button in file explorer.

[Ctrl][Up] works in Vista onwards to move up a folder. It's worth knowing.

Re: Announcing .NET Core 1.0

#229

Earlier quoted context omitted.

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

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

Source: https://twitter.com/secretGeek/status/7269997868 ;)

Re: Announcing .NET Core 1.0

#230

F# 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 ) and will be published a nuget package with fix soon.

To build off of enricosada's post, this is indeed being tracked and actively worked on right now. More information here: https://github.com/dotnet/cli/issues/3705#issuecomment-22889...

Known issues will also be updated, as will documentation on how to use F# on .NET Core.

Post reply on HN