How to install ASP.NET Core 7.* Runtime on Windows 11 Arm64?
Hey, I'm wondering how to install the latest ASP.NET Core Runtime on Windows Arm PC? The .Net 7.0 page has lots of SDK's and runtimes: https://dotnet.microsoft.com/en-us/download/dotnet/7.0 Finding .NET Desktop Runtime Arm64 and .NET Runtime Arm64…
ApplicationDeployment.IsNetworkDeployed sometimes returning false
We have published a WPF(C#) app using clickOnce. It has a function updating itself when a user skips start-up dialogue. Usually it works without problem, but sometimes ApplicationDeployment.IsNetworkDeployed returned false so that the update-function has…
Is Visual Studio on Windows required to develop with Cosmos DB?
Am I correct that on must have a Windows machine to develop with Cosmos DB? https://microsoftlearning.github.io/dp-420-cosmos-db-dev/instructions/00-setup-environment.html shows only Windows install (not macOS)
Inquiry Regarding the Development of .NET MAUI
Dear Microsoft Team, I am currently pursuing a degree in Computer Science at Hochschule Emden/Leer. I am in the process of writing my bachelor's thesis on cross-platform frameworks. During my research, I came across .NET MAUI, which plays a central role…
How to fix .NET Framework NGEN occupy too much CPU resource?
In the Job Scheduler.The NET Framework NGEN operation was rejected by the operator or administrator. The phrase is confirmed. In addition, when the above scheduler rotates, ngen.exe overruns the CPU. 11/24/2023 13:04:15.219 [16192]: Task scheduler…
Access To User in AspNetUserRoles table
Hi, in this code i want get user (ApplicationUser.cs) in AspNetUserRole tb , but just two field exists UserId,RoleId i add new Class ApplicationUserRole.cs , and add one property for Application user public class…
How to fix the random crashing error with 1000, 1023 and 1309 event ID in our web application? Debug log captured but no idea on how to fix
We have deployed a web application but experience random crash several times daily. Event ID 1000, 1023 and 1039 was found but there was not enough information to debug. It is running on Windows 2019 Standard Server with IIS 10, .NET Framework as 4.6.1.…
The request was aborted: Could not create SSL/TLS secure channel
.Net Class Library is based on 4.5 and using HtmlAgilityPack, I was calling an https URL and it was working fine. After the website is updated and will not support old browsers which are not TLS v1.2 compliant. Getting the error - The request was…
Why can't run my app after visual studio update?
I have updated Visual Studio 2019 from 16.6.1 version to 16.11.23 version. The update operation was finished successfully. When I want to run my MVC project in Debug mode, nothing happens. No error is displayed, the app is not running. What do I have to…
System.Net.Sockets.SocketException (0xFFFDFFFE): Unknown socket error
Hi, We started receiving this SocketExceptions after we updated the .Net version from 3.1 to 6, and restart was required to fix it. This is an intermittent error. Previously in the .Net Core 3.1 this error did not occur. Configuration .NET 6 …
I have enabled >NET 8 (LTS) (Early Access) but my .net 8 app will not start
As you can see from the screenshot below the app service has been configured to support .NET 8.0 but the app fails to start because the runtime is somehow missing. I have tried to explicitly install .net 8 runtime via the site extensions but that did not…
how to post Stream as parameter to dllImport function?
If the c++ function need Stream? how to post it ?
IIS AspNetCore Module V2: Failed to start application '/LM/W3SVC/1/ROOT', ErrorCode '0x8000ffff'
I have a .NET Core 3.1 Web API project that I am hosting using IIS. Project Details (see target framework): <Project Sdk="Microsoft.NET.Sdk.Web"> <PropertyGroup> …
how to lock memoryStream?
I create multi threads to operate the MemoryStream how to lock it to prevent other thread to write it?
how to read byte and write byte at the same time?
how to read byte and write byte of a stream at the same time? when I read some bytes it will give exception because I will write bytes to the stream and the Position of the stream will be the end of the stream I can not read any data.
How to get `dotnet` to tell me the actual dependencies contained in a self-contained package?
Hello everyone. I am trying to understand the .deps.json file that dotnet publish creates. Where can I find more information about this? If I make a random .net project that just contains the dependency DeepCloner and publishes to osx and target…
ow to revert to .NET 4.8 after installing .NET 4.8.1 Runtime
I was prompted by my PC to update .NET 4.8 to .NET 4.8.1 I selected the Runtime option. Now none of my apps will open. A pop-up message says the app needs .NET 4.8 HELP! How to I revert back to .NET 4.8 or fix the apps so they will run with .NET…
Is there a event that added data to the Stream?
Is there event that when the stream data added it will triggered? while(true) { offset+=m.Read(buffer,offset,1024); } can it be true that not use while when there is enough data it will read the stream and when I read the data the stream to be empty?
receiveAsync is 0 but receive return the actual data size?
var socket=await _socket.AcceptAsync(); Memory<byte> buffer=new (); byte[]data=new byte[300]; while(true){ int recv=await socket.ReceiveAsync(buffer); int r=socket.Receive(data); // r is >0 but recv is always 0 await Task.Delay(1000); } why?
can not load C++/CLR in a native C++ dll
Hello, I'm facing a challenge in configuring my project and I need help. My goal is to use C# code in an unmanaged native C++ project by utilizing C++/CLR. However, I'm currently encountering the following error. *Error: Unhandled Exception:…