• Facebook
  • Twitter
  • LinkedIn
  • MVP
Skip to content
  • Home
  • Bio
  • Mixed Reality
  • Blazor
  • Presentations
  • Code
  • MADdotNET
  • HOLOSOFT
  • Contact

Lance Larsen – Microsoft MVP – Hololens / VR / AR

Microsoft MVP – Hololens – Mixed Reality – Virtual Reality – Augmented Reality – Consulting

  • Home
  • Bio
  • Mixed Reality
  • Blazor
  • Presentations
  • Code
  • MADdotNET
  • HOLOSOFT
  • Contact
  • Home
  • Code
  • Page 2

Category: Code

AngularJS: Sharing Data Between Controllers

January 27, 2014 Lance Larsen.NET, AngularJS, Code, JavaScript

Always loved JavaScript and client side scripting ( where appropriate <grin> ) – so when we had a new green field project to start, looked to what the best-in-class technologies were – settled on AngularJS (@angularjs).  It is a client-side…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Remapping MySQL Workbench “Execute SQL” to F5

October 20, 2013 Lance LarsenCode, SQL

As a primarily Microsoft SQL Server developer, when playing around with MySQL database ( specifically using MySQL Workbench ) wanted to be able to press F5 to execute the SQL commands that I was writing, by default you need to…

Share this:

  • Tweet

Like this:

Like Loading...
28 Comments

momentjs + UTC date/time = browser local time

September 19, 2013 Lance LarsenCode, JavaScript

You should almost always store your date/times in your database as UTC – you may think it’s not important now, but as soon as your application needs to display times to users in different time zones ( to paraphrase Yoda…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

jQuery 1.x && 2.x + MVC script bundling

September 19, 2013 Lance Larsen.NET, Code, JavaScript

In my blog “NuGet – Limiting updates for jQuery and Bootstrap” – we looked at continuing to utilize NuGet to keep us up to date on the latest jQuery 1.x version ( even though 2.x is out ).  Reason being…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Entity Framework “Code First + Computed GETDATE()”

September 3, 2013 Lance Larsen.NET, Code, Entity Framework

Need to setup a “Created” DateTime field in your SQL table that is auto-computed to add the current date and time that the field is inserted into the database?  If you’re doing so in SQL – in the “Default Value…

Share this:

  • Tweet

Like this:

Like Loading...
4 Comments

NuGet – Limiting updates for jQuery and Bootstrap

August 28, 2013 Lance Larsen.NET, Code

I love to say “…if it’s not in NuGet, it’s DEAD to me…” – and for the most part that is very true. 🙂 If you don’t know what NuGet is – you MUST – look at Introducing NuGet: the…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Custom Configuration Pattern 102

May 13, 2013 Lance Larsen.NET, Code

So we will pick up from where we left off in “Custom Configuration Pattern 101” – we are looking to elegantly consume complex configuration settings in App.config and Web.config files – in this case we are looking to step up…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Custom Configuration Pattern 101

May 8, 2013 Lance Larsen.NET, Code

So if you’ve even needed to store custom data in your App.config or Web.config files before – you’ve probably used the ConfigurationManager.AppSettings for name/value pair data – but what if you have more complex settings that you want to store…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Entity Framework “Code First + Existing Database” 102

April 21, 2013 Lance Larsen.NET, Code, Entity Framework

Last we saw our intrepid developers they were creating their first “Code First + Migrations” 101 project – today we join them facing the dreaded “we want to do code first, but already have an existing database!!!”.  Can they survive?…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Elegantly Randomizing an IEnumerable Collection

April 16, 2013 Lance Larsen.NET, Code, Entity Framework

Had the need to randomly shuffle an IEnumerable collection that I was bringing back through Entity Framework – so did some searching and came across a couple solutions – some that were completely crazy – but took the best ideas,…

Share this:

  • Tweet

Like this:

Like Loading...
Leave a comment

Posts navigation

Older posts
Newer posts
Connect with Lance!

Subscribe to Blog via Email

Recent Posts

  • XR Step-by-Step! Quick links to all XR articles…
  • XR Step-by-Step 2024! Meta Quest: Installing Meta XR Interaction Examples v66
  • XR Step-by-Step 2024! Meta Quest: Experience the Real World with Mixed Reality Passthrough
  • XR Step-by-Step 2024! Meta Quest: Add Interactable Scripts to any Game Object!
  • XR Step-by-Step 2024! Meta Quest: Grab, Poke and Throw Interactables
  • XR Step-by-Step 2024! Meta Quest: Hands and Controllers at the Same Time!
  • XR Step-by-Step 2024! Videos, Links & Resources for Meta Quest
  • XR Step-by-Step 2024! Meta Quest: Setting up your Meta Quest XR Project! Meta XR All-In-One SDK (v66)
  • XR Step-by-Step 2024! Meta Quest: Installing the Tools you need for XR! Unity + Visual Studio
  • XR Step-by-Step 2024! Apple Vision Pro: Spatial Computing Resources & Links

Tag Cloud

ASP.NET Core Hololens Mixed Reality

Categories

Archives

Recent Posts

  • XR Step-by-Step! Quick links to all XR articles…
  • XR Step-by-Step 2024! Meta Quest: Installing Meta XR Interaction Examples v66
  • XR Step-by-Step 2024! Meta Quest: Experience the Real World with Mixed Reality Passthrough
  • XR Step-by-Step 2024! Meta Quest: Add Interactable Scripts to any Game Object!
  • XR Step-by-Step 2024! Meta Quest: Grab, Poke and Throw Interactables

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

XR Step-by-Step! Quick links to all XR articles…

Meta Quest: XR Workshop! Unity 2022 + OpenXR + XR Interaction Toolkit

XR Step-by-Step 2024! Meta Quest: Installing Meta XR Interaction Examples v66

XR Step-by-Step 2024! Meta Quest: Experience the Real World with Mixed Reality Passthrough

XR Step-by-Step 2024! Meta Quest: Add Interactable Scripts to any Game Object!

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,454 other subscribers
Copyright Lance Larsen © All rights reserved.
Magazine Point Pro by Axle Themes
%d