24,605 questions with .NET-related tags

Sort by: Updated
3 answers

System.NullReferenceException: 'Object reference not set to an instance of an object.' model was null

model { public int VehicleID { get; set; } public int VehicleTypeID { get; set; } public string Brand { get; set; } public string Model { get; set; } public int Capacity { get; set; } = 0; public bool IsActive { get; set; } } controller //…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,306 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,785 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
914 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,520 questions
asked 2024-06-21T09:37:52.91+00:00
Naveinthiran 0 Reputation points
answered 2024-06-21T18:30:38.4866667+00:00
AgaveJoe 26,851 Reputation points
1 answer

Will MIP SDK be supported newer versions of .Net core?

Will MIP SDK be supported on newer versions of .NET core?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,306 questions
asked 2024-06-21T12:54:31.7533333+00:00
Amaldas, Vimal (INFOSYS) 0 Reputation points
answered 2024-06-21T17:35:15.4833333+00:00
Bruce (SqlWork.com) 59,471 Reputation points
3 answers

Has the development of classic ASP been stopped at Microsoft side and if yes, when?

Dear Microsoft team, we have an application, which was developed with classic ASP. We have found the information, that ASP.NET is the successor of classic ASP. The question is, has the development of classic ASP been stopped at Microsoft side and if…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,306 questions
asked 2021-05-10T11:31:17.533+00:00
Yauheniya Seliazniova 1 Reputation point
edited a comment 2024-06-21T17:28:01.5666667+00:00
Lex Li (Microsoft) 5,072 Reputation points Microsoft Employee
2 answers

Error running MAUI on iOS Device

Hi, I have just downloaded Visual Studio for Mac PRE 17.3 (Build 1038) but when I try to run the default MAUI app on iPhone device I get below error: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,075 questions
asked 2022-06-24T18:11:33.737+00:00
Jassim Al Rahma 1,541 Reputation points
answered 2024-06-21T17:18:47.6366667+00:00
Bruce (SqlWork.com) 59,471 Reputation points
1 answer

validate antiforgery token genereted by aps.net mvc framework and used in back for front (BFF) api .net core when ajax called

Hi, there, I would like to validate an "antiforgery token" generated on an asp.net mvc framework application hosted on IIS in a BFF .net core API (back for front) hosted on Kestrel Linux with the ValidateAntiForgeryToken attribute. When I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,306 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,383 questions
asked 2024-06-21T11:44:44.45+00:00
Pierre Guillaume 0 Reputation points
answered 2024-06-21T17:09:12.42+00:00
Bruce (SqlWork.com) 59,471 Reputation points
1 answer

Connecting to databricks using .Net

Hello Team, Is it possible to connect to Databricks and perform CRUD operations on catalog schema tables and Delta tables using .NET? If so, what approach is needed to connect to Databricks using JDBC or ODBC? Are there any specific libraries in Visual…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
Azure Databricks
Azure Databricks
An Apache Spark-based analytics platform optimized for Azure.
2,030 questions
asked 2024-06-21T15:59:05.22+00:00
Nagesh CL 621 Reputation points
answered 2024-06-21T17:08:02.62+00:00
James Bisiar 0 Reputation points
4 answers

How to design patterns from scratch using C# asp.net MVC

I am new to building design pattern using factory design pattern, its C# asp.net mvc application which i am going developing my new web application, please can you help me how to start from scratch. I have worked one design pattern application which is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,383 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,520 questions
asked 2024-04-19T14:27:10.4633333+00:00
coder rock 216 Reputation points
answered 2024-06-21T16:38:01.18+00:00
Stencilloart 0 Reputation points
0 answers

Maui MediaPicker.Default.CapturePhotoAsync fails under iOS with no error message

Hi, When I try to capture an image on a physical Apple device using MediaPicker.Default.CapturePhotoAsync() the calling function stops functioning with no error message and returns a null. My project is running the following…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,075 questions
asked 2024-06-21T16:14:29.3566667+00:00
Grant Schaffer 25 Reputation points
0 answers

No compatible code running on the thread

I know what is causing this, but the solution evades me, because many of the answers are "I upgraded to the next VS version", which is not helpful. What is causing this: I have a class (record) that overrides the AutomationId property of a UI…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,075 questions
asked 2024-06-21T14:09:08.9533333+00:00
Russell Hires 0 Reputation points
edited the question 2024-06-21T16:09:25.9433333+00:00
Russell Hires 0 Reputation points
0 answers

SharepointListSource Issue in SSIS when Deploymed on SQL Server 2019

Hello, i have an SSIS Package project that was designed in 2015 and was working fine and deployed on the windows server 2012 R2 targeting SQL Server 2014.Now we are migrating to windows server targeting SQL Server 2019.I took the package and opened it in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 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,113 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,068 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,492 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,520 questions
asked 2024-06-21T15:50:35.61+00:00
Tumo Maraisane 0 Reputation points
commented 2024-06-21T15:57:19.5133333+00:00
Tumo Maraisane 0 Reputation points
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,978 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,075 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
commented 2024-06-21T15:56:05.5066667+00:00
Grant Schaffer 25 Reputation points
2 answers One of the answers was accepted by the question author.

My EmailConfirmed is not working

Hi, I'm new to this, so I'm not so good, your help is my pleasure, thank you. I am having a problem with login, the API emailConfirmed still works when I give it token and userId. As far as I know, the EmailConfirmed doesn't confirm itself. I think I…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
639 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
713 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,306 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,520 questions
asked 2024-06-20T20:04:22.7933333+00:00
Nhựt Lại 25 Reputation points
accepted 2024-06-21T15:22:48.6833333+00:00
Nhựt Lại 25 Reputation points
1 answer

How to connect Access Database to a VB.Net project in VS 2022 using .Net 8.0?

Hi All, I am trying to use .Net 8.0 in Visual Studio 2022; I am unable to use Access Database; the usual way of adding "Data Sources" is not available ( I have been using .Net Framework 4.5 for my projects without any difficulties.) I used the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 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,636 questions
asked 2024-06-20T18:51:16.6666667+00:00
VKSB 216 Reputation points
commented 2024-06-21T14:36:32.4866667+00:00
KOZ6.0 6,210 Reputation points
1 answer One of the answers was accepted by the question author.

.Net MAUI desctop app

I am new to programming. I am trying to figure out how to work with MAUI. The problem is that the program does not start in Windows Explorer, but everything works fine from Visual Studio (mobile and desktop versions).Windows11

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,075 questions
asked 2024-06-12T18:35:45.7166667+00:00
K00300006: Lionel Jose Maria 25 Reputation points
accepted 2024-06-21T13:50:17.3233333+00:00
K00300006: Lionel Jose Maria 25 Reputation points
1 answer One of the answers was accepted by the question author.

how can play backgound music (mp3) in xamarin?

Hi, how can play backgound music (mp3) in xamarin, can you help me.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,315 questions
asked 2024-06-21T09:45:33.4866667+00:00
ONUR ELBASANLI 20 Reputation points
edited a comment 2024-06-21T13:48:27.5633333+00:00
ONUR ELBASANLI 20 Reputation points
1 answer

Android Emulator doesn't launch. Asks to set hw.gpu.mode to off

Hi I am quite desperate because I can not for the life of me get my android emulator to start anymore. When I try to start it with the debugger, the output window just states that the emulator could not be started. If I try to start it from the device…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,785 questions
asked 2023-03-15T09:32:57.5533333+00:00
Tim Fonshell 0 Reputation points
commented 2024-06-21T13:38:37.93+00:00
Jacques Herweijer 0 Reputation points
1 answer

How to fix IFragmentCapableXmlDictionaryWriter.WriteFragment example

In the Microsoft documentation for System.Xml, there is an example for IFragmentCapableXmlDictionaryWriter.WriteFragment at URL https://learn.microsoft.com/en-us/dotnet/api/system.xml.ifragmentcapablexmldictionarywriter.writefragment?view=net-8.0. When I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
asked 2024-06-20T16:12:32.92+00:00
Nicholas Piazza 536 Reputation points
commented 2024-06-21T13:05:57.5366667+00:00
Nicholas Piazza 536 Reputation points
1 answer

Upgrading Microsoft.Office.Interop in C# .NET application

We have older versions of Microsoft.Office.Interop (Word, Excel) in our application and we want to upgrade to a more recent version. For Microsoft.Office.Interop.Word, it appears that we have version 11.0.0.0 (runtime version v1.1.4322) when I look at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
asked 2024-06-04T16:10:36.39+00:00
Robottom, John 0 Reputation points
commented 2024-06-21T12:59:37.67+00:00
Robottom, John 0 Reputation points
1 answer

Where has MapIcon gone in Windows MAUI Maps ?

Hi team. I try to migrate a custom renderer for Maps from Xamarin to MAUI. I need to show a custom icon on the Map in Windows platform (found multiple examples how to do that in IOs and Droid) In Xamarin there was a MapIcon class , derived from…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,075 questions
asked 2024-05-29T10:42:51.1733333+00:00
Andreas Wegener 0 Reputation points
commented 2024-06-21T12:59:11.62+00:00
Andreas Wegener 0 Reputation points
0 answers

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,542 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,785 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,600 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
334 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
commented 2024-06-21T12:34:03.3833333+00:00
R M 0 Reputation points