What is .NET Aspire service discovery?

  Рет қаралды 2,170

dotnet

dotnet

27 күн бұрын

Read announcement blog: aka.ms/aspireGA | Watch the series - aka.ms/aspire/videos
.NET Aspire service discovery helps applications to find each other. Distributed applications consist of multiple services that talk to each other over the network. Whether you are working locally or in the cloud, the services need to talk to a different endpoint, such as a different service of a different port.
Learn more: aka.ms/aspire/learn
.NET Aspire at Microsoft Build 2024: build.microsoft.com/sessions?...
Documentation: learn.microsoft.com/dotnet/as...
Connect with .NET:
Blog: aka.ms/dotnet/blog
Twitter: aka.ms/dotnet/twitter
TikTok: aka.ms/dotnet/tiktok
Mastodon: aka.ms/dotnet/mastodon
LinkedIn: aka.ms/dotnet/linkedin
Facebook: aka.ms/dotnet/facebook
Docs: learn.microsoft.com/dotnet
Forums: aka.ms/dotnet/forums
🙋‍♀️Q&A: aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: aka.ms/learndotnet
#dotnet #whatisservicediscovery #aspireservicediscovery #servicediscovery #dotnetaspire

Пікірлер: 5
@WeirdoPlays
@WeirdoPlays 26 күн бұрын
All these are leaks before build 2024 😂
@scosminv
@scosminv 14 күн бұрын
knowing Kubernetes, is hard for me to understand the use for Aspire. I think it tries to use the Kubernetes way to deploy into cloud providers stacks. I find kuberentes config / kustomize a better way to achieve the same. The difference being that kubernetes way is standardized, portable and reusable across environments. Oh and doesn't get in the way. (e.g. you don't need to figure out the Aspire way to do service discovery... that is an infrastructure aspect which kuberentes handles gracefully via "ClusterIP Services". You can easily deploy and run kubernetes dashboard.... So I find many things "borrowed" from Kubernetes world if you know what I mean. Maybe you didn't know... your regular Windows Docker (e.g. Docker Desktop, Rancher Desktop) envionement supports running a single node cluster on your machine.
@davidfowl
@davidfowl 8 күн бұрын
It does not use Kubernetes at all. When you run locally, we don't need the overhead of a cluster to run simple executables or containers on your machine. The barrier to entry is extremely low in comparison and optimized for local development. There's no yaml, no containers required by default, no need to deploy a dashboard, no need to setup multiple containers with more yaml configured just right to get telemetry. It's just more productive when you are messing around in this space. Kubernetes is for deployment (as it should be).
@scosminv
@scosminv 8 күн бұрын
@@davidfowl Indeed, it provides extra flexibility but with extra costs. If you start running your services as containers locally with Aspire, you start getting close to running Kubernetes locally (enabled with a tick of a checkbox) within your Docker Desktop / Rancher Desktop or minikube installation. When you do this, you don't need extra projects in your solution and understanding other orchestration dialects and their Nugets work. You are in the kubernetes + kustomize world. You reuse your skills. .NET can publish containers without dockerfiles into a local registry where from they can be picked up by your local k8s cluster. Let's acknowledge the fact that Docker(Dockerfile) is the standard for container format and Kubernetes(k8s metadata) is the standard for container orchestration There is a reason compose / tye / and other attempts to introduce alternative ways of orchestrating services didn't succeed... There is always a translation effort to your target infrastructure metadata while when targeting Kubernetes you are close to your target and covered cross-cloud provider. I guess, it's good to have options. I'll keep following Aspire evolution to understand it better and the contexts where it shines. So far The OTEL dashboard and the resilience packages are a universal win for .NET Thanks for answering!
@scosminv
@scosminv 2 күн бұрын
@@davidfowl I agree it's a convenient way fror .NET devs to run microservice workloads locally. When you need to target pre-production / production environments I see friction with other tools in this space. Tools like kubernetes on one side and terraform, pulumi, ... on the other side. Devops people are not necessarily .NET devs so you get to step into two different worlds that complicate things at a higher level. Just a thought.
What are .NET Aspire service defaults?
4:31
dotnet
Рет қаралды 1,9 М.
What Is .NET Aspire? The Insane Future of .NET!
18:35
Nick Chapsas
Рет қаралды 260 М.
ГДЕ ЖЕ ЭЛИ???🐾🐾🐾
00:35
Chapitosiki
Рет қаралды 9 МЛН
A pack of chips with a surprise 🤣😍❤️ #demariki
00:14
Demariki
Рет қаралды 35 МЛН
Её Старший Брат Настоящий Джентельмен ❤️
00:18
Глеб Рандалайнен
Рет қаралды 7 МЛН
"I Hate Agile!" | Allen Holub On Why He Thinks Agile And Scrum Are Broken
8:33
WHY and HOW to Add .NET Aspire to ANY .NET API and Web App in Minutes
22:02
What is GitOps, How GitOps works and Why it's so useful
11:33
TechWorld with Nana
Рет қаралды 334 М.
.NET 8 | Everything you NEED to KNOW!
9:04
Claudio Bernasconi
Рет қаралды 23 М.
Brutally honest advice for new .NET Web Developers
7:19
Ted's Tech
Рет қаралды 43 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
Swagger is Going Away in .NET 9!
10:48
Nick Chapsas
Рет қаралды 84 М.
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 3,8 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 22 МЛН
Apple watch hidden camera
0:34
_vector_
Рет қаралды 61 МЛН