Microsoft Q&A

.NET

20,678 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,678 questions with .NET-related tags

Sort by: Updated
2 answers

How to deploy ASP.net application with OAM authentication in Azure PaaS

Team, we are supporting Asp.net application with SQL server and its hosted in On-premises server. we are planning move to Azure PaaS environment. we have challenge is Application using OAM authentication to deploy the application. Is It possible to…

Azure SQL Database
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,639 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,639 questions
asked 2023-09-27T13:11:16.7566667+00:00
Bandhan, Arunkumar 0 Reputation points
answered 2023-09-27T20:39:50.3933333+00:00
Bruce (SqlWork.com) 44,621 Reputation points
2 answers

Conditional validation depending which MVC button pushed

I have a scaffolded form in MVC with two buttons, Save and Submit. I want conditional validation: Save, no validation; Submit, validation. In the cshtml I have: ... <td> @Html.EditorFor(model => model.DSCRPTN, new { htmlAttributes = new…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
987 questions
asked 2023-09-25T13:56:00.5533333+00:00
J Fisher 0 Reputation points
commented 2023-09-27T18:09:53.1266667+00:00
J Fisher 0 Reputation points
1 answer

How to fix ASP.NET Core with angular API 500 Internal Server Error when uploading file in Development Environment in azure app Service

I am trying to upload a file to the wwwroot folder, but it shows an API status code 500 internal server error in the development environment. It works on my local machine but not in my development environment.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,568 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
243 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,639 questions
asked 2023-09-27T15:11:44.74+00:00
Jithu Sebastian 0 Reputation points
answered 2023-09-27T17:55:47.29+00:00
Bruce (SqlWork.com) 44,621 Reputation points
0 answers

Forward Binding i.e. reapply a binding

Is it possible to create an attached property containing a Binding/BindingBase & then apply it to a control i.e. forward a binding thru XAML. Example would be you can have global style that use attached properties & then local styles to set…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,478 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.
8,983 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
690 questions
asked 2023-09-27T17:51:57.8433333+00:00
Lars Larsson 16 Reputation points
edited the question 2023-09-27T17:55:02.0233333+00:00
Lars Larsson 16 Reputation points
1 answer One of the answers was accepted by the question author.

Package Source v2 feed error

I have try to download a package on package manager with https://nuget.org as the source but it output a error as feed back. How can I fix that error? Severity Code Description Project File Line Suppression State Error [Package source] The V2 feed…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,056 questions
asked 2022-01-27T07:02:09.657+00:00
Wilson Au-Yeung 21 Reputation points
commented 2023-09-27T17:35:52.5833333+00:00
Serge-Thomas 0 Reputation points
1 answer One of the answers was accepted by the question author.

Blazor textarea setting issue

Hello all. how I do set a textarea element so it will have a specific width an height and that it's text will have a horizontal and vertical scrollable . I want that when user type text the line length be when user keying ENTER key. Thank you very much

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,107 questions
asked 2023-09-27T11:26:14.95+00:00
Haviv Elbsz 1,226 Reputation points
edited a comment 2023-09-27T17:15:29.9+00:00
AgaveJoe 520 Reputation points
0 answers

.Net Maui unresolved error

Hi Friends has anyone received this error or know what the problem is? Do you think I may have a corrupt file? Error MAUIG1001 An error occured while parsing Xaml: Name cannot begin with the '<' character, hexadecimal value 0x3C. Line 18, position…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,869 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.
8,983 questions
asked 2023-08-18T14:09:07.3466667+00:00
Ronald Rex 1,331 Reputation points
commented 2023-09-27T16:16:56.0833333+00:00
Robert Evans (REDMOND) 0 Reputation points
1 answer

issue in opacity of the parent form and panel

Hi , my other problem is there is a scenario in which i have a form named child which is opened inside a panel of a form named father . what i am trying is when i press F2 on my keyboard a new form opens asking for current date . at this moment i want…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,630 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.
8,983 questions
asked 2023-09-23T11:43:45.1433333+00:00
Shaifali jain 220 Reputation points
commented 2023-09-27T15:14:58.9233333+00:00
KOZ6.0 395 Reputation points
0 answers

Establishing SSL trust to SQL Server with an AWS Lambda (Linux Client)

Hey all. I'm trying to connect to a SQL Server 2019 instance from an AWS lambda. I'm using a self-signed certificate for the SQL instance. Our lambda is using Entity Framework Core 7.0.5 in .NET 6 (also tested Microsoft.Data.SqlClient 5.1 with the same…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
586 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,056 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.
10,969 questions
asked 2023-09-27T15:08:52.2+00:00
Farrell, Erik 0 Reputation points
1 answer

Finding parent form and tablelayoutPanel

hello , private void TDlloading_error_Load(object sender, EventArgs e) { HideButtonsInParentFormTableLayoutPanel(); } private void HideButtonsInParentFormTableLayoutPanel() { // Access the parent…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,630 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.
8,983 questions
asked 2023-09-26T10:44:39.0333333+00:00
Shaifali jain 220 Reputation points
edited an answer 2023-09-27T15:05:20.2833333+00:00
KOZ6.0 395 Reputation points
0 answers

Visual Studio Community Version 17.7.4 Http Test 401 Errors

Since upgrading my Visual Studio Community edition to Version 17.7.4, I noticed that the method of sending requests in an http test document has changed in the UI from a green play button to a “Send Request” link. More importantly, since this update all…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,568 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,801 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.
299 questions
asked 2023-09-27T14:23:59.85+00:00
John Reynolds 0 Reputation points
0 answers

How to fix Severity Code APT2062 failed linking references.

Hi There, When I try to run the .Net Maui project on android Emulator I found run time error say that. "Severity Code Description Project File Line Suppression State Priority Error APT2062 failed linking references.C:\ ProgramFiles \dotnet \packs…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,869 questions
asked 2023-06-04T06:50:00.33+00:00
Ahmed Thabet 20 Reputation points
commented 2023-09-27T13:40:04.85+00:00
Niladri Padhy (ZEN3 INFOSOLUTIONS AMERICA INC) 0 Reputation points Microsoft Vendor
1 answer

MAUI: Listview isvisible property is not working from the code behind?

I am trying to show the selected image or file on my UI on a listview. So initially the listview's IsVisible I set to false and after picking item I set the IsVisible property to true. My problem is after picking item the listview is not visible on the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,869 questions
asked 2023-09-19T14:24:15.5166667+00:00
Sreejith Sreenivasan 391 Reputation points
edited a comment 2023-09-27T13:35:26.2033333+00:00
Sreejith Sreenivasan 391 Reputation points
0 answers

Problem encountered while configuring the automatic provisioning profile for Xamarin iOS in Visual Studio 2023 in window 11

I've successfully generated a new API key for setting up my Apple account in Visual Studio Xamarin. I've added the new API key, which you can observe below. However, when I opt for 'Bundle signing' with Automatic provisioning, it encounters an error.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,158 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,056 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.
8,983 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
690 questions
Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
407 questions
asked 2023-09-27T13:29:15.9166667+00:00
Sanjay Kumar Jha 91 Reputation points
0 answers

Entity Framework BulkInsert Temp table without creating

Hi, I am creating Temp Table and inserting data with EF BulkInsert , then I use that temp table in the dynamic script. I need to BulkInsert 100K rows into SQL Server but it was keep loading . I tried to insert insert for loop but I am getting a error…

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
259 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,056 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,639 questions
asked 2023-09-27T13:21:04.1433333+00:00
siva_dev 1 Reputation point
edited the question 2023-09-27T13:24:39.48+00:00
siva_dev 1 Reputation point
1 answer

How can I do a [MemberNotNull] for an Entity Framework IncludeAll() method I wrote?

I have the following helper method. This includes all complex properties in my Event DbSet (actually there's 9 properties but I reduced it for clarity): public static IQueryable<Event> IncludeAll(this IQueryable<Event> source) { return…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
586 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.
8,983 questions
asked 2023-09-16T17:40:21.58+00:00
David Thielen 1,406 Reputation points
commented 2023-09-27T12:47:09.8233333+00:00
David Thielen 1,406 Reputation points
0 answers

Load XAML file dynamically

Hello, In my desktop application I have some themes and styles defined like this: <?xml version="1.0" encoding="UTF-8" ?> <ResourceDictionary x:Class="App.Themes.S" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,869 questions
asked 2023-09-27T12:16:33.2466667+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
edited the question 2023-09-27T12:28:42.96+00:00
Ángel Rubén Valdeolmos Carmona 586 Reputation points
0 answers

.Net MAUI alternate Nuget Package for Xam.Plugin.Iconize(Xam.FormsPlugin.Iconize)

We are using Xam.Plugin.Iconize(Xam.FormsPlugin.Iconize) in our Xamarin Forms project. i.e xmlns:iconize="clrnamespace:FormsPlugin.Iconize;assembly=FormsPlugin.Iconize" <iconize:IconImage WidthRequest="44" …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,158 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,869 questions
asked 2023-09-27T11:00:37.39+00:00
Jamal 0 Reputation points
edited the question 2023-09-27T12:10:42.0733333+00:00
Jamal 0 Reputation points
0 answers

Maui mobile app using Signalr is encoding hub name in ConnectionData parameter on iOS 17

We have a mobile app in production built using Maui. The server running the api is it connecting to uses .net framework. There are issues connecting to signalR from iOS17 devices. From debug we can see the following: iOS 17 device sets the connectionData…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,639 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,869 questions
asked 2023-09-27T11:39:11.9033333+00:00
T_TDSi 0 Reputation points
1 answer

TestContext is null when invoking method using Reflection

I am invoking a Data Driven Test Method from another service using Reflection. This Data Driven test read the data from file using TestContext and it is null. The purpose of this service is to run all the End to End tests available in the UnitTest1…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,056 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.
8,983 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.
299 questions
asked 2023-03-29T08:14:23.1533333+00:00
Aarti Jangid 0 Reputation points
commented 2023-09-27T11:32:58.8566667+00:00
Elizha, Sheeba 0 Reputation points