Lance Larsen - .NET Architect Madison Wisconsin

All posts in Tips

Skyloft4In the new Windows 10 Insider Preview Build 17115 (RS4) – there’s a cool new feature…

You can now take mixed reality photos directly from your controller by holding the Windows button and then tapping the trigger.

As always, you can also use your voice by saying “Hey Cortana, take a photo” or “Hey Cortana, record a video”

If you haven’t see Skyloft yet – check out my previous video


RoomAdjustQuestion:  When using your Windows Mixed Reality “WMR” headsets, after it goes through it’s calibration, sometimes it has the issue that the floor appears too high and it feels like you’re considerable shorter than you should be…  What can you do?

Answer:  It’s not obvious – but there’s a application that you can find in the apps called Room Adjustment.

As you can see, on your Start Menu you can find the Room Adjustment application.

Launch that.  Now you can easily adjust the floor up and down to the correct height! 

Watch a YouTube video of us walking you through it!


imageNot sure about the rest of my Hololens “Holonauts” – but I like to keep up on everything coming out for the Hololens… but browsing for Apps on the Hololens is not necessarily ideal… So bookmark this link to see everything available for the Hololens… 

Hololens Apps in the Windows Store

Bonus points for someone who can find a way to order by most recent release…


imageQuestion: How many times have you been to a Developer presentation, or in a meeting and had the presenter not have their text large enough?  Then when you ask them if they can make it larger… they struggled… 

Solution: Windows Magnifier!

Magnifier is an existing feature that make it possible to quickly enlarge a section of your screen – easily making it possible to professionally show your audience what they need to see.

I stress to you to practice with this feature!

Last think you want to be doing is “learning” how to use it in front of a live audience.

Setting this up is quick and easy – but here are a couple hints / settings to make it even better…

image

  Windows Key + Plus Zooms in
  (Pressing multiple times keeps zooming in)

image

  Windows Key + Minus Zooms out
  (Pressing multiple times keeps zooming out)

Read more


imageGreetings my Geeks – we have a lot of awesome ASP.NET Core 2.0 news coming out lately…

As always, sharing is caring – so here you go.

Today – after publishing to Azure – ran the default “Register” user page – and got the error message…

Swapping to Development environment will display more detailed information about the error that occurred.

Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application.

imageSo did a search for “ASPNETCORE_ENVIRONMENT” – and found the only references in my project were already set to “Development”…  so that wasn’t it…

imageEventually found a clue that that mentioned Azure App Settings – and yup – that’s where this needs to be set.

So click on your Web App –> Applications Settings –> go down to the “App Settings” section and add the “ASPNETCORE_ENVIRONMENT” and “Development” as displayed in the screen shot.

Now you’ll get the error messages as if you were running it locally – and that should help you resolve your issues.

REMEMBER – before you go to use this in production – revert that change.  Don’t want the bad guys to be able to see any error details.

Good coding!

Note: Valid values for “ASPNETCORE_ENVIRONMENT” are “Development”, “Staging” and “Production” – if you have something that’s not one of those, you may get odd behaviors… :)



Surface Pro 3

Firstly, love my new Surface Pro 3 – finally the tablet PC I’ve been waiting for!  Have all of my development tools; Visual Studio 2013, SQL 2014, etc loaded up and running very quickly.

As a developer in Visual Studio however I need to use the function keys more than using the shortcuts across the top of the keyboard – and didn’t want to always have to press “Fn” + “F5” – so looked for a solution and found one and wanted to share…

Function Key Lock Tip: Press “Fn” + “Caps” and now all the Fn keys work without having to hold down the “Fn” key! w00t