Monsters Weekly 252 - Building a WebComponent

In a previous episode, we looked at how we can use the Template element to reuse a block of HTML. Now, let’s take that a step further and use a few other native browser technologies (Shadow DOM, Custom Elements, and Slots) to build a Web Component.

Shadow DOM - https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_shadow_DOM
Custom Elements - https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements
Templates and Slots - https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_templates_and_slots

Previous Episode: https://www.youtube.com/watch?v=jeBjW-TCCx4&t=2s

Monsters Weekly 251 - Reviewing Contributions to GenFu

We have some outstanding pull requests to the GenFu project. In today’s episode, we take some time to review those PRs and get them merged in.

https://github.com/MisterJames/GenFu

Monsters Weekly 250 - Command Line Parameter Suggestions with DragonFruit

Hitting tab to suggest a parameter to your console app is made easy with dotnet-suggest and the console API tooling. Join James and Dave as they have a look at getting suggestions running on your dotnet apps.

Thanks to viewer OzBob for this suggestion!

A link to the Lemonade (DrinkStand) project:
https://github.com/MisterJames/LemonadeStand/

Here’s the info you need to install and enable suggestions in your shell:
https://github.com/dotnet/command-line-api/blob/main/docs/dotnet-suggest.md

Monsters Weekly 248 - Choosing a SQL Hosting Option On Azure

There are a ton of options for hosting your SQL server on Azure. Each is slightly different so how can you know which one is right? We have some answers for that!

Show links
Elastic Query ep 190 - https://youtu.be/IAx1nsh5-Ao

Monsters Weekly 247 - HTML Template Element

We don’t always need a framework like React/Vue/Angular to add interactive behaviour to our web pages. The browser provides some handy features that can make it easy to add simple interactions. One example is the template element. Let’s take a look at how to use it to dynamically inject elements into a page.

Template Element - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template

Monsters Weekly 246 - Don't use OpenWriteAsync() ... probably

When it comes to performance, it’s important to test our assumptions. In today’s episode, David walks us through his failed attempt to optimize uploading files to blob storage. In this case, fewer allocations doesn’t translate to better performance because there’s a lot more going on inside BlockBlockClient’s OpenWriteAsync() method than we thought.

https://docs.microsoft.com/en-us/dotnet/api/azure.storage.blobs.specialized.blockblobclient?view=azure-dotnet

Previous Episode
Performance of .NET JSON Serialization (#242) - https://youtu.be/w7ZfEVC76ho

Monsters Weekly 244 - Run GitHub Actions Locally

Writing a new GitHub Actions workflow and want to save the embarrassment of a dozen failed builds displayed prominently on GitHub? Well ACT is here to save you. Run your GitHub actions locally using the Act CLI. Get that workflow in a working state before pushing your code to GitHub.

That’s right folks! Locally sourced, artisanal workflows!

Act - https://github.com/nektos/act

Monsters Weekly 243 - Request Body Compression

Compressing the body of requests isn’t done very commonly but if you’re sending a lot of data to the server from the front end it may be desirable to shrink it. In this episode we use pako (https://nodeca.github.io/pako/) to compress the body of a request reducing the size by 90%

Reference:

https://medium.com/axiomzenteam/put-your-http-requests-on-a-diet-3e1e52333014

Monsters Weekly 241 - Reimagining Lemonade Stand

Here we’re going to dive in to the classic ‘Lemonade Stand’ game and reimagine it as a whole new adventure in our cloud-based (and VR-based) world. Have ideas to share? What could be done to this app to make it waaaaaaaay over the top?

Check out the repo here: https://github.com/MisterJames/LemonadeStand