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…
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…
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…
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
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. …
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
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
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!
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…
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"…
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…
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 =…
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…
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…
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)
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…
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(); …
![](https://techprofile.blob.core.windows.net/images/ZXe74VOTGUC0onT7eaZQmg.png?8D9259)
About MVC support please
<div class="row" id="education-seminar-forms-BilgisayarBilgi"> @for (int i = 0; i < Model.tBL_BilgisayarBilgisis.Count; i++) …
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…
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 =…
![](https://techprofile.blob.core.windows.net/images/ZspLg_2p9USDkB89-fCNuA.png?8DCA9B)
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…
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…