See how the instructor implemented users in the chat application.
(upbeat music) … - [Instructor] To solve this challenge, … let's first add some new users to RabbitMQ. … So let me log in. … And in the admin section, we can add a new user … which I'll just call user one. … And I use the same value … for the password to keep things simple. … Then I'll select the user … and set the permissions for the virtual host. … And I'll add a second user which I'll call user two. … Again, with user two as password. … And again, we set the permissions for the virtual host. … Now you can add more users but two will be enough for now. … Back in our code, we can ask the user … to specify a username. … So I'll do Console.WriteLine, please specify a username. … And then we can do var username equals Console.ReadLine. … I'll also put the password in a variable … which will just be the same as the username. … Now we have to change our connection string. … So instead of chats as username and password, … I'll use our variables. … And the password, there we go. … Now, when we publish our message, …
- How message-based systems are used
- The AMQP protocol
- Exchange type use cases
- Publishing to RabbitMQ
- Consuming from RabbitMQ
- Filtering messages with direct and topic exchanges
- Setting up and using authentication
- Authorizing and blocking application actions
- Tracking message contents for troubleshooting
Skill Level Beginner
DevOps Foundations: Microserviceswith Laura Stone2h 12m Advanced
What's new in this update1m 18s
1. Get to Know RabbitMQ
2. Basic Usage
3. Advanced Usage
Go further with RabbitMQ2m 35s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.