25,604 questions with .NET-related tags

Sort by: Updated
1 answer

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-19T12:45:01.2133333+00:00
Marcus Nerger 0 Reputation points
edited the question 2024-09-19T19:51:37.69+00:00
Rob Caplan - MSFT 5,442 Reputation points Microsoft Employee
2 answers

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…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
asked 2024-04-20T11:10:48.4966667+00:00
Tony Hedge 6 Reputation points
answered 2024-09-19T19:27:22.0166667+00:00
JohnKarajim 0 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
12 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
12 questions
asked 2024-09-19T13:04:31.2266667+00:00
Adish Jain 0 Reputation points
edited an answer 2024-09-19T18:35:35.5166667+00:00
Bruce (SqlWork.com) 64,486 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
12 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
12 questions
asked 2024-09-19T13:04:31.2266667+00:00
Adish Jain 0 Reputation points
edited an answer 2024-09-19T18:35:35.5166667+00:00
Bruce (SqlWork.com) 64,486 Reputation points
0 answers

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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,338 questions
asked 2024-09-19T12:31:50.18+00:00
Saurabh Yadav 0 Reputation points
edited the question 2024-09-19T18:31:02.8666667+00:00
Rob Caplan - MSFT 5,442 Reputation points Microsoft Employee
0 answers

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" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-19T18:15:59.3633333+00:00
RaviKiran P 0 Reputation points
edited the question 2024-09-19T18:25:31.3566667+00:00
RaviKiran P 0 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
960 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,449 questions
Microsoft Copilot
Microsoft Copilot
Microsoft terminology for a universal copilot interface.
255 questions
asked 2024-09-19T01:28:27.24+00:00
P Sreekar Babu 0 Reputation points
edited the question 2024-09-19T18:08:57.2866667+00:00
P Sreekar Babu 0 Reputation points
2 answers

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 =…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
736 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
736 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
asked 2024-09-18T22:15:23.81+00:00
mostafa ahmed 41 Reputation points
answered 2024-09-19T17:41:23.7666667+00:00
Bruce (SqlWork.com) 64,486 Reputation points
2 answers

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 =…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
736 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
736 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,858 questions
asked 2024-09-18T22:15:23.81+00:00
mostafa ahmed 41 Reputation points
answered 2024-09-19T17:41:23.7666667+00:00
Bruce (SqlWork.com) 64,486 Reputation points
1 answer

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

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,858 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,153 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,795 questions
asked 2024-09-18T17:36:43.96+00:00
Ian Belanger 0 Reputation points
commented 2024-09-19T17:35:18.77+00:00
Chandra Boorla 1,415 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

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…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,690 questions
asked 2024-09-13T13:56:24.9266667+00:00
Filip Veselý 0 Reputation points
accepted 2024-09-19T17:24:09.98+00:00
Filip Veselý 0 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,715 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
212 questions
asked 2024-06-12T15:25:22.23+00:00
Connor Frayne 25 Reputation points
commented 2024-09-19T16:52:08.9633333+00:00
Larry C 0 Reputation points
1 answer

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…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,559 questions
asked 2024-09-18T17:40:41.16+00:00
David Thielen 3,016 Reputation points
commented 2024-09-19T16:38:37.63+00:00
Bruce (SqlWork.com) 64,486 Reputation points
5 answers One of the answers was accepted by the question author.

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…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-09-13T23:14:25.62+00:00
J Allen 50 Reputation points
edited an answer 2024-09-19T16:32:16.8133333+00:00
Pascal Pereira 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,424 questions
asked 2024-08-19T15:06:56.6833333+00:00
Kim Strasser 1,036 Reputation points
commented 2024-09-19T16:28:22.05+00:00
Tony Manzella 0 Reputation points
0 answers

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,525 questions
asked 2024-09-19T13:41:33.59+00:00
Andrew Dixon 0 Reputation points
commented 2024-09-19T16:07:24.4533333+00:00
Rakesh Gurram 7,000 Reputation points Microsoft Vendor
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
asked 2024-09-19T01:46:58.35+00:00
Juan-4116 0 Reputation points
answered 2024-09-19T15:46:40.05+00:00
Bruce (SqlWork.com) 64,486 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,526 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,679 questions
asked 2024-09-19T01:46:58.35+00:00
Juan-4116 0 Reputation points
answered 2024-09-19T15:46:40.05+00:00
Bruce (SqlWork.com) 64,486 Reputation points
1 answer

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…

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
250 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,459 questions
asked 2024-09-06T00:41:07.7633333+00:00
Danielle Schlie 0 Reputation points
commented 2024-09-19T15:38:05.17+00:00
Sai Raghunadh M 150 Reputation points Microsoft Vendor
0 answers

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…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,911 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
asked 2024-09-19T15:37:05.55+00:00
Ash 70 Reputation points Microsoft Employee