24,962 questions with .NET-related tags

Sort by: Updated
1 answer

How to add continuous speech/talk - .NET MAUI Speech

I have the below .Net MAUI code that works great. I want to add continuous speech, I mean when I speak, the recorder must not stop until I press stop button. In the below code, when I stop speaking, or I pause for like 2-3 sec, it stops itself, so I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-19T12:58:44.29+00:00
Johnson 61 Reputation points
answered 2024-07-22T02:41:18.97+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 38,911 Reputation points Microsoft Vendor
1 answer

Receiving "The SSL connection could not be established, see inner exception." on all Azure PowerShell cmdlets.

I am receiving the following error, regardless of the Azure PowerShell cmdlet that I am using. Again, it is for all azure cmdlets that I am receiving this SSL error message. My TLS is set to 1.2. About 1 out of every 3 Azure PowerShell cmdlets return…

PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,310 questions
ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
19 questions
asked 2024-07-19T22:00:47.9533333+00:00
Jason Yoder 0 Reputation points
edited the question 2024-07-22T02:12:41.7766667+00:00
AmaranS 3,860 Reputation points Microsoft Vendor
1 answer

How to Host the Firestore Identity File Securely?

I am working on a WPF project with C#, and I am using Firebase Firestore for which I need to host the identity JSON file on disk. However, I want to ensure that users cannot access this file or the Firestore services using the information inside it. What…

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,710 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,629 questions
asked 2024-07-19T09:13:39.21+00:00
fatih uyanık 80 Reputation points
answered 2024-07-22T02:06:29.9433333+00:00
Hongrui Yu-MSFT 1,020 Reputation points Microsoft Vendor
0 answers

Unable to run the apk generated in release mode

Hi I have .Net MAUI app, version .net8. The release build is built without errors but when I run it is not opening the app and it is crashing. Please let us know if there are any additional settings required here. Thanks

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-19T14:04:09.2+00:00
dedeepya yarlagadda 20 Reputation points
commented 2024-07-22T02:06:04.85+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,936 Reputation points Microsoft Vendor
1 answer

How to use reflection in ASP.NET MVC with razor/cshtml?

Why are the property names displayed 'correctly' in the input tag but not in the label tag? And why are they pre-typed in the input-fields in HTML? f.e.: every label = name and every input field is the property name, where it should be empty. …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,385 questions
asked 2024-07-21T18:10:17.09+00:00
Dean Marinov 0 Reputation points
answered 2024-07-22T02:02:58.0866667+00:00
SurferOnWww 2,486 Reputation points
0 answers

Error with post method

Hello, In the explanation about the post method, the JSON and the record do not match. Why? This question is related to the following Learning Module

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
19 questions
asked 2024-07-21T15:31:50.69+00:00
Andi 0 Reputation points
commented 2024-07-22T01:56:54.2733333+00:00
AmaranS 3,860 Reputation points Microsoft Vendor
0 answers

Microsoft Cognitive Services Voise to Text How to Recognise base64string

I'm using Microsoft Cognitive Services Voise to Text in my Asp.Net application. How can I pass base64string from my c# controller to SpeechRecognizer? Thank you!

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,385 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,630 questions
asked 2024-07-19T15:16:15.11+00:00
Sviatlana 20 Reputation points
commented 2024-07-22T01:46:10.31+00:00
Tiny Wang-MSFT 2,321 Reputation points Microsoft Vendor
0 answers

Mac - keep data in memory and get data

Hi, I run mac app in vs code net 8. after publishing it using this command: dotnet publish -f net8.0-maccatalyst -c Release The app stop working me, the logic not working. I keep data in singelton class and I reach from other pages to this class. It work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-14T13:15:46.56+00:00
Dani_S 3,316 Reputation points
commented 2024-07-22T01:27:53.4933333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
0 answers

MSWord closes unexpectedly when clicking "Print" button in "Envelopes and Labels" dialog

I'm embedding MSWord in my WinForms app using Microsoft Library, and I'm following this guideline to set the window style to ws_child to support the child window. However, when I click the "Print" button in the "Envelopes and Labels"…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,870 questions
Windows
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.
5,074 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,513 questions
asked 2024-07-19T12:06:41.3133333+00:00
Prasanth Vimalanathan 0 Reputation points
edited the question 2024-07-22T01:26:16.05+00:00
Roy Li - MSFT 32,731 Reputation points Microsoft Vendor
1 answer

How to install .pkg file in customer and run the app?

Hi, In the end of the thread (https://learn.microsoft.com/en-us/answers/questions/1731082/how-to-find-where-pkg-file-store-the-installed-app?comment=answer-1570815&page=1#comment-1638338) you said: "If you send a link to the customer, the pkg…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,206 questions
asked 2024-07-11T10:19:07.9733333+00:00
Dani_S 3,316 Reputation points
commented 2024-07-22T01:24:04.7133333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 29,206 Reputation points Microsoft Vendor
1 answer

MVC excel to pdf

public ActionResult Excel2(int? id) { List<TBL_Table1> FileData = db.TBL_Table1.Where(x => x.Tableid == id).ToList(); string DosyaAdi = ""; try { ExcelPackage.LicenseContext =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
asked 2024-07-18T06:35:35.71+00:00
kadir 60 Reputation points
commented 2024-07-22T01:22:21.4633333+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
3 answers

How to invalidate ".AspNet.Cookies" cookie on logout?

I have a .net application deployed to Azure. A penetration test finding called "Session Not Invalidated After Logout" is found. When an API Get request is sent along with .AspNet.Cookies while user is logged in, a successful response is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
asked 2024-07-16T11:05:41.7266667+00:00
Abhishek, Burra 10 Reputation points
commented 2024-07-22T01:21:43.93+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
1 answer

validate item in entire gridview to check excess Quantity

Hello This is my aspx page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="yyy.aspx.cs" Inherits="yyy" %> <html> <head runat="server"> <title>Untitled…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
asked 2024-07-10T08:38:03.7233333+00:00
RAVI 1,056 Reputation points
commented 2024-07-22T01:20:27.5766667+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
0 answers

ClickOnce won't run

I am trying to publish a Windows desktop application via ClickOnce (something I have done in VS2017 and 2019 many times). The publish step completes and the package is built without issue but when I try and run the setup.exe it fails and the log…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,625 questions
asked 2024-07-19T08:23:57.7066667+00:00
Gegg-8342 1 Reputation point
commented 2024-07-22T01:19:59.2366667+00:00
Minxin Yu 10,871 Reputation points Microsoft Vendor
1 answer

get user ip address not deployment system ip address

Hello I want to get and show in Label1 user system name and ip address not deployment machine ip address how to get that i tried this but its taking depoyment ip address i want user machine ip string hostName = Dns.GetHostName(); …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
asked 2024-07-10T07:54:33.8233333+00:00
RAVI 1,056 Reputation points
commented 2024-07-22T01:19:59.1466667+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
0 answers

About MVC support please

<div class="row" id="education-seminar-forms-BilgisayarBilgi"> @for (int i = 0; i < Model.tBL_BilgisayarBilgisis.Count; i++) …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
asked 2024-07-19T17:44:19.46+00:00
kadir 60 Reputation points
edited the question 2024-07-22T01:16:49.5833333+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
1 answer

In what cases an object passed to action method equals null?

i have an action method like so: public IActionResult CreateShirt([FromBody] Person person) { // my code } some courses checks if the incoming object is null. but using postman i couldn't make person null no matter what i do with the request : no body…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,385 questions
asked 2024-07-21T14:32:38.1+00:00
esam 6 Reputation points
edited the question 2024-07-22T01:13:08.25+00:00
Lan Huang-MSFT 28,836 Reputation points Microsoft Vendor
1 answer

how to pass C# DataTable to JQuery DataTable

I am trying to send data from a C# DataTable to a Jquery DataTable, but I am not sure how. Here's my code, but it is not working. public ActionResult StudentList() { TestViewModel tvm = new TestViewModel(); List<Student> students =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,411 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
942 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,629 questions
asked 2024-07-21T12:00:18.0066667+00:00
Saeed Ahmad 20 Reputation points
commented 2024-07-21T19:50:12.71+00:00
moneymystica 0 Reputation points
4 answers

Weird errors problem with dotnet watch with blazor/wasm.

I have a really annoying problem with dotnet watch and blazor/wasm. I have a solution in which I have multplie projects, for example an API, a blazor/wasm project and some common classlibraries. I start the API part with CTRL+F5, and I start the Blazor…

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,496 questions
asked 2022-02-28T10:45:49.527+00:00
Tendenz Noord 6 Reputation points
commented 2024-07-21T19:49:22.6066667+00:00
Alex FitPlans 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to build .net core 8 login and role base functionality, authentication and authorization using jwt token

Hi all i am new to .net core 8 and implementing login funcationality, authentication and authorization funcationality for that i have wrote below two methods. [HttpGet("GetLoginDetailsById")] public async…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,385 questions
asked 2024-07-16T20:32:03.8066667+00:00
coder rock 296 Reputation points
accepted 2024-07-21T18:47:02.8733333+00:00
coder rock 296 Reputation points