Application Insights in the Azure Marketplace

List of Azure Regions, where Application Insights is available

This article describes the Azure regions, where Azure Monitor Application Insights is available. Azure regions A region is a set of datacenters deployed within a latency-defined perimeter and connected through a dedicated regional low-latency network. Depending on who’s talking, regions are sometimes called locations, geolocations or just geos. Azure regions give customers the flexibility to deploy their applications where they need to. Azure is generally available in 44 regions around the world, with plans announced for 10 additional regions. However, not all features are available…Continue reading List of Azure Regions, where Application Insights is available

.NET logo

How to get the Description for a property in ASP.NET MVC 5?

This post describes the easiest way to show description texts for properties in ASP.NET MVC 5. Sounds simple, right? We can use something like @Html.DescriptionFor(x => x.Property), right? Alas, it’s not that straightforward. A bit surprisingly, there’s no ready-made helper function for this. I’m saying “surprisingly”, because I feel like MVC 5 really already has all the bells and whistles – AND the kitchen sink. But no, it does not have a helper for getting a description of a property :) You can, however, define…Continue reading How to get the Description for a property in ASP.NET MVC 5?

.NET Core fundamentals in one picture.

How to add creator/modified info to all of your EF models at once in .NET Core

This is a tip that should often be the first thing you do in your projects with database backend, no matter which technology you use: Add some basic info about modified and created times, and the user information – so that if something happens, everyone will know who to blame 😉 There’s a lot of great blog articles describing how to do this in .NET Framework, but not that many for .NET Core. It’s very similar, but not the same. I learned that by copy-pasting…Continue reading How to add creator/modified info to all of your EF models at once in .NET Core

Miina (@minepupper) is fixing them bugs

EF Core returns null for a Navigation property

This article describes how to fix a situation, where you can’t use any of the navigation properties of your Entity Framework Core entities, since they are all null, despite data being in the database for sure. So, another day, another error. This time I can’t blame SharePoint, since I just messed up with ASP.NET Core and Entity Framework Core. :) Symptoms No matter what I’d do, I was getting null values for my navigation properties on my entities. They’d would always be null during runtime…Continue reading EF Core returns null for a Navigation property

SOLVE ALL THE ERRORS!

‘__generated__Index.OnInitAsync()’: no suitable method found to override

Welp – just ran into this one, and as I expect others to encounter the same issue, better document in right away! So in Blazor, I was crafting a simple component that’d display some data in a nice way. Being lazy and crafty, I thought I’d copy-paste some similar code from an earlier POC I had built, since I knew it worked. The component was overriding a method called “OnInitAsync”, and it just nicely fetched data after initialized. But alas, it didn’t. Not anymore. I…Continue reading ‘__generated__Index.OnInitAsync()’: no suitable method found to override

Name a more Canadian thing. That's right - you can't! Sorreyh.

Au revoir Canada, bonjour Finland.. Eh?

Is this seriously my first ACTUAL post about Canada? What a major gap in my content! However, living in Canada has been fairly hectic (with the work, family and trips), so I haven’t been able to write much about our life here – unlike when we were living in the States. Which, conveniently, brings me to the main point of this rambling – This post works as an announcement of sorts: I’m wrapping up my life in Canada, and moving back to Finland. I’ll be…Continue reading Au revoir Canada, bonjour Finland.. Eh?

SharePoint Hub sites - like how Microsoft themselves put it! (From: https://docs.microsoft.com/en-us/sharepoint/planning-hub-sites)

SharePoint Home, Hub, Sites, Start… What?

This article explains the current terminology Microsoft uses around your different pages in SharePoint. Or at least tries to – and do that in a way that’s faithful to the current, flat & Modern world. Microsoft has been known for their less-than stellar track record of figuring out easy and descriptive names for their products. Let me introduce 2 cases in point: Microsoft® WinFX™ Software Development Kit for Microsoft® Pre-Release Windows Operating System Code-Named “Longhorn”, Beta 1 Web Setup” – that’s a mouthful! Or for…Continue reading SharePoint Home, Hub, Sites, Start… What?

Thanks for coming to my session at SPS Charlotte 8/10/2019!

This is just a quick update to share my materials from my SharePoint Saturday Charlotte 2019 session. What a fun event – and a cool city! It was a pleasure getting to know the local community and visiting a new state. Thanks for the local user group (and the conference organizers) for having me! Charlotte – what a beautiful city! Charlotte seems like a really lively city. And what an active audience – a long day, but people actually stayed at the venue until the…Continue reading Thanks for coming to my session at SPS Charlotte 8/10/2019!

Epic Visio Skills produced this cool illustration of Microsoft Teams extensibility!

How to Teamsify an SPFx solution?

This post describes how you can modify your SPFx webparts to make them compatible with usage in Microsoft Teams. I’m also showing some basic ideas what you can do in the code to make the integration more useful! Why would we do this? Table of Contents Why would we do this?What’s SharePoint Framework (SPFx)?SharePoint Framework in a nutshell: Who wouldn’t want to just develop once and then run their code everywhere? Now with SPFx (SharePoint Framework) 1.8 being out (and 1.9 being out for a…Continue reading How to Teamsify an SPFx solution?

Microsoft Teams context in SharePoint Framework client-side code.

How to solve the error “Property ‘microsoftTeams’ does not exist on type ‘WebPartContext’.”

This article explains how to fix an issue where you’re just minding your own business, trying to access the Microsoft Teams context in your SPFx webpart’s WebPartContext via the built-in property microsoftTeams, but you run into an issue. Simple stuff, but it’s still easy to run into this one, so I think it’s worthwhile to document the solution somewhere. Problem Table of Contents ProblemReason Most likely, the line causing you issues looks something like this: this.context.microsoftTeams. Of like shown below in Visual Studio Code: This…Continue reading How to solve the error “Property ‘microsoftTeams’ does not exist on type ‘WebPartContext’.”

SPS Charlotte - Saturday, August 10, 2019 UNC Charlotte Center City, 320 E. 9th Street, Charlotte, NC 28202.

Speaking at SPS Charlotte 8/10/2019!

I got an awesome, (kind of) last-minute opportunity to join a crew of awesome speakers at SharePoint Saturday Charlotte (NC) on 10th of August, 2019, and I was super happy to jump on it! I’ll be presenting about extending Microsoft Teams with some SPFx goodness. Last time, the session spurred so many questions I had trouble keeping up – pretty awesome! Having never been to Charlotte, I’m super excited about this trip. If you’re from the area, hit me up on Twitter with the most…Continue reading Speaking at SPS Charlotte 8/10/2019!

GitHub thread about the error - and long and winding discussion about the topic.

How to resolve build failing with .NET Core 3 and Microsoft.AspNetCore.Mvc.Versioning

Building a proof-of-concept on .NET Core 3.0 preview 7 I ran into issues when developing web APIs. This release is production-ready (according to Microsoft -see below), but every now and then you run into really unintuitive and sometimes surprising issues. Go LiveNET Core 3.0 Preview 7 is supported by Microsoft and can be used in production. We strongly recommend that you test your app running on Preview 7 before deploying Preview 7 into production. If you find an issue with .NET Core 3.0, please file…Continue reading How to resolve build failing with .NET Core 3 and Microsoft.AspNetCore.Mvc.Versioning

The whole Valo team's #ValoJump at Valo Bootcamp 2018!

Want to join the winning team? Valo is recruiting!

On this site, I don’t write “sponsored posts”, and while I do obviously have a bias of sorts for Microsoft products (having tried others before, I’ve worked almost entirely on Microsoft’s stack for the last few years), I try to write about everything in a neutral manner. Now, however, there’s a topic I probably can’t write objectively about – but still feel it’s important to share, because it might be an exciting opportunity for someone following my blog! My employer, Valo, is currently recruiting people…Continue reading Want to join the winning team? Valo is recruiting!

PowerShell not loading them DLLs

How to resolve issues when loading DLLs in PowerShell?

This post describes a few different things that can (and will) go wrong when you’re trying to load DLLs in PowerShell, and a couple of ways you can try to fix them. Typically, you’d run into an error message like “Exception calling LoadFrom with 1 argument(s): Could not load file or assembly…. “ These issues most typically arise when you’re running a PowerShell script that depends on certain DLLs to be loaded (to then execute some of the methods from them). This could happen kind…Continue reading How to resolve issues when loading DLLs in PowerShell?

"npm outdated" showing my @microsoft/sp- packages being badly outdated.

How to update your SPFx webpart to a new version of SharePoint Framework

Instead of being stuck on whatever version your SPFx project was originally created with, it’s possible and sometimes required to upgrade it afterwards to gain access to newer functionalities like integration with Microsoft Teams. This process, to me, is comparable to updating the .NET Framework version in your classic web application projects – while it’s sometimes a matter of simple configuration change and a rebuild, most of the time there’s a bunch of steps included and not all of them might be obvious or anywhere…Continue reading How to update your SPFx webpart to a new version of SharePoint Framework

PowerShell commandlet "new-unifiedgroup" - The alias is being used by another group in your organization. Please try a different alias.

How to resolve the error “The alias is being used by another group in your organization”

Okay – another simple one. When you’re creating a new Office Group (or “Unified Group”, like they’re called as well), you might get an error for the alias already being used. Pretty simple, but still – let’s see how to fix it. Problem Table of Contents ProblemSolution So, this error pops up, while you’re trying to create a new Office Group: The alias is being used by another group in your organization. Please try a different alias. An example script & output is shown below:…Continue reading How to resolve the error “The alias is being used by another group in your organization”

.NET Core fundamentals in one picture.

How to fix Microsoft.AspNetCore.Mvc.TagHelpers not being rendered!

Ha – another one, that ended up being a simple fix, but since nobody actually explains it well, took me an hour to figure out. This post ended up being another example of my “I’m going to document every single fix, that took me more than 10 minutes to figure out, since that’ll help me (and others) the next time the same issue arises.” blogging strategy. Snappy name, right? Never was my strongest suit! Anyway, I ended up banging my head to the wall. Hopefully…Continue reading How to fix Microsoft.AspNetCore.Mvc.TagHelpers not being rendered!

GitHub Desktop version information

Note to self: How to sync from the original repo on GitHub (Git merge upstream)

This is one of those “note to self” -kind of entries. This workflow is probably so natural to a lot of you all, that you won’t need to document it – but since I don’t do that much development with the full “fork – clone – branch – submit pull request” -process (whic is really typical with GitHub and I guess Open Source in general), I always need to look up the instructions on how to add pull any changes from the original repository to…Continue reading Note to self: How to sync from the original repo on GitHub (Git merge upstream)

Encountering AADSTS700054 in the wild. Always a bother - but let me tell you how to fix it!

How to fix “AADSTS700054: response_type ‘id_token’ is not enabled for the application” error

This article will explain to you how to fix the error “AADSTS700054” Another day, another unsuccessful authentication attempt, and another cool error code. This one I encountered when building a little POC that was supposed to authenticate against Graph API. Problem Table of Contents ProblemReasonSolution When developing your client-side solution (an SPFx webpart, React app, ASP.NET MVC application with some client-side components… Your pick!), you run into this error when your code tries to authenticate against Azure AD: AADSTS700054: response_type ‘id_token’ is not enabled for…Continue reading How to fix “AADSTS700054: response_type ‘id_token’ is not enabled for the application” error

Azure Active Directory, the advanced logo

How to fix “AADSTS500113: No reply address is registered for the application” error?

This article describes how to fix the error “AADSTS500113: no reply address is registered for the application”. You typically get this error, when your app is trying to authenticate your users against Azure Active Directory. I’ve been posting about different versions of Azure Active Directory authentication errors (different errors with AADSTS -codes) a lot – I’ll need to find a better way to categorize them in the future. But, for now, on to the issue! Problem Table of Contents ProblemSolution to error AADSTS500113 Another day,…Continue reading How to fix “AADSTS500113: No reply address is registered for the application” error?