- CSnakes integrates Python into .NET apps - https://tonybaloney.github.io/CSnakes/
https://www.youtube.com/watch?v=DqoxHNH9Iwo shows adding an LLM
There are several ways to manage migrations depending on the team structure and dev practices: SQL scripts, command line, bundles (single-file executables), and in-app. The team recommends SQL scripts since they can be reviewed, tuned, and managed by a DBA but take your pick. https://learn.microsoft.com/ef/core/managing-schemas/migrati...
- The post specifically calls out wealth concentration (e.g. becoming wealthier than one's fellows) as a major problem, and the donations are focused on working against that. Review the list of dentations, as you may have missed that these are organizations that help people in need rather than, say, recent examples of billionaires buying votes.
- Presentation from .NET Conf 2023 last week with some of the new stuff: https://www.youtube.com/watch?v=N1weyWS_pL0
- 30 points
- 231 points
- Install size depends on the features you pick when you install. Web / service / library development is small, desktop / mobile / C++ gets bigger as the toolchains + sdks + emulators are big. If your VS install is 30 GB and that's a problem, run the installer, click modify, and uncheck stuff you're not using. A lot of devs check off everything "just in case" but since you can add other features when you need them, it's better to start with what you know you'll use.
- Visual Studio for Mac has run natively on M1 (without Rosetta) since the May 22 release of Visual Studio 2022 for Mac v17.0 - https://devblogs.microsoft.com/visualstudio/visual-studio-20...
The installer is a separate binary and currently still requires Rosetta. There's an update due out very soon (a few weeks) that will remove the Rosetta requirement. The team prioritized getting the application fully native before the installer since you spend a lot more time running the app than the installer.
Also it's important to know that Visual Studio for Mac isn't the exact same application as Visual Studio (Windows). Visual Studio is 25 years old and has some Windows specific features that don't make sense on macOS. Also, Visual Studio for Mac is optimized to integrate with macOS features (e.g. accessibility and themeing). There's a lot of code shared between the editor, project system, debuggers, etc., and we try to balance making them as similar as possible while following the macOS app guidelines and conventions.
Disclaimer: I'm on the .NET team at Microsoft, and work with the Visual Studio for Mac team a lot.
- Blog post with more info (2019): https://techcommunity.microsoft.com/t5/windows-kernel-intern...
- There is the Blazor Hybrid option with .NET MAUI. You write your UI using Razor (HTML + C#) and can use native controls and features when needed. As a .NET dev who prefers HTML to XAML, this feels more natural to me for a lot of apps.
https://docs.microsoft.com/aspnet/core/blazor/hybrid/tutoria...
- There's a really clear minute summary video by the first author on this paper: https://www.youtube.com/watch?v=jdshml5515o
- F# has Units of Measure: https://docs.microsoft.com/en-us/dotnet/fsharp/language-refe...
There are libraries that implement this concept in other programming languages (C++, Java, C#, etc.)
- For high level, you can start at https://dotnet.microsoft.com/ which has links to learning resources for different topics.
There's also a 40 page e-book ".NET for Java developers" here: https://aka.ms/dotnet-forjavadevs
- A little oversimplified - Visual Studio Community can be used to develop commercial software, with restrictions to (summarizing) 5 conccurrent users in non-enterprise organizations. https://visualstudio.microsoft.com/license-terms/mlt031819/
- Thanks for letting me know, I'll check in with friends in docs and try to get this sorted out. Sorry for the frustration.
- Hi, I'm on the .NET community team. Here's what we see as the happy path for .NET:
- .NET website (https://dot.net) - High level info on different workloads, 5 minute in-browser tutorials, links to live shows and community
- MS Learn (https://aka.ms/mslearn-dotnet) - Interactive tutorials with learning paths built from 30ish minute learning tutorials
- Docs (https://aka.ms/msdocs-dotnet) - More in-depth documentation on specific tasks and features, e.g. API documentation, performance optimization, security guidance, etc.
While you can go directly to any of them, the dot.net site will link you to Learn modules that will link you to docs, so hopefully you can start on the dot.net site and it will help you find the right place.
One thing I really like (and I'm totally biased because I've helped set it up) is https://live.dot.net. Those are all our live shows with the PM and dev teams. We've got a show every day of the week, and there's always really good Q&A in the chat.
- Here's a really simple example of something that would benefit standard websites, not just complex web applications: image lazy loading.
<img src="..." loading=lazy>
Sure you can handle this with JavaScript, etc. The point is that this is one of countless papercuts - standard, useful behaviors that work everywhere but Safari.
https://web.dev/browser-level-image-lazy-loading/ https://caniuse.com/loading-lazy-attr
- I think this is a good partnership. One of the goals of open source software foundations is to eliminate risks due to dependency on a small developer team. In this case, HIBP is a fantastic resource being maintained, and paid for, by one developer. That's not good for the maintainer, it's not good for the community, and it's risky to the community. If the sole developer wins a spot on the next flight to Mars or time travels to A.D. 802,701, the code becomes unmaintained and the site hosting payment expires. Software foundations governed by rotating teams and aren't dependant on a single individual. This is an example of something that's relatively low investment for an established software foundation - some legal fees and discounted cloud hosting from a sponsor - and benefits the whole community.
- Brief mention in the post, but FYI to the thread - .NET Foundation is an independant non-profit (501c6) foundation that supports the .NET open source community. It's run by a community elected board and funded by member donations and a diverse group of corporate sponsors. This is a great example of the kind of work they do to support the community.
Disclaimer: I was on staff at .NET Foundation 2016-2019.
- How so? .NET is 2-4x faster than Scala in benchmarks (https://www.techempower.com/benchmarks/#section=data-r20&hw=...). Do you just prefer the syntax and language features?
- Save Theme should prompt to name if it's Untitled.
It's not super obvious that every theme is created as Untitled and rename icon only shows when you hover over the title.
- 39 points
- This is code to write a command line application, not to use the console.
- Here's the customer showcase on the .NET site (with links to more at the bottom of the page). It lists some of the biggest enterprise adopters: https://dotnet.microsoft.com/platform/customers
Of course, lots of Microsoft services run on .NET Core. Last year, the Bing team talked about how their move to .NET Core 2.1 gave them big performance jumps here: https://devblogs.microsoft.com/dotnet/bing-com-runs-on-net-c...
(disclaimer: Microsoft employee, .NET team)
- .NET Core 3 (in preview, due out Sep 23) includes support for popcount as part of the BitOperations class: https://docs.microsoft.com/en-us/dotnet/api/system.numerics..... There's a recent post describing hardware intrinsics in .NET Core: https://devblogs.microsoft.com/dotnet/hardware-intrinsics-in...
There are a lot of potential use cases, but one of the early discussions was around quickly scanning for known HTTP headers. You can see that in use here: https://github.com/aspnet/AspNetCore/blob/caa910ceeba5f2b2c0...
If you really need help falling asleep, here's the discussion going back to 2015: https://github.com/dotnet/corefx/issues/2209
Disclaimers: Microsoft employee, Nazgûl
- It looks like this is a possibly independent project to expose an RDF set over the Microsoft Academic Graph. More information about that here: https://www.microsoft.com/en-us/research/project/microsoft-a...
The above link also references the Open Academic Graph: https://www.openacademic.ai/oag/
Disclaimer: Microsoft employee, in a totally different part of the company and with no actual clue other than Googling the above. Also, Nazgûl.
- That's the entire point of this zoning change - moving the higher density housing near to public transportation, with integrated restaurants and stores so they're walkable. The current five zone types (explained in the article) separate commercial and residential, requiring people to drive to businesses and work. (also a San Diegan)
- There's a pretty good overview of the research areas here: https://www.microsoft.com/en-us/research/
There's also a Microsoft Research podcast with interviews here: https://www.microsoft.com/en-us/research/blog/category/podca...
A lot of stuff you'd expect like AI, ML, HCI, cloud computing, security, but also stuff like acoustics, social media impacts of computing, biology and medicine, etc.
- Most benchmarks I follow show C# as faster than Java, or at worst tied, these days:
https://benchmarksgame-team.pages.debian.net/benchmarksgame/... https://www.techempower.com/benchmarks/#section=data-r17&hw=...
Disclaimers:
Microsoft employee
Nazgûl
- Why?
On OSX, just use Visual Studio Code and .NET Core: https://weblogs.asp.net/dixin/c-8-0-in-depth-setup-c-8-0-and...
https://tonybaloney.github.io/CSnakes/getting-started/#build...
What's with the "just copy it" thing? Nobody does that, we use NuGet packages, GitHub Actions, SDK supported containers, reproducible cross-platform builds from command line, etc.
edit: I'm sure some people use file/copy, but you sure don't have to. That stopped being a common thing 10+ years ago with cross-platform .NET.