ASP.NET MVC has a lot of conventions around routing, controllers, actions,
views, and parameters. Coding-by-convention has both good and bad parts. A
good part is that it can be fairly light in configuration. A bad part is that
it is easy to get lost if you don't know the conventions.
In January, I had the opportunity to share with the Central Ohio .NET
Developer's Group (Meetup link).
Video link:
In this presentation, we create a new MVC project and look at the default
routes, controllers, and views to get an initial understanding of some of the
conventions. With that information, we can take the next steps of adding our
own code -- collecting parameters and generate mazes.
The parameter collection lets us pick a maze size, the color, and a
maze-generation algorithm to use.
Clicking the "Generate Maze" buttons gets us a result:
If this sounds interesting, take a look at the GitHub repo with the code and
the video on YouTube:
Happy Coding!
No comments:
Post a Comment