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…Continue reading How to add creator/modified info to all of your EF models at once in .NET Core
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…Continue reading EF Core returns null for a Navigation property
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”,…Continue reading ‘__generated__Index.OnInitAsync()’: no suitable method found to override
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…Continue reading Au revoir Canada, bonjour Finland.. Eh?
This article explains the current terminology that 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 its 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…Continue reading SharePoint Home, Hub, Sites, Start… What?
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 to 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…Continue reading Thanks for coming to my session at SPS Charlotte 8/10/2019!
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 of what you can do in the code to make the integration more useful! Why would we do this? 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…Continue reading How to Teamsify an SPFx solution?
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 Most likely, the line causing you issues looks something like…Continue reading How to solve the error “Property ‘microsoftTeams’ does not exist on type ‘WebPartContext’.”
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…Continue reading Speaking at SPS Charlotte 8/10/2019!
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…Continue reading How to resolve build failing with .NET Core 3 and Microsoft.AspNetCore.Mvc.Versioning