I’m interested in Modular Monolith course. I’ll get it. Could you please also make it in other programming languages like Java/ Spring, Typescript/ Node/ React, Go etc. with best practices? I believe as programmers being good at these popular languages/ frameworks will make us competitive in the job market.
0 error(s), 0 warning(s) 👍 This is always the first thing I want to enforce. But don't bother when you need to maintain older projects that didn't have this from the start ... 😅
We can start slowly with older projects. Assuming it's split into multiple assemblies (projects), we can turn it on one .csproj at a time and go from there
One of my bookmark video❤ It would be interesting to see behind the scene fixes... may be on a separate video too so that the purpose of this video still be full filled and clean. Thanks for this
I find it very useful. But I have a question, if I am working on a project having few microservices and class library all using .Net8 then should I be creating all under single solution? If yes, then how should I be managing GitHub repos as different team will work on different microservices. Thanks
Great video Milan! One question, that option to Add Docker support is related to the .NET version? or to the IDE version? (Asking because i'm currently working into a .NET 6 project + Visual Studio 2022 and i tried to right click to check if i had that option and i don't)
Thank you for the video. Let's say I wan't to add a web app into this solution that comunicates with this API, what would be needed to do in docker-compose?
@@MilanJovanovicTech Problem was that i had 2 nuget package sources, needed to configure source mapping, also since my sln is inside a folder, i had to put the prop files in the root folder
Very useful tutorial. But I have a problem with adding .NET Aspire Orchestrator Support. The error message says: ,,One or more errors were encountered while creating project MotivPlan. The generated project content may be incomplete. The SDK 'Aspire.AppHost.Sdk/9.0.0' specified could not be found. C:\Users\matte\source epos\MotivPlan\MotivPlan.AppHost\MotivPlan.AppHost.csproj" What's next?
@@MilanJovanovicTech No, I created a Web Api with .NET 9. But I tried to force to download Aspire.AppHost.Sdk from NuGet to WebApi, and then I tried to create Aspire Orchestrator Support, and it works, but without forcing to download Aspire.Apphost.Sdk to WebApi, it throws this error.
@@MilanJovanovicTech No, but I solved it with forcing download aspire. But Milan, one more question: Can docker love the solution which is: to centralize the targetframework in Directory.Build.props? Because I met that problem in Azure Pipeline (#12 2.095 /usr/share/dotnet/sdk/8.0.405/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(96,5): error NETSDK1013: The TargetFramework value '' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [/src/MotivPlan.WebApi/MotivPlan.WebApi.csproj]), I removed targetframework from webapi.csproj, and I added it in Directory.Build.props, and the pipeline runs inappropriately.
Want to master Clean Architecture? Go here: bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
I’m interested in Modular Monolith course. I’ll get it.
Could you please also make it in other programming languages like Java/ Spring, Typescript/ Node/ React, Go etc. with best practices?
I believe as programmers being good at these popular languages/ frameworks will make us competitive in the job market.
0 error(s), 0 warning(s) 👍
This is always the first thing I want to enforce.
But don't bother when you need to maintain older projects that didn't have this from the start ... 😅
We can start slowly with older projects. Assuming it's split into multiple assemblies (projects), we can turn it on one .csproj at a time and go from there
Thanks!
Thanks a lot!
Learned something new
Happy to help!
Great information being shared here, overlooked most times
Glad you found it helpful!
One of my bookmark video❤
It would be interesting to see behind the scene fixes... may be on a separate video too so that the purpose of this video still be full filled and clean.
Thanks for this
Not much going on behind the scenes
This is so cool. Thanks Milan for sharing 😍
Awesome, glad you found it useful :)
Useful thank you
Happy to help
Very useful and great overview!
Thank you!
Some amazing tips in there. Thank you for sharing.
Most welcome!
This is new to me,,, Thanks
You're welcome!
Great things to start a project please. I also add logging and open telemetry
Logging is a must
Small but useful tips. Thanks!
Glad it was helpful!
Most useful thank you Milan!
Glad it was helpful!
Very great, thanks for the suggestions.
Sure thing :)
Adding Directory.Build.props is giving circular dependency error. Any idea?
No idea how
Thanks for sharing
My pleasure
Thanks
No problem!
great video tutorial
Thanks!
I find it very useful. But I have a question, if I am working on a project having few microservices and class library all using .Net8 then should I be creating all under single solution? If yes, then how should I be managing GitHub repos as different team will work on different microservices. Thanks
Does the .NET version between services matter? Assuming they communicate via HTTP or using a message broker
Really good.
Thanks!
Love it ❤
Awesome!
Great video Milan! One question, that option to Add Docker support is related to the .NET version? or to the IDE version?
(Asking because i'm currently working into a .NET 6 project + Visual Studio 2022 and i tried to right click to check if i had that option and i don't)
VS 2022 should work
enabling GC server mode might included, since in .NET 9 DATAS is enabled by default ?
Don't know
What would you use for approval workflow? Learning Elsa 3.0 is difficult since no doc
How does this help project setup?
Thank you for the video. Let's say I wan't to add a web app into this solution that comunicates with this API, what would be needed to do in docker-compose?
Define a service and how to start the container (which image/Dockerfile to use)
Any tips on setting docker compose launch with debugging on VSCode?
Not really. I don't use VS Code for .NET development
Thanks For video but when add new project to solution the condition to make package global don't work with me can you help me with the solution
Yep, you'll have to fix that manually :/
@@MilanJovanovicTech can I send my GitHub repo to you i follow every step many times
Does Aspire have support of container scaling?
Yes - you call WithReplica(N) and specify how many you want
Where can i copy your visual studio color settings?)
Get ReSharper
Can we do the same things in Rider?
Yes
Good video.Can you provide the source code?
I share all the source code on Patreon
@@MilanJovanovicTech Thank you
nice
Thanks
Does this work only in net9? in my net8 its breaking
It should work fine. What's breaking?
@@MilanJovanovicTech says the net framework, "ResolvePackageAssets" task was not given a value for the required parameter "TargetFramework".
@@facundoferrero1395try deleting bin/obj folders for your projects, then try a rebuild
@@MilanJovanovicTech Problem was that i had 2 nuget package sources, needed to configure source mapping, also since my sln is inside a folder, i had to put the prop files in the root folder
👍
👍
Very useful tutorial. But I have a problem with adding .NET Aspire Orchestrator Support.
The error message says:
,,One or more errors were encountered while creating project MotivPlan.
The generated project content may be incomplete.
The SDK 'Aspire.AppHost.Sdk/9.0.0' specified could not be found.
C:\Users\matte\source
epos\MotivPlan\MotivPlan.AppHost\MotivPlan.AppHost.csproj"
What's next?
Missing .NET 9?
@@MilanJovanovicTech No, I created a Web Api with .NET 9. But I tried to force to download Aspire.AppHost.Sdk from NuGet to WebApi, and then I tried to create Aspire Orchestrator Support, and it works, but without forcing to download Aspire.Apphost.Sdk to WebApi, it throws this error.
@@MilanJovanovicTech No, but I solved it with forcing download aspire. But Milan, one more question: Can docker love the solution which is: to centralize the targetframework in Directory.Build.props? Because I met that problem in Azure Pipeline (#12 2.095 /usr/share/dotnet/sdk/8.0.405/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(96,5): error NETSDK1013: The TargetFramework value '' was not recognized. It may be misspelled. If not, then the TargetFrameworkIdentifier and/or TargetFrameworkVersion properties must be specified explicitly. [/src/MotivPlan.WebApi/MotivPlan.WebApi.csproj]), I removed targetframework from webapi.csproj, and I added it in Directory.Build.props, and the pipeline runs inappropriately.
👍
Thanks!