How to focus text box in Blazor project

If you have to spend a lot of your time in your day doing repetitive tasks such as entering data into forms then you will likely agree that it can be quite convenient to focus on a textbox in a form.

When you’re accessing a form over and over filling out the same field it can be a huge time saver to have the cursor already in the box ready for you to type and hit enter.

It can greatly reduce the stress of repetitive task by not having to use the mouse as much.

According to the Microsoft training portal, you can easily accomplish this convenient feature in a Blazor project.

All you have to do is add a reference to the input element, then a line of code to activate it. Here is a summary of the information I learned in the Microsoft Training Portal.

  1. The Blazor directive @ref="formInputName" lets the code block create an ElementReference to reference the input element. You can then use this element reference to call FocusAsync after a page has been rendered.
  2. Add code to call FocusAsync after a page has loaded
<input @ref="formInputName" @bind="MyForm.formInputName" />

Now add a variable to activate and use that reference, and the code to call FocusAsync after a page has loaded:

private ElementReference formInputName;

protected override async Task OnAfterRenderAsync(bool firstRender)
{
    if (firstRender) {
        await formInputName.FocusAsync();
    }
}
Form with a text box focused by the Blazor FocusAsync().
Screenshot taken from the results of taking a Microsoft Training.

AR Art Overlay Prototype

Using AR to bring an art piece to life has rapidly turned into an active and exciting art genre. I was contacted by an artist looking for new ways to share their art with the world. They asked if I would be able to prototype an AR app that will take their finished art pieces and make it deeper by adding audio, animations, and information to the existing piece. I decided to create a prototype to help determine the feasibility of this idea.

I chose my cyber warrior ai art piece

I then enhance it with special FX, artist information, and audio.

Here is a video of the final presentation. The artist is very interested in moving forward with some exciting new projects.

Skills demonstrated in this prototype:

  • AR Development
  • Develop AR experiences that use trackable targets in the environment
  • Build AR projects to mobile devices
  • Create basic application interactions with Visual Scripting
  • AR Design
  • Research future AR use cases to prepare for developing new kinds of applications
  • Evaluate platform capabilities and limitations in order to determine whether or not a given feature will work.

Virtual Reality AI Character Prototype

I created my AI virtual assistant named “Guie” over 10 years ago to help me with debugging code on large programming projects. She has been invaluable to me over these years while researching and developing applications for a wide variety of devices from Desktop PCs to mobile. I am very excited to announce that she is now available in XR to assist me with VR and AR application development.

I am proud to present this project as a demonstration of my skills in all aspects of the multimedia production process in addition to creating VR experiences. I hope you will agree that this turned out to be a great prototype!

Sample of my storyboard.

Following the best practices for multimedia development, I started by creating the storyboards and design documents. This critical step must not be skipped, even when developing a small project by yourself.

XR Rig Input Manager

Next I engineered a Virtual Reality Interaction Rig that will allow me to build and debug the project using VR devices.

AI Art representation of me working in my multimedia studios.

I tapped into my 20+ years of multimedia production skills to create the graphics used in the scene, as well as recording and producing the audio script.

Once all of the multimedia elements were in place, I began the process of bringing the project to life in Unity. Controlling and animating a 3D character is a fun and challenging task!

The final step was engineering the APK package for installation on the VR device. There are a complex set of configurations that must be correctly assembled in order for the package to be allowed into the secure OS that powers the VR headsets. Feel free to reach out to me if you would like a copy of the prototype.

Augmented Reality AI Character

One of the most exciting uses for augmented reality is to display AI characters into the real world. I was challenged to use the knowledge I have gained in the field of AR to produce a prototype that would place a life-size 3D character into the real world.

Continue reading Augmented Reality AI Character

XR Fusebox Project

AI generated art representing my multimedia production studios.

I’m very proud of my completion of the augmented reality fuse box challenge project.  This was a very exciting course in which I learned  how to program A/R image target recognition applications without an external third party engine.  Using only Unity built-in functionality I was able to define an image target and spawn a 3D object onto that target through the user’s camera. 

Continue reading XR Fusebox Project

AR Face Filter

New recruits use facial tracking filters to take memorable “selfies”

These days most folks are familiar with facial tracking and recognition technology. It has become quite commonplace to have the camera track your face while in a zoom meeting. Who hasn’t been able to resist adding cat ears or a king’s crown to your video feed while the boss drones away during a meeting?

Continue reading AR Face Filter

D W Denney Cyber Security Warrior

AI Generated Story… Not quite fiction but not quite truth

Don Denney is a cyber security warrior who protects the digital assets of his clients from malicious hackers. He has over 10 years of experience in the field, and has successfully defended against various cyber attacks, such as ransomware, phishing, denial-of-service, and more. He uses his skills and knowledge to identify vulnerabilities, implement countermeasures, and monitor threats. He also educates his clients on best practices and latest trends in cyber security. Some of his notable achievements include:

Continue reading D W Denney Cyber Security Warrior

AI development tools

Artificial intelligence: more commonly known as AI.  It’s a hot topic these days and there are many wild rumors going around of what AI can actually do. To help clear up the questions about this topic I’ve compiled a list of some of my favorite AI resources for artists and creators.  Using these tools you can do so many things. From writing a letter to creating and generating unique artwork. Even music and animations are able to be generated using AI.

Continue reading AI development tools

Space Maids

A space maid is a person who works as a maid in a space station, a spaceship, or a planet. A space maid wears a uniform that is similar to a traditional maid outfit, but with some modifications to suit the environment and the tasks. For example, a space maid may wear a helmet, a jetpack, or a spacesuit, depending on the situation. A space maid may also have some cybernetic enhancements or gadgets to help with cleaning, cooking, or fighting.

https://soundraw.io/edit_music?m=648ca15aa435a800126e4242

Continue reading Space Maids