Microsoft Q&A

.NET

15,288 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,288 questions with .NET-related tags

Sort by: Updated
1 answer

Need help to understanding the code

Hi, This is part of a tutorial for OpenAI development: https://www.c-sharpcorner.com/article/building-ai-chatbot-app-with-chatgpt-api-and-blazor-a-step-by-step-guide/ Can you please help me to understand this part of the code: Content = new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,153 questions
asked 2023-06-04T09:28:54.0266667+00:00
Saeed Pooladzadeh 161 Reputation points
commented 2023-06-04T18:11:00.6733333+00:00
Saeed Pooladzadeh 161 Reputation points
1 answer

How to bind asp-items to the model in a select element appended by js dynamically?

$("#List").append("<tr>" + "<td> <select name='dm' asp-items='"+Model.dmdata+"'>" + "</select></td>" …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,153 questions
asked 2023-06-04T01:20:40.3366667+00:00
Alick Wang 141 Reputation points
answered 2023-06-04T17:54:57.11+00:00
Bruce (SqlWork.com) 36,181 Reputation points
2 answers

Steadily painted over (slow application)

I am using the following code, but my application becomes quite slow. What I can do? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 questions
asked 2023-05-16T06:30:35.65+00:00
FMMM 0 Reputation points
answered 2023-06-04T17:52:07.8133333+00:00
FMMM 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to check the response time of a remote machine?

Hello! How to check the response time of a remote machine?

F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
16 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
46 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,199 questions
asked 2023-06-02T20:07:43.6266667+00:00
12586429 596 Reputation points
commented 2023-06-04T17:37:51.3966667+00:00
12586429 596 Reputation points
2 answers

Understanding the right DateTime Parameter to use when inserting Data into LIVE database

I have two issues that have been giving me headache in solving. The first is: Upon successful login by a user, an update is done in the Logindate column of the database table. But before the update is done, the value of the Logindate column is fetched…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,481 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.
552 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,199 questions
asked 2023-05-04T10:39:27.4366667+00:00
Donald Symmons 1,946 Reputation points
commented 2023-06-04T17:24:09.1066667+00:00
Bruce (SqlWork.com) 36,181 Reputation points
1 answer

Javascript debugger for ASP.net web forms project noy working

Hello I am working in Visual studio 2019 web forms VB.net ASP.net and I am using javascript. I have put the breakpoints but the execution is erratic. The breakpoints at the start of the javascript procedure are not working. the alert messages are…

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.
552 questions
asked 2023-06-04T10:44:51.97+00:00
Manoj Gokhale 40 Reputation points
answered 2023-06-04T17:06:28.96+00:00
Bruce (SqlWork.com) 36,181 Reputation points
1 answer

Secured controller action shows 401 error instead of redirecting to login page in .NET 7

I am developing a .NET 7 Web application that has secured areas. This is a monolith application, so that it is separated in different assemblies. I have one host assembly (the entry assembly), called EntryPortal.Core. On the other hand, I have other…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,153 questions
asked 2023-06-02T23:25:25.28+00:00
Jaime Stuardo 66 Reputation points
answered 2023-06-04T17:01:33.33+00:00
Bruce (SqlWork.com) 36,181 Reputation points
3 answers

ASP.NET Web Deployment using Visual Studio: Deploying to Test

I want to test publishing my ASP.Net web app from my development environment (it uses the default IIS Express that comes with VS 2017) to a QA environment that has IIS (like a Hoster will have). My goal is 2-fold - to test deploying my web app to IIS as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,481 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
852 questions
asked 2021-10-04T22:13:09.167+00:00
First Last 1 Reputation point
commented 2023-06-04T15:45:58.39+00:00
Nathan Isaiah 0 Reputation points
0 answers

WebJob - <project_name> is not recognized as an internal or external command

I uploaded a WebJob project with a name that contains whitespaces (for example "WebJobs.My project") to my Azure Web application, and at the time of running it I got the following error logs: [06/04/2023 14:51:35 > 92ca53: SYS INFO] Status…

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,938 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 questions
asked 2023-06-04T15:10:06.1433333+00:00
Jordi Dalmau 20 Reputation points
edited the question 2023-06-04T15:23:37.4833333+00:00
Jordi Dalmau 20 Reputation points
1 answer

How to pass List items from a window to another window in WPF?

Hello ! I want to pass a list as parameter from window1 to window 2 and I have this error(I do not use MVVM pattern) : Error CS0236 A field initializer cannot reference the non-static field, method, or property This is the code from window 1 who report…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
285 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 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,199 questions
asked 2023-06-04T12:47:15.6033333+00:00
B M-A 281 Reputation points
answered 2023-06-04T12:56:59.6233333+00:00
Rana Ammar 0 Reputation points
2 answers One of the answers was accepted by the question author.

VS2022 can not see my real android device

I have a Galaxy S10e on Android 11 that has Dev mode turned on and is connected via USB to the pc. Visual Studio 2022 does not see this device. It is not in the list of devices to choose to run on. So, I can't test against a real device. I have deleted…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,006 questions
asked 2021-11-23T19:36:54.48+00:00
WillAutioItrax 191 Reputation points
answered 2023-06-04T11:24:04.94+00:00
Clint Mayers 0 Reputation points
3 answers

Quickmoney Customer Care Free Helpline Number 8777638488=9040723742 call now

TU OI YI OI YI TU IT TU UT IT TU YY

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,074 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
4,020 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
6,511 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,153 questions
asked 2023-06-04T11:11:02.5766667+00:00
Wyegv Wugpm 0 Reputation points
answered 2023-06-04T11:11:27.8966667+00:00
Wyegv Wugpm 0 Reputation points
0 answers

Xamarin Forms Android Detect Touches in Scroll View

Hi - I'm trying to configure a scroll view in Xamarin forms (Android Only). I need to detect when a user first touches the scroll view (Touches Begin) and also when they lift there finger (Touches Ended). As well as the scroll movement (I can use the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,006 questions
asked 2023-06-04T10:33:51.8933333+00:00
Red255 71 Reputation points
1 answer

How to check the record exist with same value in all the column before insert

Hi, I am inserting data into a database as follows; public async Task AddStockAsync(List<GameBank> gameBank) { await _oyunPalasContext.GameBanks.AddRangeAsync(gameBank); await _oyunPalasContext.SaveChangesAsync(); } I wonder if I can check…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,153 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.
978 questions
asked 2023-06-03T11:32:44.3633333+00:00
Cenk 866 Reputation points
answered 2023-06-04T09:50:17.0566667+00:00
Karen Payne MVP 31,001 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…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,006 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,423 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.
645 questions
asked 2023-06-04T06:50:00.33+00:00
Ahmed Thabet 0 Reputation points
0 answers

How to Fix this error APT2000 expected reference but got (raw string) #000000.

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 APT2000 expected reference but got (raw string)…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,006 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.
645 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,423 questions
asked 2023-06-04T06:37:21.5333333+00:00
Ahmed Thabet 0 Reputation points
edited the question 2023-06-04T06:45:34.8766667+00:00
Ahmed Thabet 0 Reputation points
1 answer

vb.net I have folder in program path called patient files i need to open specific file using textbox1 with name of file

vb.net I have folder in program path called patient files i need to open specific pdf file using textbox1 with name of file

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,473 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 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,802 questions
asked 2023-06-03T22:17:41.8+00:00
Ahmed Ramadan 0 Reputation points
answered 2023-06-04T02:38:48.4133333+00:00
Viorel 94,761 Reputation points
0 answers

Quartz -Scheduler - how I edit configuration in MAUI while scheduler is running?

Hi, I have GUI client app in maui that insert configuration as seen in screencast in my DB. The service (worker service) read this configuration from DB and run the jobs using scheduler. Here part of screens in client: I want to add/edit/remove…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,423 questions
asked 2023-06-03T08:38:18.0466667+00:00
דני שטרית 841 Reputation points
commented 2023-06-04T01:19:58.8833333+00:00
Rob Caplan - MSFT 4,862 Reputation points Microsoft Employee
0 answers

How to fix embedded code blocks showing as plaintext

I am having trouble creating an ASP.NET Web Form because when I visit my website in Chrome, the entire website's code just shows up as plaintext, and in IE it is not much better. I think this is caused by the embedded code block (<% %>) at the top…

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.
552 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,160 questions
asked 2023-06-03T16:39:00.02+00:00
spuser15 0 Reputation points
commented 2023-06-04T00:16:40.5133333+00:00
Albert Kallal 3,801 Reputation points
2 answers One of the answers was accepted by the question author.

For Reference type, Is there any symbol can represent that I don't want to change it?

See the code, For Reference type, is there any symbol can represent I just want to pass the instance as a value? dont want to chang it internal class Program { static void Main(string[] args) { RefType refType = new(); …

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
505 questions
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,369 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,160 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,199 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,164 questions
asked 2023-05-31T12:50:05.8866667+00:00
兰树豪 321 Reputation points
accepted 2023-06-03T22:49:54.96+00:00
兰树豪 321 Reputation points