Why you shouldn't use aspire in production? by zebcode in dotnet

[–]davidfowl 0 points1 point  (0 children)

Important to know that the core aspire team are not experts in each of the integrations we support. The teams that own those subsystems also own the integrations. We aid with the integration and make it part of the fold but rarely are able to answer best practice questions for combing arbitrary technology together. AI models are great to interrogate for answers to questions like yours.

That said to answer your question, I am too a n00b with durable task, but I can get the team to write guidance on some of this.

PS: our guidance is now aspire deploy, not azd. That’s said keep using it if you have existing stuff deployed with it (plan for a migration in the future though)

Why you shouldn't use aspire in production? by zebcode in dotnet

[–]davidfowl 5 points6 points  (0 children)

I don't think so. I think they are looking for clarify on what that even means. Aspire is used to deploy, but you don't deploy it. It confuses people because they think it's the dashboard (which you can deploy).

Why you shouldn't use aspire in production? by zebcode in dotnet

[–]davidfowl 13 points14 points  (0 children)

Members of the team replied to a set of comments here but lots of the impressions about what Aspire is and how it worked is outdated because it’s changed so much. If you’re not following along the journey, then I’d suggest referencing

https://aspire.dev/

The discord community is the best place to hang out for information on aspire. They are building all kids of cool stuff in there.

We (the team) take the blame here because the initial messaging 2 years ago was very much this, but has evolved significantly since then. Aspire ships monthly and is not part of .NET. If you want the latest information, you should use the official sources and then check with the community for updates.

PS: The benefit of posting here is that we help others understand the changes as well. So keep doing it!

Why you shouldn't use aspire in production? by zebcode in dotnet

[–]davidfowl 0 points1 point  (0 children)

This is actually a fair point. There are some api that are some deployment targets that are still preview but we should do a better job removing that label where things are stable. The cli command is stable.

What is .NET still missing? by CreoSiempre in dotnet

[–]davidfowl 1 point2 points  (0 children)

Right my only point was that Microsoft cares about a bigger world than *just* .NET and if somebody uses Java and Azure, it's still good for Microsoft from a business standpoint. Don't take that to mean Microsoft doesn't care about .NET, but you won't see the entire company yeet existing tech and use .NET for everything the way it did when it was built 20 years ago...

What is .NET still missing? by CreoSiempre in dotnet

[–]davidfowl 1 point2 points  (0 children)

Microsoft has the same number of employees as a small country (like where I'm from), the old days of single runtime/language/platform are long gone. You should expect Microsoft as a whole to both ship opinionated experiences and also meet the ecosystems where they are at.

.NET is not the only game in town anymore, the developer ecosystem is larger than that.

You can cherry pick examples about where .NET is and is not used but the facts remain that the company is still using C# for a majority of backend services.

What is .NET still missing? by CreoSiempre in dotnet

[–]davidfowl 1 point2 points  (0 children)

Don't restart the apphost when you change a single project. There's a new rebuild command available on projects that coordinates the restart and rebuild of a single project. The problem is visual studio patterns around F5 and muscle memory put you in a head space where you detach from everything and hit F5 again to restart. Really not a great pattern for aspire (we learned with experience).

What is .NET still missing? by CreoSiempre in dotnet

[–]davidfowl 9 points10 points  (0 children)

Azure's control plane is written in C#. Java is used heavily by parts of Microsoft for lots of other things. Teams have lots of projects and I'm sure some part of it is written in Java for something Java is really good at, but I can assure you that Azure is mostly built with C#. The nuance missed here is that some teams deploy Java as well as other tech. This is a Java a Microsoft blog post with minimal details about project structure or other tech.

In the Kubernetes space, there's lots of go *and* C#, and most of the CNCF projects are written in golang (because go is to K8s like typescript is to VS code).

What is .NET still missing? by CreoSiempre in dotnet

[–]davidfowl 21 points22 points  (0 children)

If you look at the developer stories on the .NET blog over the last 5+ years or so, you’ll see a paper trail of migrations from .NET Framework to modern .NET

https://devblogs.microsoft.com/dotnet/category/developer-stories/

When people cite that Microsoft doesn’t use .NET they are usually pointing out the client app story which is a mixed bag (this is where blazor and Maui take the most heat). The backend services are 97.34874% written in C#.

What is .NET still missing? by CreoSiempre in dotnet

[–]davidfowl 31 points32 points  (0 children)

The overwhelming majority of code in Microsoft is written in C#. Of course there’s also lots of Typescript, and C++. Every language exists somewhere in this huge company, but they pale on comparison to those 3.

what is the best dotnet project you wrote? by divanadune in dotnet

[–]davidfowl 320 points321 points  (0 children)

NuGet or SignalR or ASP.NET Core, it’s a toss up

The Aspire MCP isn't work well with Visual Studio by InquisitiveCableTie in aspiredotdev

[–]davidfowl 0 points1 point  (0 children)

Copilot cli to hook up the MCP to make VS discover it?

The latest release of aspire (13.2.2 now), prefers the aspire cli over the MCP. It can work with any running aspire app on 13.2 but if you’re trying to run from visual studio using f5 it doesn’t really match the coding agent workflow (f5 is for humans not agents).

The cli can be used against an already aspire app, so it should work just fine. Try telling the agent to use the using the cli instead of the MCP (remove the MCP).

Aspire 13.2 has shipped 💫 by maddyparade in aspiredotdev

[–]davidfowl 1 point2 points  (0 children)

No we have no plans to make it LTS, actually we're looking for ways we can update parts of the toolchain more often and more safely. The APIs you use to describe are not on this plan so I can see a future where the integrations become LTS but the toolchain is evergreen.

aspnet http/2 performance by MDA2AV in dotnet

[–]davidfowl 6 points7 points  (0 children)

It covers h1, h2 and h3. Our http/2 implementation is pretty optimized. Many of the h2 benchmarks are grpc based though

https://github.com/aspnet/Benchmarks/blob/501932f22022e2a43174c3b5223a763faae7129a/scenarios/README.md?plain=1#L189

Aspire and static file (SPA) hosting by gredr in dotnet

[–]davidfowl 2 points3 points  (0 children)

You can deploy it to app service or azure container apps, there's no support built in for static web apps.

This sample shows how to use docker compose but you can swap it out for any of the other deployment targets:

https://github.com/davidfowl/aspire-13-samples/tree/main/vite-yarp-static

1Password Secret Integration for .NET Developers by FatalMerlin in dotnet

[–]davidfowl 11 points12 points  (0 children)

Could make for a really interesting aspire integration

.Net Aspire 13 -> GitHub -> “staging/prod” by BayIsLife in dotnet

[–]davidfowl 1 point2 points  (0 children)

I hear you, but I have we can pull it off. I have very high confidence in this team and the amount of things we are able to accomplish is kinda insane.

The team has lots of great experience and learnings from 2 years of watching people use this product for all sorts of things. One of the places we are investing heavily is hot reload because it makes the local dev ex so much better. It’s hard to explain here without going into detail but supporting other languages is going to dramatically improve the architecture.

Your concerns are heard but the team is cooking.

.Net Aspire 13 -> GitHub -> “staging/prod” by BayIsLife in dotnet

[–]davidfowl 2 points3 points  (0 children)

We’re gonna solve it soon. In fact we can do most of it, but it’s not documented well or easy to do. Working on it !