#SharePointProblems | Koskila.net

Solutions are worthless unless shared! Antti K. Koskela's Personal Professional Blog

All Posts

Browse all blog posts and archives

All Posts (529)

Showing 351 to 375 of 529 posts (Page 15 of 22)
  • Cover image for How to fix "The type or namespace name 'Services' does not exist in the namespace 'Microsoft.AspNetCore.Components' (are you missing an assembly reference?)"
    Published on
    Authors
    koskila

    How to fix "The type or namespace name 'Services' does not exist in the namespace 'Microsoft.AspNetCore.Components' (are you missing an assembly reference?)"

    I have just resolved a random issue that's difficult enough to google so I thought it would be worth documenting! These seem to be popping up whenever you work with anything that's fairly fresh out of the oven... This particular case revolves around Visual Studio being incredibly obnoxious and starting to throw a ton of errors on code that worked five minutes prior. In my case, the error happened after updates to Visual Studio. Always fun. Symptoms The errors started popping up in Visual Studio.
  • Cover image for Azure DevOps - how to package a single DLL?
    Published on
    Authors
    koskila

    Azure DevOps - how to package a single DLL?

    Okay - a quick piece of documentation that was a bit lackluster, so it's again a good idea to log somewhere. How to package a simple DLL that's a result of your Azure DevOps Pipeline? In my particular case, I have configured a post-build step to obfuscate the DLL, that's first built by MSBuild. That works nicely.
  • Cover image for How to use UriHelper or NavigationManager in .NET Core 3.0 & Blazor?
    Published on
    Authors
    koskila

    How to use UriHelper or NavigationManager in .NET Core 3.0 & Blazor?

    Just a quick piece of documentation, as this piece of code, has changed in different versions of .NET Core 3.0 so far a few times. Need to have things like this written down somewhere! UriHelper / NavigationManager with .NET Core 3.0 Both of these helper libraries do essentially the same thing: navigate/browse/redirect the user to a different address, component, page or view in or by your web app.
  • Cover image for Azure DevOps build fails with "The nuget command failed with exit code(1) and error(Cannot determine the packages folder to restore NuGet packages."
    Published on
    Authors
    koskila

    Azure DevOps build fails with "The nuget command failed with exit code(1) and error(Cannot determine the packages folder to restore NuGet packages."

    -_PublishedWebSites ------ArtifactName ------bin,content,scripts,views.... folders and ------Web.config, Web.Debug.config and Web.Release.config ----ArtifactName.zip ----NugetPackagedll1 ----NugetPackagedll2 ----NugetPackagedll3 .... ----NugetPackagedll_300 So, I am not sure why I am getting these many contents in the output?
  • Cover image for HttpClient in Blazor
    Published on
    Authors
    koskila

    HttpClient in Blazor

    Blazor is a new (ish) framework for building web UIs with C#. It either uses SignalR to manage connections between your client-side and server-side code or even compiles directly to WebAssembly, in both cases cutting out the need to write any pesky JavaScript yourself - pretty neat, if you ask me! However, developing your web apps with Blazor is a bit different from using ASP.NET MVC, for example.
  • Cover image for List of Azure Regions, where Application Insights is available
    Published on
    Authors
    koskila

    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 data centres 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.
  • Cover image for How to get the Description for a property in ASP.NET MVC 5?
    Published on
    Authors
    koskila

    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.
  • Cover image for How to add creator/modified info to all of your EF models at once in .NET Core
    Published on
    Authors
    koskila

    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 are 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 code from the former to the latter.
  • Cover image for EF Core returns null for a Navigation property
    Published on
    Authors
    koskila

    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.
  • Cover image for '__generated__Index.OnInitAsync()': no suitable method found to override
    Published on
    Authors
    koskila

    '__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, I'd better document it 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 initialisation. But alas, it didn't. Not anymore.
  • Cover image for Au revoir Canada, bonjour Finland.. Eh?
    Published on
    Authors
    koskila

    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.
  • Cover image for SharePoint Home, Hub, Sites, Start... What?
  • Cover image for Thanks for coming to my session at SPS Charlotte 8/10/2019!
    Published on
    Authors
    koskila

    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 to the local user group (and the conference organizers) for having me! Charlotte - what a beautiful city! Charlotte seems like a really lively city.
  • Cover image for How to Teamsify an SPFx solution?
    Published on
    Authors
    koskila

    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 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 a while before being pulled!
  • Cover image for How to solve the error "Property 'microsoftTeams' does not exist on type 'WebPartContext'."
    Published on
    Authors
    koskila

    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 Most likely, the line causing you issues looks something like this: this.context.microsoftTeams.
  • Cover image for Speaking at SPS Charlotte 8/10/2019!
    Published on
    Authors
    koskila

    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 the 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.
  • Cover image for How to resolve build failing with .NET Core 3 and Microsoft.AspNetCore.Mvc.Versioning
    Published on
    Authors
    koskila

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

    Whilst 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 Live NET 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.
  • Cover image for How to resolve issues when loading DLLs in PowerShell?
    Published on
    Authors
    koskila

    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).
  • Cover image for How to update SharePoint Framework for an SPFx webpart?
  • Cover image for How to resolve the error "The alias is being used by another group in your organization"
    Published on
    Authors
    koskila

    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", as 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 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.
  • Cover image for How to fix Microsoft.AspNetCore.Mvc.TagHelpers not being rendered!
    Published on
    Authors
    koskila

    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? 😅 Ah, well, naming things is really, really difficult. Anyway, I ended up banging my head to the wall for a while.
  • Cover image for Sync local repo with the original on GitHub (Git merge upstream)
    Published on
    Authors
    koskila

    Sync local repo with the original on GitHub (Git merge upstream)

    This is one of those "note to self" -kinds of entries. This workflow is probably so natural to a lot of you all, that you won't need to ever google it - but since I don't do that much development using git with the full "fork - clone - branch - submit pull request" -process (which 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 yours.
  • Cover image for How to fix "AADSTS700054: response_type 'id_token' is not enabled for the application" error
    Published on
    Authors
    koskila

    How to fix "AADSTS700054: response_type 'id_token' is not enabled for the application" error

    Another day, another unsuccessful authentication attempt, and another cool error code. I encountered his one whilst building a little POC that was supposed to authenticate against Graph API. This time, I was thrown an "AADSTS700054" error... But no worries! This article will explain to you how to fix it, at least in a couple of different cases! :) Problem When developing your client-side solution (an SPFx web part, React app, ASP.NET MVC application with some client-side components...
  • Cover image for How to fix an "AADSTS500113: No reply address is registered for the application" error?
    Published on
    Authors
    koskila

    How to fix an "AADSTS500113: No reply address is registered for the application" error?

    This article describes how to fix the " AADSTS500113 : no-reply address is registered for the application " error. You typically get this error, when your app is trying to authenticate your users against Azure Active Directory. I have been posting about different versions of the 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, onto the issue!
  • Cover image for How to enable verbose logging for Azure Functions?
    Published on
    Authors
    koskila

    How to enable verbose logging for Azure Functions?

    This post describes how you can easily enable debug/verbose information for your Azure Functions for a lightweight and built-in way to extract just a bit more information out of your Azure Function executions. There are different methods available for Azure and your local development environment. Problem Azure Functions are awesome. But by default, your tools for gathering information without some additional configuration are not that great.
Whitewater Magpie Ltd.
© 2026
Static Site Generation timestamp: 2026-01-27T05:13:46Z