Microsoft Q&A

.NET

14,040 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

14,040 questions with .NET-related tags

Sort by: Updated
1 answer

Pull Down Menu Values

Premise: Enrollment Create displays and enters the CourseID and StudentID values. How do I program the pull down menus to display Course Title and Student FirstName LastName rather than the ID properties (but still enter the corresponding ID values…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,838 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
737 questions
asked 2023-03-28T14:45:16.65+00:00
Dean Everhart 906 Reputation points
answered 2023-03-28T15:10:15.7766667+00:00
Bruce (SqlWork.com) 31,336 Reputation points
1 answer

RDMA MemoryRegister Error

Hi, I'm Network Engineer and developing RDMA in Windows 10 using mellanox connectX-3. I'm developing in a slightly unusual environment, so I need to register about 500GB with this adapter using RegisterMemory among NDSPI interfaces. There is a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,288 questions
asked 2023-03-27T11:40:49.5266667+00:00
이하운 0 Reputation points
answered 2023-03-28T15:08:16.4666667+00:00
Limitless Technology 16,666 Reputation points
1 answer

What does this mean?

I've just downloaded a sample C# project from Github, and after opening, my references all look like this: What do these warnings mean? I can't find a related message anywhere in the Visual Studio 2019 UI. How do I know what's wrong?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,796 questions
asked 2023-03-27T22:39:47.4033333+00:00
DavidPendleton-7654 1 Reputation point
answered 2023-03-28T15:00:02.8766667+00:00
Michael Taylor 41,191 Reputation points
0 answers

How to do NTLMv2 auth when consuming web service in Xamarin.Android client?

We have a legacy app built with Xamarin.Android that uses HttpWebRequest to consume a web service. We're authenticating with NTLM (not v2) by setting the HttpWebRequest.Credentials property to an appropriate NetworkCredential object. The customer has…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,927 questions
asked 2023-03-28T14:49:27.0533333+00:00
Douglas G. Henke 0 Reputation points
2 answers

How to bind table data dynamically to pdfmake table body using jquery

I have created a HTML Table and I want to download selected columns into pdf using pdfmake below is my code example html code :- <div id="tablediv"> <table id="stockalloctbl_1"> <thead> <tr…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,325 questions
asked 2023-03-27T10:52:54.96+00:00
Ashok Kumar 121 Reputation points
edited a comment 2023-03-28T14:24:38.75+00:00
Ashok Kumar 121 Reputation points
4 answers

SQL Server 2022 install on Windows 10 fails with error that .NET is not installed, but it is installed and up to date

I have installed SQL Server 2022 Developer edition successfully on a Windows 10 and 11 virtual machine. The issue is that I cannot install it on a physical machine. During the install, I get the following fatal error. I have tried to install the latest…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 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.
9,120 questions
asked 2023-03-23T18:04:44.7966667+00:00
MJ Skeet 0 Reputation points
commented 2023-03-28T14:18:12.53+00:00
MJ Skeet 0 Reputation points
0 answers

Viewing Embed Link (Thumbnail) that is the content of a property

I would like to be able to access an embed link that is the string content of a property in the same manner that the code below allows me to access a web link that is the string content of a property. <a href=@Html.DisplayFor(modelItem =>…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,838 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
737 questions
asked 2023-03-27T20:06:49.5466667+00:00
Dean Everhart 906 Reputation points
commented 2023-03-28T13:46:37.27+00:00
Dean Everhart 906 Reputation points
0 answers

Custom configuration provider with sqlserver

Hi everyone, I need to create my own customized provider configuration with a sqlserver database in order to offer my client (who manages his website) to change some settings. My idea is to use the settings in the json file for the "system"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,838 questions
asked 2023-03-27T11:11:05.1166667+00:00
Salvatore Sanollo 0 Reputation points
commented 2023-03-28T13:43:15.77+00:00
Salvatore Sanollo 0 Reputation points
0 answers

How can I figure out what nuget package is throwing an error about Xamarin.Android.Support.v4 no longer supported?

I have an old Xamarin.Forms app for iOS and Android that I am trying to upgrade to work on the latest Android OS. When I build I get these errors: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,927 questions
asked 2023-03-27T21:22:32.47+00:00
Tony Pitman 21 Reputation points
commented 2023-03-28T13:14:18.6766667+00:00
Tony Pitman 21 Reputation points
2 answers

Upgrade Xamarin Forms Cross Platform Library from NetStandard2.x to Net7

I am trying to use the Acr.UserDialogs nuget package. I was using an older version with an older build of my Xamarin.Forms app for Android. I have a library that uses it that is cross platform. When I try to upgrade the Acr.UserDialogs package it tells…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,927 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
493 questions
asked 2023-03-27T20:38:12.3+00:00
Tony Pitman 21 Reputation points
commented 2023-03-28T13:09:42.08+00:00
Tony Pitman 21 Reputation points
3 answers One of the answers was accepted by the question author.

Change font in MAUI Blazor?

I have downloaded the font Comfortaa and saved it in the directory wwwroot/css/open-iconic/font/. In the file index.html I loaded the font under <style>: I also specified the alternative font "courier new". As you can see, it seems…

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.
7,579 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,085 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
884 questions
asked 2023-03-27T19:09:16.13+00:00
perfect code 271 Reputation points
accepted 2023-03-28T13:07:24.1633333+00:00
perfect code 271 Reputation points
1 answer One of the answers was accepted by the question author.

Convert.ToDouble(String) does not throw an overflow exception when max_value is exceeded

I use .NET 8.0 on vscode. In documentation (for .NET 8.0) of Convert.ToDouble(String) there is OverFlow Exception when Double.MaxValue is exceeded, but when I convert a string that represents a value>Double.MaxValue, it doesn't throw an exception, but…

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.
7,579 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
asked 2023-03-23T13:50:28.57+00:00
d'ARIENZO SAMUELE 20 Reputation points
accepted 2023-03-28T12:49:07.6566667+00:00
d'ARIENZO SAMUELE 20 Reputation points
0 answers

How to update appSetting for a Background Service (Service Worker) (.NET 6)

Hello, I came to ask you for your help, please. I have created a Worker Service which periodically deletes files in a folder. My path to the folder is stored in an App.config file, I read the value via ConfigurationManager. It works, but I want to be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,838 questions
asked 2023-03-28T12:34:00.33+00:00
tma9 1 Reputation point
edited the question 2023-03-28T12:45:05.1133333+00:00
tma9 1 Reputation point
1 answer

Exapand glyphicon-plus glyphicon-plus when collapsed on button click

I have a page with bootstrap glyphicon-plus glyphicon-minus in a span with a class. when the page loads the span is collapsed by default and I need to Expand it on a button click programmatically. I am doing $("#btn-search").click(function…

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
517 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
737 questions
asked 2023-03-24T19:53:12.94+00:00
Benjoe 386 Reputation points
commented 2023-03-28T12:01:25.9133333+00:00
Benjoe 386 Reputation points
0 answers

asp.net תקלה

היי הורדתי visual studio 2022 אני מחפשת ליצור פרויקט של asp.net enpty web site ואני לא מוצאת זה נותן לי רק asp.net core מה לעשות? תודה

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,838 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,796 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,325 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
464 questions
asked 2023-03-28T11:46:25.9633333+00:00
noga hominer 0 Reputation points
0 answers

Programatically force winform app to open at 125 scaling using Dotnet core 6

We have built a DPI Unaware Winform app using DotNet core 6 which works fine on windows operating system with 100% and 125% scaling options on all devices whether it's laptop or desktop . Example screenshot for the 125 scaling is given below The moment…

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.
7,579 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,401 questions
asked 2023-03-27T12:17:02.6366667+00:00
Sunny Sharma 1 Reputation point
commented 2023-03-28T11:11:30.0633333+00:00
David Lowndes 4,541 Reputation points MVP
0 answers

How can word file displayed in a div container be printed in a pdf format?

I am trying to have a single page that will can be used to display either a word (.doc/.docx) or a PDF file. Instead of having two pages, each for word and pdf files. It’s a success but printing either of these formats in PDF is where I have…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
464 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.
7,579 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,325 questions
asked 2023-03-28T10:44:36.1866667+00:00
Donald Symmons 1,266 Reputation points
edited the question 2023-03-28T11:06:02.42+00:00
Donald Symmons 1,266 Reputation points
5 answers One of the answers was accepted by the question author.

ApiAuthorisation with foreign key

Hi, I have an application where it's necessary to have an ApiAuthorisation means to have several individual account. Also I need to use a foreign key. I defined modelBuilder has below : protected override void OnModelCreating(ModelBuilder…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
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.
7,579 questions
asked 2023-03-25T19:03:34.56+00:00
sblb 876 Reputation points
edited a comment 2023-03-28T11:04:04.2666667+00:00
AgaveJoe 20,151 Reputation points
3 answers One of the answers was accepted by the question author.

How to run windows task schedular using Service Account

I am developing many tools using .NET EXE and SSIS packages. My question is, I want to run all the scheduler (EXE and SSIS Packages) using service account. I have two accounts. One is "Admin" Account. Two is "Service" Account. Admin…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
887 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
1,957 questions
asked 2023-03-21T12:55:44.82+00:00
Gani_tpt 1,261 Reputation points
accepted 2023-03-28T10:42:18.5666667+00:00
Gani_tpt 1,261 Reputation points
0 answers

How to read the large data from serial port in visual c++/cli

i am trying to read the large file from serial port expected output 112 212 311 411 but i get new line between some data like output 112 212 /n 311 /n 411 I got some extra new line .how to solve it private: System::Void…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,838 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.
2,756 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
5,951 questions
asked 2023-03-28T07:27:53.0066667+00:00
denesh neupane 121 Reputation points
commented 2023-03-28T10:32:39.2466667+00:00
Viorel 88,656 Reputation points