Тёмный

.NET Microservices - Full Course 

Les Jackson
Подписаться 100 тыс.
Просмотров 1,4 млн
50% 1

In this step-by-step tutorial I take you through an introduction on building microservices using .NET. As the name suggests we build everything completely from start to finish -with the full scope of the course outlined in the time-stamp section below. However, at a high-level we’ll cover:
• Building two .NET Microservices using the REST API pattern
• Working with dedicated persistence layers for both services
• Deploying our services to Kubernetes cluster
• Employing the API Gateway pattern to route to our services
• Building Synchronous messaging between services (HTTP & gRPC)
• Building Asynchronous messaging between services using an Event Bus (RabbitMQ)
To accompany this course I have provided free Kubernetes command and Architecture Cheat Sheet which is available for download when you subscribe to my blog at: dotnetplaybook.com/
🛒 My Store: lesjackson.creator-spring.com/
📕 My Book: www.apress.com/gp/book/978148...
🤩 Patreon Site (Exclusive Member Benefits!): / binarythistle
📕 My other courses: lesjackson.net/
🔗 GitHub Repo: github.com/binarythistle/S04E...
🔗 Containerizing a .NET App: docs.docker.com/samples/dotne...
🔗 Insomnia Download: insomnia.rest/download
🔗How to edit your hosts file: www.howtogeek.com/howto/27350...
🔗 Dependency Injection in .NET: docs.microsoft.com/en-us/aspn...
⏲️ Time Codes ⏲️
- 0:00 PART 1 - INTRODUCTION & Theory
- 2:39 Course Approach
- 6:11 Course Overview
- 11:31 Ingredients & Tooling
- 16:14 What are microservices?
- 33:40 Overview of our microservices
- 37:37 Solution Architecture
- 43:54 Application Architecture
- 46:47 PART 2 - BUILDING THE FIRST SERVICE
- 47:33 Scaffolding the service
- 52:37 Data Layer - Model
- 57:35 Data Layer - DB Context
- 1:02:38 Data Layer - Repository
- 1:16:00 Data Layer - DB Preparation
- 1:27:31 Data Layer - Data Transfer Objects
- 1:41:19 Controller and Actions
2:16:21 PART 3 - DOCKER & KUBERNETES
- 2:16:21 Review of Docker
- 2:20:55 Containerizing the Platform Service
- 2:37:29 Pushing to Docker Hub
- 2:42:43 Introduction to Kubernetes
- 2:46:54 Kubernetes Architecture Overview
- 2:58:40 Deploy the Platform service
3:25:01 PART 4 - STARTING OUR 2ND SERVICE
- 3:25:01 Scaffolding the service
- 3:30:41 Add a Controller and Action
- 3:41:50 Overview of Synchronous and Asynchronous Messaging
- 3:55:21 Adding a HTTP Client
- 4:19:34 Deploying service to Kubernetes
- 4:44:55 Adding an API Gateway
5:07:12 PART 5 - STARTING WITH SQL SERVER
- 5:07:12 Adding a Persistent Volume Claim
- 5:12:34 Adding a Kubernetes Secret
- 5:15:12 Deploying SQL Server to Kubernetes
- 5:30:31 Accessing SQL Server via Management Studio
- 5:33:06 Updating our Platform Service to use SQL Server
6:06:02 PART 6 - MULTI-RESOURCE API
- 6:06:02 End Point Review for Commands Service
- 6:09:31 Data Layer - Models
- 6:16:38 Data Layer - DB Context
- 6:21:37 Data Layer - Repository
- 6:34:53 Data Layer - Dtos
- 6:40:49 Data Layer - AutoMapper Profiles
- 6:45:26 Controller & Actions
7:20:49 PART 7 - MESSAGE BUS & RABBITMQ
- 7:20:49 Solution Architecture Overview
- 7:24:06 RabbitMQ Overview
- 7:28:55 Deploy RabbitMQ to Kubernetes
7:43:27 PART 8 - ASYNCHRONOUS MESSAGING
- 7:44:01 Add a Message Bus Publisher to Platform Service
- 8:18:07 Testing our Publisher
- 8:25:19 Command Service ground work
- 8:36:46 Event Processing
- 8:59:14 Adding an Event Listener
- 9:19:29 Testing Locally
- 9:26:28 Deploying to Kubernetes
9:39:12 PART 9 - GRPC
- 9:39:12 Overview of gRPC
- 9:44:06 Final Kubernetes networking configuration
- 9:54:32 Adding gRPC Package references
- 9:56:44 Working with Protocol Buffers
- 10:03:55 Adding a gRPC Server to Platforms Service
- 10:20:53 Adding a gRPC Client to Commands Service
- 10:39:41 Adding a Database prep class to Commands Service
- 10:48:05 Test Locally
- 10:51:01 Deploy to Kubernetes
- 10:58:43 Final thoughts & thanks
- 11:00:55 Supporter Credits

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,3 тыс.   
@nickchapsas
@nickchapsas 2 года назад
Releasing such an amazing course for free on RU-vid is the absolute power move. Thank you so much for your work.
@vitalyzhidkih2472
@vitalyzhidkih2472 2 года назад
love your videos
@DJosh-cs5vx
@DJosh-cs5vx 2 года назад
Thanks for being here too Nick. Big fan.
@RebaiMoez
@RebaiMoez 2 года назад
@Nick we are waiting for your video :)
@shayvt
@shayvt 2 года назад
Good to see you here Nick 🙂
@davidmata3104
@davidmata3104 2 года назад
Hey Nick. I am waiting for your course too
@AmirPourpanahi
@AmirPourpanahi 3 месяца назад
2:33:19 For those who have error: "socket hang up" in Postman. Starting with .NET 8, default .NET Core port changed from 80 to 8080. You can use: docker run -p 8000:8080 -d /platformservice
@bdharmon92
@bdharmon92 3 месяца назад
You're a hero.
@AmirPourpanahi
@AmirPourpanahi 3 месяца назад
And use port 8080 in "platforms-np-srv.yaml" file. 3:21:11 ports: - name: platformservice protocol: TCP port: 8080 targetPort: 8080
@keithcarrillo8238
@keithcarrillo8238 3 месяца назад
@@AmirPourpanahi Thanks. Should we change the ports in platforms-depl? Not having much luck.
@AmirPourpanahi
@AmirPourpanahi 3 месяца назад
​@@keithcarrillo8238 No, platforms-depl doesn't have port. You need to change it in platforms-np-srv.yaml when creating NodePort to give access to service running in Kubernetes.
@AmirPourpanahi
@AmirPourpanahi 3 месяца назад
​@@keithcarrillo8238 No, platforms-depl doesn't have port. You need to change it in "platforms-np-srv.yaml" file when creating NodePort to give access to service running in Kubernetes.
@supergfb
@supergfb Год назад
I got a job because of what I have learned from you. Thank you very much for releasing such an amazing course. You are the best, mate!
@diode333666999
@diode333666999 Год назад
Congrats on the job mate! Best of luck
@majordelays4909
@majordelays4909 9 месяцев назад
How is the job going?
@DJosh-cs5vx
@DJosh-cs5vx 2 года назад
It's the type of you that help me put food on the table for my family. Tim Corey also. You are God sent.
@thowheedh
@thowheedh 2 года назад
My Respect Increased towards RU-vid after this video
@abdykerimovurmat
@abdykerimovurmat 2 года назад
Respect to Les Jackson
@TheDrComedy
@TheDrComedy 2 года назад
This course is pure gold. It would be awesome if it would have a part two where you deploy this Microservices System into Azure. Great work again!
@Braininfection
@Braininfection 2 года назад
Would love this!
@vagifk2864
@vagifk2864 Год назад
AWS would also work fine :)
@publicalias8172
@publicalias8172 Год назад
​@@vagifk2864no :)
@PASTRAMIKick
@PASTRAMIKick 2 года назад
This was a joy to follow, that beer in the end really did it for me, what a great way to end a great course.
@onurozguzel8747
@onurozguzel8747 2 года назад
It' s my 4th day in the course, I' m at 6th hour, this is the first time in a course, I' ve never skipped a second, not bored or not felt sleepy. You' re brilliant. I want to thank you for making & sharing this beautiful class. I didn' t believe that there' ll be a course at this high level, free on RU-vid.
@granytr6652
@granytr6652 Год назад
Gerçekten faydalı mı? İzliyim mi
@MrBroccoli007
@MrBroccoli007 Год назад
Very well explained! I found it to be very engaging and easy to follow. It's rare that you find a 12-hour programming course that doesn't bore you after the first couple of hours and actually explains every concept as in-depth as this one. Fantastic job!
@RupOase
@RupOase 2 года назад
Gosh, Les, this is astonishing! I waited soooo much for someone to actually code a bit of microservice shenanigans, and you my friend, just earned yourself a drink, when I get to Melbourne. I can't thank you enough for this and all your other coding courses.
@Uncle_Buchi
@Uncle_Buchi 2 года назад
I havent seen the video yet and this comment already has me hyped!!
@sdwone
@sdwone 2 года назад
This is simply one of the BEST uploads I've ever seen on this particular topic! Perhaps THE best! And I've seen a LOT of similar uploads. This Dude is a Legend!
@bolafahmi
@bolafahmi 2 года назад
A really awesome course, I built a study plan based upon it, I deep-dived a little bit into Kubernetes alongside learning your contents too. Can't describe how thankful I am.
@jakubszatkowski8072
@jakubszatkowski8072 Год назад
Just wow. Incredible staff. I've never seen before such a perfect course and that was for free. Thank you Les.
@domingo4931
@domingo4931 2 года назад
After a month of working a few hours on this course and digging deeper into topics myself, i can say i'm finally finished and oh boy, this is by far the best tutorial on RU-vid i have ever seen. I usually don't consider donating or purchasing something from a RU-vidr, but you're definitely worth it. Thank you so much for putting this out in the public!
@takatakboy
@takatakboy 11 месяцев назад
Would just like to whole heartedly thank you for this massive effort of providing this course to all of us. It's helping me prep for interviews. You're changing lives. Thank you.
@arome111
@arome111 2 года назад
Yay - now made it all the way through and everything is working. Thanks for giving this great course to everyone.
@robymathai9286
@robymathai9286 2 года назад
Thanks a lot. I was starting to learn microservices, docker and kubernetes.Perfect combination..Thanks a lot again
@leefogel5195
@leefogel5195 Год назад
Amazing course! You could easily charge $100s for this material. So well thought out, laid out, commented, annotated, explained. A real pleasure to learn from you, Les! Keep up the great work!
@blackcanaryhorcrux7962
@blackcanaryhorcrux7962 Год назад
I really like how practical your approach to teaching is. It is so much easier to keep yourself motivated when you are actually building something, and can see your own progress
@codecomposer88
@codecomposer88 2 года назад
Holy crap. 11 hours of pure gold and also for free. That's just insane. Thank you so much! I was looking for exactly this.
@alshafareen
@alshafareen 2 года назад
This is a fantastic, informative, and superb course. I am really enjoying it. I really appreciate the time and effort you put in to create this course to help the community. Thank you so much, Les.
@osempo
@osempo 2 года назад
Man this will be 11 very well spent hours! Loving all your content, Les!
@dejan.demonjic
@dejan.demonjic 2 года назад
33 hours ;)
@sirdondaniel
@sirdondaniel Год назад
Just finished the entire tutorial. I can't thank you enough. God bless you!
@thfsilvab
@thfsilvab 2 года назад
I have just started watching but I gotta thank you before even watching the video, to post a full course like this for free, I can't thank you enough, for me and all others that will learn from this.
@SkrGta
@SkrGta 7 месяцев назад
The best part about this course on microservices is that it is simply the best out there. You are now well versed with the fundamentals of microservices after completing this massive course. The worst part about this is that it is still scratching the surface of this microservices topic.
@clyne-vg1rq
@clyne-vg1rq 2 года назад
This is GOLD. can learn so much just by watching such an experienced developer building the whole stack from the scratch. Thanks for sharing this incredible content 👍
@Theundeadsmile
@Theundeadsmile 2 года назад
Exceptional course. A long course with no wasted time. I've recommended it to several colleagues and I will definitely watch more of your content. Thanks.
@joeyvico
@joeyvico 2 года назад
I have learned in the first 3 hours more than in my last job during a full year!! Thank you so much for the effort of putting this fantastic tutorial together for the world
@toysoldier12
@toysoldier12 2 года назад
This is better than 90% of paid course regarding similar technologies if not more. Thank you so much. Just a side note, if anyone runs into the problem after ingress-nginx part, turn off your local IIS.
@MrLostAlex
@MrLostAlex 2 года назад
Thanks for the side note. You helped me :)
@kuldeepverma3589
@kuldeepverma3589 2 года назад
Tommy yu are a life saver. I spent several hours trying to solve this and then I stopped for a day to just cool down my brain. Then I started looking in the comments if someone was facing the same issue and I found your comment. Many thanks :)
@KefDS505
@KefDS505 Год назад
Other side note: If you cannot use port 80, run kubectl port-forward --namespace=ingress-nginx service/ingress-nginx-controller 8080:80
@tdunaj
@tdunaj Год назад
Thank you Tommy, that helped me as well.
@SharlyX
@SharlyX Год назад
Thank you for your help :)
@vincentverweij1053
@vincentverweij1053 2 года назад
Les, if you would be a mentor at an educational institute in my neighborhood, I would definitely come and watch your lessons in real life. The way how you approach things, and bring them over to other folks is truly amazing. I did watch the whole video and followed along, and it was an awesome experience. I am proud that I currently have this system running on my computer. As some in the comments already mentioned, this video is golden. Hope you enjoyed the beer, as you deserved it! Thank you!
@sameerg5068
@sameerg5068 2 года назад
After gone through complete course really don't have word to express your effort. Speechless!
@kylegivler8372
@kylegivler8372 Год назад
Thank you, I have just started watching. I appreciate the hard work you and other youtubers go to to bring full in-depth tutorials for people to learn for free. Thank you :)
@jaredhaight
@jaredhaight 2 года назад
I'm about a third of the way through this and I can't get over how good this content is. I've taught some courses myself and I know how difficult it is to nail an intermediate course. You've knocked it out of the park here man, thank you so much for releasing this. Can't say enough good things about this course.
@shahabjoon201
@shahabjoon201 2 года назад
Dear Mr. Jackson, I just can say, Thank You.
@niktek7020
@niktek7020 2 года назад
And this is the first time I have enabled ads for RU-vid - many thanks Les, good to see you're putting lockdown into something super productive.
@GabrielMariusPopescu
@GabrielMariusPopescu 2 года назад
Haven't watched the course, but I am sure it's been great. I love the layout and the fact that Mr Les Jackson took time to develop this one. Thank you, sir!
@MistaT44
@MistaT44 2 года назад
Invaluable content! I’m new to dotnet and this tutorial going step by step while also explaining things massively helped. What a legend!
@Fasteriko
@Fasteriko Год назад
I think it's my first time finishing a whole tutorial, not talking about the fact that all of the last tutorials I watched were much much shorter.. Learned so much.. Took me 10 days of work to finish, took it nice and slowly and learned a lot from my mistakes (and yours XD) Cannot say enough, you're a legend
@hliastsixlhs8116
@hliastsixlhs8116 2 года назад
I honestly think it's one of the best courses I've seen. Thanks Les!
@GuitarBoy_NL_
@GuitarBoy_NL_ Год назад
This video saved my semester! Les Jackson. I came back to this video after I passed my semester to thank you. This video is liquid gold. I can't thank you enough. I owe you so much. Thank you.
@maxim9976
@maxim9976 2 года назад
Это просто праздник какой-то! (It's just like a holiday! Thank you from Russia!)
@WolfieVenturi
@WolfieVenturi 2 года назад
This is seriously amazing. Thank you very much for your efforts and contributions.
@premchandpl
@premchandpl 2 года назад
Hats off to you. Take a bow for this beautiful course. Just completed 5 hours of the video till now and everything went well.
@ellouzesami5600
@ellouzesami5600 Год назад
wanted to thank you for such an amazing video. although it took me a while to complete this course and I had some rough experiences with errors. but this is by far the most fruitful 11 hours I have had on youtube. This is so worth it. Keep up the great work!!
@luquinhamm
@luquinhamm Год назад
I simply can't thank you enough for this amazing course Les!!! pra qualquer BR pensando se vale a pena fazer eu posso afirmar que sim, curso com um projeto basico porém muito bem trabalhado, passsando todas as intruções necessárias. E a didatica do Les também é absurda!
@elebs_d
@elebs_d Год назад
Thank you for releasing such an amazing course. It helped solidify a lot of microservices concepts for me
@vibhoregupta1742
@vibhoregupta1742 2 года назад
This is absolute gold Mr. Les Jackson. Thanks for such a great learning experience.
@souravdebbarma4749
@souravdebbarma4749 2 года назад
Complex things explained in amazingly simple way. Easy to follow through. THANK YOU, LES !!
@Gear3g
@Gear3g 2 года назад
Best microservice content I've seen on youtube
@warrenkeil6623
@warrenkeil6623 2 года назад
Note: Use the "L" and "J" keys to rewind or fast-forward in increments of 10 seconds. Use the left and right arrows keys to rewind and fast-forward in 5-second increments. I feel this is necessary when following a tutorial. And it's a little hard to rewind this video using the mouse due to its length. Awesome course Les, thanks so much for this!
@AKA-077
@AKA-077 14 дней назад
also use "K" for pause because sometimes space tringgers other buttons
@RohitSharma-vq2gn
@RohitSharma-vq2gn 2 года назад
I lost count of concepts that I got cleared with this video. Feeling indebted. Thanks Les. Top notch content 💙
@karthikpixel8009
@karthikpixel8009 2 года назад
Now a days no one is ready to share their knowledge with free of cost but you did it. Awesome work thanks for your effort and time. Thank you so much i really enjoy the course.
@nitajaanel2796
@nitajaanel2796 2 года назад
Wow, I was expecting this to be a paid course back when you announced it. Knockout content 🥊🏆
@Shagidelic
@Shagidelic Год назад
I have finally finished 11 hours course. Thanks Les Jackson for an awesome end to end, beginning to end course. Hope to see more stuff like this in future too.
@superpcstation
@superpcstation 11 месяцев назад
How much time did it take?
@Shagidelic
@Shagidelic 11 месяцев назад
@@superpcstation well I keep notes of what I learn. So it took around 2 weeks.
@fieryscorpion
@fieryscorpion 11 месяцев назад
@@ShagidelicHi, Can you please share your notes? It takes me forever to complete a video course when I take notes, so it’d be immensely helpful if you could share yours. 😊
@irshadf5462
@irshadf5462 Год назад
I can't thank you enough Les for this awesome course. I completed this course in 2 weeks, but never skipped a second of it. I have never seen such great content on RU-vid which explains complex things in such a simple way. You have great clarity in content & your thoughts. Thanks again for such amazing video.
@BlackBeard_Ale
@BlackBeard_Ale 2 года назад
WOW impossible to believe that such a valuable course is available for free! Thank you so much! It is really impressive job you did here!
@fabioono28
@fabioono28 Год назад
@Les Jackson this course is so good that I would like a part 2, where you would evolve these two projects. I believe it would be good implementing some services (instead of leaving the responsibility of calling the methods of repository directly in the controller). As another refactoring, I would suggest the use of a messaging framework (nServiceBus, MassTransit) so we can see the differences. Another thing would be moving this structure to the cloud (AWS, Azure) + creating a CI/CD pipeline for them.
@rafaspimenta
@rafaspimenta 9 месяцев назад
I'd like to add Redis as a distributed cache to the suggestions list 😜
@CHITUS
@CHITUS 2 года назад
Absolutely amazing course. I'm only half though and very enjoying it so far! Learned a lot. Thank you very much for this tremendous work! For everyone who follows along with the course: when we write deployment file for SQL server(~5:19:00) under env (environmental variables) when you specify password the name should be MSSQL_SA_PASSWORD not(!) SA_PASSWORD. It wouldn't work when you try to login with the specified password otherwise.
@adamtalleh4187
@adamtalleh4187 2 года назад
I was stuck almost one hour to figure out what's the problem , thanks so much for your notice !
@mazingguitar
@mazingguitar Год назад
still cannot login into db with this tip
@shuhaozhang7332
@shuhaozhang7332 Год назад
Thanks! I finally connect to sql server after a good one hour... For anyone still stucks: the connection string should be localhost,1433 (COMMA, not dot . nor colon : !!!). If still not works, in sql management studio => connect => options => connection properties => Network protocal => change to tcp/ip.
@freddofernandez
@freddofernandez Год назад
Also adding TrustServerCertificate=True; in the connection string did the job for me!
@maricimarko2458
@maricimarko2458 10 месяцев назад
@CHITUS Maybe its due to sql version for me it is working with SA_PASSWORD, just guessing. @shuhaozhang7332 thx man I didn't know that it should be coma it was driving me crazy.
@elcisco11
@elcisco11 2 года назад
This is the second video I go through in its entirety. Great content! Clearly described and easy to watch. Thanks!
@orafasistemas
@orafasistemas 2 года назад
I was missing see you around RU-vid, then BANG!! you release such an amazing course. Miles y miles de gracias.
@SimpMcSimpy
@SimpMcSimpy 2 года назад
Guys, don't forget to use microservice approach only if you really need to. IMO, for everything else (mostly for small to average projects) good old single container service with multi-tier design is the way to go. This was the hard lesson learned. For the past 10 years I've been maintaining all kind of services for several companies. For small businesses where there are 1-2 developers maintaining the code don't design microservices. I saw many examples where it added unnecessary complexity, performance and testing issues which are very difficult to overcome.
@keithnicholas
@keithnicholas 2 года назад
for sure, microservices is a way to organize teams over large software projects. Also, I'd seriously suggest using something like MassTransit rather than this barebones way
@sdwone
@sdwone 2 года назад
Agreed! I'm a senior software engineer at a company who, due to issues with heavy user traffic which was costing them millions, decided to go down the micro services route in an incredibly quick manner. However, that quick transition has now created other problems and the platform has become somewhat unstable, to the point that they now plan to rebuild the entire platform from the ground up. The choice to go from monolith to micro services was the right one, but the implementation was rushed, due to financial pressures, and now we've accumulated quite a bit of technical debt! Still, just so that you can learn this stuff properly, I would advise anyone to take up this material here, because micro services ain't going anywhere anytime soon, and those that are skilled in this area are going to supercede those that don't.
@JasonTira
@JasonTira 2 года назад
I would like to dig more into this. The reasoning of why and when to use what is always a complex one and often left unanswered. If you have some resources to point at it would be really helpful. There are always a personal preference aspect, but I would prefer to not have to learn the hard way like you did.
@hachapuri1229
@hachapuri1229 Год назад
For those having an issue like this when attempting to connect to the MSSQL: "Could not run migrations: A connection was successfully established with the server, but then an error occurred during the pre-login handshake." It's a problem with an untrusted tls certificate. Just Add "TrustServerCertificate=true" to the end of the connection string.
@ChelseaFanVlad
@ChelseaFanVlad Год назад
very helpful, thank you!
@GiacintoMarcellino
@GiacintoMarcellino Год назад
Thanks man
@steelrain88
@steelrain88 2 года назад
AMAZING, can't wait to dive in. Thank you so much Les for this, incredible work.
@xdrtas
@xdrtas 2 года назад
This course was AMAZING. The outro was even better with the 70/80's music, fonts and effects :D Awesome. Thank you!
@arjunghimire4616
@arjunghimire4616 2 года назад
for those who got error 04:17:50 the ssl connection could not be establish: solution : dotnet dev-certs https --clean dotnet dev-certs https --trust
@mbv401920150
@mbv401920150 2 года назад
Why we should use this to fix this problem... we are using HTTP for testings... 🤔 Anyway, works perfectly - Thanks!
@arjunghimire4616
@arjunghimire4616 2 года назад
@@mbv401920150 don't know.
@BelieveInTheLordJesus777
@BelieveInTheLordJesus777 2 года назад
@@mbv401920150 is Micro$oft...
@andrewgoldie165
@andrewgoldie165 2 года назад
Thank you @arjun. This had me really stuck.
@daviderossi9597
@daviderossi9597 2 года назад
Legend, couldn't find anything on internet
@sayleelad8542
@sayleelad8542 2 года назад
I am just loving the stuff. I had no clue what the microservices are, it was just like a buzz word to me. But this content is truly magical. Covering so many concepts in depth with word to word implementation is just ausome.
@dmnt1026
@dmnt1026 2 года назад
Thank you for releasing this course for free. I had a lot of nerve racking moments in the parts of testing kubernetes. Luckily the error messages in the container logs pointed me in the right directions.
@shuhaozhang7332
@shuhaozhang7332 Год назад
Thank you very much Jackson for posting a such amazing project! I am now in the midway (sql server) of the project. For anyone who has a hard time connecting to the sql server: the connection string should be localhost,1433 (COMMA, not dot . nor colon : !!!). If still not works, in sql management studio => connect => options => connection properties => Network protocal => change to tcp/ip. Also try to change the environment variable in mssql-plat-depl.yaml from SA_PASSWORD to MSSQL_SA_PASSWORD. It took me a good one hour to connect to sql server
@freddofernandez
@freddofernandez Год назад
Also adding TrustServerCertificate=True; in the connection string did the job for me!
@adigunoluwadamilolavictori7170
Thanks, this got me out at the point where I could not access my db. But currently, at the point of migration ~5:50 migration is throwing error. ==> "Could not run migrations:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) Unhandled exception. Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) " Any help??
@jurrebrandsen1936
@jurrebrandsen1936 Год назад
@@adigunoluwadamilolavictori7170 Did you figure this out? I have the same error.
@NguyenHuy-et8wy
@NguyenHuy-et8wy 8 месяцев назад
@@jurrebrandsen1936 anyone find a fix this to problem? Im having the same issue too :(
@nestormatias217
@nestormatias217 2 года назад
this is one of the best courses omg thank you Les Jackson
@chrisspellman5952
@chrisspellman5952 2 года назад
I don't think I've ever said "Man, I'm really looking forward to watching an 11 hour video" but here I am. I was actually looking for a video that covers this topic and here I find one that covers everything.
@giovanniperoni6166
@giovanniperoni6166 Год назад
Les I think it's redundant to say this course is PURE GOLD and is better in terms of content, quality, clarity of like 90% of what one can find PAYING on other platforms. Thank you again for these super valuable hours, you gained a subscriber and a follower. Regards from Italy!
@LordNerdzrool
@LordNerdzrool 2 года назад
Just a small observation: I believe you can resolve the problems with Visual Studio Code that you identified at around @3:33:00 regarding auto-completion with .Net Core applications involving multiple projects by creating a solution file, adding the PlatformService and CommandsService to the solution, then opening the folder containing the solution file and letting Visual Studio Code (and the C# extension) open the solution file.
@mbagozpel
@mbagozpel 2 года назад
Very correct
@Owainow17
@Owainow17 Год назад
In case anyone experiences the same 404 error as me when creating the ingress nginx load balancer you need to include "ingressClassName: nginx" underneath Spec, above rules (inline with rules). This is because without IngressClass specified the ingress service doesn't pickup the default (nginx) and when described shows "none" and as a result the service isnt associated with the load balancer.
@onyekachic
@onyekachic 8 месяцев назад
Thanks for your feedback, Please can you share sample of the way you adjusted the file because am currently stock on the spot of running the Nginx file.
@MrLostAlex
@MrLostAlex 2 года назад
Amazing Course! Thank you so much for releasing this free. Worked through it over two weekends and learned so much.
@alexandrosKo
@alexandrosKo 2 года назад
Lots of respect for releasing so much knowledge for free. Grateful for sharing mate!
@brenomorais5446
@brenomorais5446 Год назад
Apenas para marcar em qual aula parei Day 01 - 52:45 Day 02 - 1:06:00 Day 03 - 1:16:00 Day 04 - 1:34:00 Day 05 - 1:41:24 Day 06 - 2:28:15 Day 07 v0.1 - 2:42:00 Day 07 v0.2 - 3:12:00
@alaaalnajjar1824
@alaaalnajjar1824 Год назад
@5:05:57 If it didn't work with error 404, you may have IIS installed, make sure to shutdown/stop Default Website in IIS
@HOSTRASOKYRA
@HOSTRASOKYRA Год назад
Thank you very much
@johnsuckher3037
@johnsuckher3037 Год назад
tried stopping ,deleting still 404. I guess this is where I put a stop to this guide for now
@johnsuckher3037
@johnsuckher3037 Год назад
stopped, deleted iis, restarted pc, still impossible to follow through
@esmattmorra4829
@esmattmorra4829 11 месяцев назад
I tried writing https instead of http on postman and it worked, don’t know why
@uvieemma3854
@uvieemma3854 4 месяца назад
@@esmattmorra4829 i just experienced this and used https , it worked. I think its because of app.UseHttpsRedirection(); being allowed in program.cs..
@timurkhairutdinov
@timurkhairutdinov Год назад
I rarely place a comments on YT, but after finishing this course I would say that this is an outstanding and expectational course. Brilliant for novice, good for experienced who just starting to dive into the microservices area. Like and sub. I'll definitely check the rest courses.
@mybusinessnotyours2051
@mybusinessnotyours2051 2 года назад
The fact you made this 100% free, is reason enough for me to show my support by watching as many ads as I can stomach. (Short ads I watch to the end, and the longer adds I try to watch at least 1 minute. )
@NathanielBabalola
@NathanielBabalola 2 года назад
I wish I could find a tutorial like this on Microservices but for Node.js.
@rezarezash
@rezarezash 2 года назад
Hi Les Jackson, Thank you for sharing such an amazing video for free, very generous and nice of you. One question I have regarding the databases. If each service is going to have its own DB, does it mean if we are going to migrate an existing app to a microservice architecture, we have to repeat the same DB for each service with all its objects regardless of its size? Or the DB is going to be broken into smaller parts and each service's DB is going to only have tables and objects related to that service? How does it work? what is the best practice here?
@Solmead
@Solmead 2 года назад
You split the db into pieces where each microservice only has the specific data it needs to run. Then you have the microservice inter call each other to get the info needed when needed. For instance a user microservice may have a lot of info about a user. Another microservice gets called with the user id and only needs the email address and name of the user, so it calls the user service to get info on the user and only stores the id, email address, and name from all the info on the user returned.
@Solmead
@Solmead 2 года назад
This is what he used the rabbetmq message bus to handle, so that the data could be up to date on any service needing pieces of the data.
@ejazkarimhunzai
@ejazkarimhunzai 2 года назад
I'm a Microservices developer, and YT suggested this course too. I thought, what a fantastic person to share this level of knowledge for absolutely free for the people he never met.
@bahalulkabir
@bahalulkabir Год назад
I learned about Microservice from this video. Used .net6.... step by step everything runs smoothly. Thanks a loooooooooooot man. long live -! Hopefully, you will continue making new videos and we will learn a lot! Once again Thanks.
@ShamanLightning
@ShamanLightning 2 года назад
I have been following along using the .net 6 RC2. I ran into an issue at 5:51:08 and I suspect others will have this same issue if they use .net 6 upon the public release. When you add the migration it is not happy since the program and startup files were combined. You will need to make sure you are using the latest version of all the entity framework tools/packages or it will not allow you to create the migration.
@Kaushik-RoyChowdhury
@Kaushik-RoyChowdhury 2 года назад
You may keep the Program file and Startup files in ASP.NET 6.0 exactly the same way as in version 5.0 and use the same code as Les has used. Off course combining the two files into just the Program file uses minimal API model and create issues in migration as you mention. I am working on ASP.NET 6.0 using both Startup and Program classes.
@adigunoluwadamilolavictori7170
I'm using .net 6.0. I have migration bugs And the EF version is latest ==> Any help? " Could not run migrations:A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) Unhandled exception. Microsoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 35 - An internal exception was caught) "
@NguyenHuy-et8wy
@NguyenHuy-et8wy 8 месяцев назад
@@adigunoluwadamilolavictori7170 did you eventually find a fix to this problem? I'm running into the same issue :(
@mazingguitar
@mazingguitar Год назад
5:05:55 404s. I'm stuck and dunno what to do. Followed along and checked everything :x Update. If you face this problem just call the API with https and it's fine. Have no idea why http doesn't work for me.
@user-xv9es3gj7s
@user-xv9es3gj7s Год назад
Thanks for your comment! I'm stuck with the same problem.
@mazingguitar
@mazingguitar Год назад
@@user-xv9es3gj7s Try calling instead of in your API testing software. Cheers! :)
@matthewwatson7902
@matthewwatson7902 Год назад
Using HTTPS worked for me. Thanks!
@randomstring4089
@randomstring4089 Год назад
saved me ma, thanks
@VuvaToniKroos
@VuvaToniKroos Год назад
you saved me, thanks
@cristhiancuevas4422
@cristhiancuevas4422 2 года назад
I really like this course, I finished part 3 and can't wait to continue with the course. Thank you very much for your contributions
@qniken8770
@qniken8770 2 года назад
I'd like to thank you! You put so much effort in your videos and share so much knowledge with us for free. I highly appreciate your work!
@guy1407
@guy1407 2 года назад
Hi Les. I Time = 04:17:50 I got an error: Could not send synchronously: The SSL connection could not be established, see inner exception. Please advise
@JohnDoe-xi6df
@JohnDoe-xi6df 2 года назад
I have the same error. Have you found the solution?
@guy1407
@guy1407 2 года назад
@@JohnDoe-xi6df not yet. I went to watch other demos. I plan to do this one from the start.
@JohnDoe-xi6df
@JohnDoe-xi6df 2 года назад
@@guy1407 Let me know when you know the solution. I'll do the same if will solve the problem faster then you. Thanks for the replay.
@rossellog
@rossellog 2 года назад
dotnet dev-certs https --clean dotnet dev-certs https --trust
@JohnDoe-xi6df
@JohnDoe-xi6df 2 года назад
@@rossellog It dod not help. I have the same error. Could not send synchonously: The SSL connection could not be established, see inner exception.
@mrterrbl8184
@mrterrbl8184 2 года назад
This is like a $5000 course at a university.
@RomanZasinets
@RomanZasinets 2 года назад
Just absolutely amazing. Thang you so much for this course. It helped me so much to gather all minds about microservices and kubernetes into a single basket.
@clersonclerviusverdieuvinc2843
Couldn't finish this tutorial without living a comment. It tooked me more than my expectation but I finished and now I feel good. Thank you @Les Jackson for this great video, you are awesome :)
@kvguitarist
@kvguitarist 2 года назад
Brilliant job! What an absolute great gesture to teach people for free. Truly, knowledge and love grows/multiplies when we share!
@ganeshcommn50
@ganeshcommn50 Год назад
At the beginning i did not expect that I would complete watching the full video. its such a wonderful tutorial. thanks a lot
@ralphfoster3423
@ralphfoster3423 2 года назад
As a rule, I never leave comments on web sites, however, I am making an exception because this course is absolutely excellent. I am 3 1/2 hours in and cannot believe how well done this course is. Great work......
@robertsan2654
@robertsan2654 2 года назад
Thank you, Les! It's unbelievable that you published this material free for everyone. Just like you say... "fantastic"! 🍻
@nenuravishankar
@nenuravishankar 2 года назад
Hats off to your commitment Les. Take a bow. Thanks a lot for your all your time and efforts.
@jackal9393
@jackal9393 Год назад
just finished in two days. it's an amazing course. Thank you for everything. looking forward to see next big microservice course for more real world example as you said in the end. I would enroll asap
@prajaram1918
@prajaram1918 2 года назад
I searched this for couple of weeks... Finally he is uploaded a golden content... Thank you for your efforts and contribution...
@Loveumica
@Loveumica 2 года назад
I haven't yet gone through the whole course yet but definitely saving it as a must do thing. This is wonderful effort though. Thanks a lot. 11 hrs is a long time, can't imagine how much time you spent to put together this stuff.
@NJ8991
@NJ8991 Год назад
You're an absolute legend. Followed through till the end and gained a lot from it, thank You very much!
Далее
GraphQL API with .NET 5 and Hot Chocolate
3:49:42
Просмотров 238 тыс.
Microservices explained - the What, Why and How?
18:30
Просмотров 835 тыс.
БАТЯ И СОСЕД😂#shorts
00:59
Просмотров 2,2 млн
.NET Core 3.1 MVC REST API - Full Course
3:27:48
Просмотров 958 тыс.
Kubernetes Crash Course for Absolute Beginners [NEW]
1:12:04
Docker Crash Course for Absolute Beginners [NEW]
1:07:39
Deep Dive on LINQ with Stephen Toub
1:23:59
Просмотров 57 тыс.
Blazor API Client using REST & GraphQL APIs - Full Course
3:01:49
Clean Architecture with ASP.NET Core 8 | .NET Conf 2023
29:17
БАТЯ И СОСЕД😂#shorts
00:59
Просмотров 2,2 млн