Redis Cache, PostgreSQL Databases, Messaging, & More with .NET Aspire

  Рет қаралды 5,311

James Montemagno

James Montemagno

Күн бұрын

Пікірлер: 25
@samh6536
@samh6536 15 күн бұрын
Very good explanation, saved me hours
@MrSikesben
@MrSikesben 5 ай бұрын
Thanks James for this video, let me try it out this weekend.
@jportugal100
@jportugal100 3 ай бұрын
How do we more use the cache in a service?
@Ador-25
@Ador-25 5 ай бұрын
good one
@minatharwat1
@minatharwat1 5 ай бұрын
Thanks James, what Nuget package do you recommend for Push Notifications in .Net Maui?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
shiny
@toragodzen
@toragodzen 4 ай бұрын
How it works without Connection Strings ? You don't have any connection strings in configuration.json and it still works somehow ...
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
aspire creates and configures the connection strings for you automatically
@tonystevens2611
@tonystevens2611 5 ай бұрын
Hi James, I tried it and I'm getting "There is a problem loading our products. Please try again later."? How do you create the database and tables?
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
I have the context create it: github.com/jamesmontemagno/eShopLiteOnAspire/blob/master/Products/Data/ProductDataContext.cs Of course you can also do a migration as well.
@rodrigo-5967
@rodrigo-5967 5 ай бұрын
@@JamesMontemagno but where do you ensure the table is created (productsdb)? The only thing I have to say is that AddDatabase in the AppHost is misleading to say the least... Anyway, other than that great video! :)
@mikelorengo8548
@mikelorengo8548 4 ай бұрын
​@@rodrigo-5967Look at line 18 in the file he referenced.
@rossimac
@rossimac 4 ай бұрын
Your EnsureDatabaseExists logic seems to run after Postgres is online, but mine seems to run sooner than that and the database has yet to be fully turned on. Weird. I'm on a 32Gb Macbook M1 Max, so I don't think it's that my system is slow or anything. Any ideas other than adding in a delay? Maybe retry numerous times and then giving up?
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
Checkout: github.com/davidfowl/WaitForDependenciesAspire
@rossimac
@rossimac 4 ай бұрын
@@JamesMontemagno nice find. I feel like this should be front and centre in Aspire.
@kristianmasar1532
@kristianmasar1532 4 ай бұрын
Every time I run my application Aspire create new docker container with DB on random port. If I cancel my application, that container with DB disappear. And this all the time, I think thats normal for Aspire. But when I fill database with some data thru app, I lost it because all the time I have new database. And I didnt find any solution for this.
@JamesMontemagno
@JamesMontemagno 4 ай бұрын
It should all be the same database. Hard to know without a sample but inquire on the discord maybe
@kristianmasar1532
@kristianmasar1532 4 ай бұрын
@@JamesMontemagno when you run Aspire app it create container for database. When you turn off your app, that database cointainer is gone and your data too. You have to create volume to database. Please can you show how to do it. I did it by the documentation and it doenst work how it should. Storing data persist
@JoshWeeks
@JoshWeeks 5 ай бұрын
I heard tell of an Aspire discord but haven't been able to get a working link. Do you happen to know about that? I have burning questions.
@JamesMontemagno
@JamesMontemagno 5 ай бұрын
Yes! It is a channel here: aka.ms/dotnet-discord
@JoshWeeks
@JoshWeeks 5 ай бұрын
@@JamesMontemagno my man!
@timur2887
@timur2887 3 ай бұрын
xlnt!
Hello YARP, A Lightning Fast Reverse Proxy with .NET
22:51
James Montemagno
Рет қаралды 8 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,8 МЛН
Worst flight ever
00:55
Adam W
Рет қаралды 39 МЛН
How do Cats Eat Watermelon? 🍉
00:21
One More
Рет қаралды 12 МЛН
What Is .NET Aspire? The Insane Future of .NET!
18:35
Nick Chapsas
Рет қаралды 272 М.
Everything about Database and .NET Aspire
28:19
dotnet
Рет қаралды 4 М.
Coding Shorts: .NET Aspire - Databases
10:52
Shawn Wildermuth
Рет қаралды 5 М.
The New ID To Replace GUIDs and Integers in .NET
8:54
Nick Chapsas
Рет қаралды 84 М.
Secrets, Security, and Keycloak in .NET Aspire
30:48
dotnet
Рет қаралды 4,7 М.
How .NET Aspire will save .NET (and its not about "the cloud")
8:54
Getting Started with Event Sourcing in .NET
37:07
Nick Chapsas
Рет қаралды 56 М.
First Look at .NET Aspire - Distributed Applications in .NET 8
12:56
Milan Jovanović
Рет қаралды 33 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,8 МЛН