Can't open Storyboard after migrating from Xamarin.iOS to .NET for iOS
I recently migrated my Xamarin.iOS project to .NET for iOS. Everything went fine so far. Now I'm realizing that I'm not able to work with storyboards anymore. Before the migration I was working with Visual Studio for Mac. To modify storyboards I could…
All Toolbox Options Greyed in Visual Studio 2022
I have recently upgraded my WinForm C# application from .Net 4.7.x to .Net 6 I wish to make a change to one of the Forms, however when I try to add any control to any form, I find that all options are greyed out in the Toolbox, so I can modify any of the…
Explain The C# Code
using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { Console.WriteLine("Hello World"); var nums = new List<NumberHolder> { new NumberHolder{ Val = 1 }, new…
Explain The C# Code
using System; using System.Collections.Generic; using System.Linq; public class Program { public static void Main() { Console.WriteLine("Hello World"); var nums = new List<NumberHolder> { new NumberHolder{ Val = 1 }, new…
How to add google tag manager in Xamarin forms app
I want to integrate Google Tag Manager into our existing Xamarin.Forms app, which is developed using the .NET Standard 2.1 framework. This integration will enable us to manage and deploy marketing tags and tracking scripts more efficiently without…
Unable to occupy safe area in IOS
I have added below XAML to my content page still, Content page is not occupying the notch area in IOS xmlns:ios="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;assembly=Microsoft.Maui.Controls" …
Regex for SAML group in Entra ID
I am looking for some help on regular expression for saml groups, I have set of groups ending with xyz and few groups starting info.test, and info.dev ...etc I have added the group claim in AzureAD and I have selected source attribute name as…
How to get current User outside of Controller in another layer
In ASP.NET Core 6, I need to get the current user in service layer This is code: public class ServiceModel { private readonly IHttpContextAccessor accessor; public ServiceModel(IHttpContextAccessor accessor) { this.accessor =…
How to get current User outside of Controller in another layer
In ASP.NET Core 6, I need to get the current user in service layer This is code: public class ServiceModel { private readonly IHttpContextAccessor accessor; public ServiceModel(IHttpContextAccessor accessor) { this.accessor =…
Runtime Model not working - Exercise - Train a multiple linear regression model
https://learn.microsoft.com/en-us/training/modules/understand-regression-machine-learning/5-exercise-multiple-linear-regression
How to Update-Database in PM console when getting "Could not load assembly..." error?
Hello, I cannot apply migrations to database by Package Manager Console command Update-Database. On every attempt I get error: Could not load assembly "My_Project". Ensure it is referenced by the startup project 'My_Project'. Before mentioned…
Can't launch my app because of 'you must install .NET Desktop Runtime' popup
Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…
Blazor ErrorContent not catching an error
Hi all; Blazor Interactive Server - in my MainLayout.razor I have: <ErrorBoundary> <ChildContent> <!-- lots of nodes --> </ChildContent> <ErrorContent Context="error"> <main…
maui and iOs 18
My apologies if I am missing something simple here. I submitted an updated maui blazor hybrid app to apple for review and they rejected it because it launched to a blank white screen when they tested on a device running a beta version of iOs18. Looking…
Error: dotnet validation failed, an unexpected error occurred No receiver was found for topic xvs/idb/initialize-dotnet-sdk
I got this error when I tried to pair Visual Studio Community 2022 (64-bit) - Preview Version 17.12.0 Preview 1.0 to my iMac: The connection cannot continue because the remote iOS SDK was not found or is corrupted. If the issue persists, please try…
Revisit MS Learn unit exercise
The following MS learning page needs revising to fix a few bugs: AZ-104: Implement and manage storage in Azure >> Control access to Azure Storage with shared access signatures >> Exercise - Use shared access signatures to delegate access to…
Migration from .NET 6.0 to .NET 8.0: Compatibility and Considerations
Hello everyone, We have a solution with a vast number of projects, and we are aiming to migrate some of the components to .NET 8.0. Before proceeding with the migration, we want to ensure that we will have full compatibility and support for it. Our App…
Migration from .NET 6.0 to .NET 8.0: Compatibility and Considerations
Hello everyone, We have a solution with a vast number of projects, and we are aiming to migrate some of the components to .NET 8.0. Before proceeding with the migration, we want to ensure that we will have full compatibility and support for it. Our App…
Performance issues in Session State
Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…
Build failing with not being able to restore workerExtension.csproj
Hi, We are encountering a transient error in our cloud build pipeline. When attempting to restore packages for our Azure Function, we receive the following errors: D:\dbs\sh\aac6\temp\0mjoggt1.c2j\WorkerExtensions.csproj : error NU1301: Unable to load…