From the course: Leveraging GenAI in .NET MAUI Development
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Solution: Use Copilot to create an animation - .NET MAUI Tutorial
From the course: Leveraging GenAI in .NET MAUI Development
Solution: Use Copilot to create an animation
(upbeat music) - [Instructor] For the solution, let's use Copilot Chat to see how to create the animation. So we'll click on GitHub Copilot Chat right here. And here's what I came up with as a request for what we want it to do. So we're going to go in MAUI, create a button click animation where the button gets smaller, then larger, and then snaps back to its original size over one second. Let's see what it comes up with. Okay, so it quickly came up with something saying we could use an animation class and saying here's how we can do it. And it's got a reference to a button. Now, I don't think we need to create an entire animation class. And this is where you got to evaluate exactly what's being said by Copilot and how it would tie into your code. Now, one thing I could have done is in my request, I could have given at a reference to that code that I wanted to add it to. And maybe it wouldn't have came up with creating a new class here because it's really not a class that we need to…
Contents
-
-
-
-
-
What is GitHub Copilot?4m 9s
-
(Locked)
Setting up Copilot in your GitHub account1m 28s
-
(Locked)
Enabling Copilot in Visual Studio3m 25s
-
(Locked)
Enabling Copilot in Visual Studio Code2m 59s
-
(Locked)
Generating boilerplate code4m 23s
-
(Locked)
Asking for help with unfamiliar syntax and features in chat7m 38s
-
(Locked)
Using Copilot at the command line4m 36s
-
(Locked)
Helping with the release pipeline10m 39s
-
(Locked)
Converting code from other formats: Part 15m 53s
-
(Locked)
Converting code from other formats: Part 27m 13s
-
(Locked)
Using Copilot commands5m 30s
-
(Locked)
Challenge: Use Copilot to create an animation58s
-
(Locked)
Solution: Use Copilot to create an animation3m 24s
-
-
-
-