Invalid names for embedded resources in .NET assembly
Trying to include in a project somes .json files as embedded resources I found that some names are not managed by .NET runtime. It seems that names that ends with a language acroym and an extension are not compiled as embedded resources. e.g in a…
Oledb Connection issue 16.0
Erron :-Framework version : v4.0.30319 The process was terminated due to unhandled exception exception info =…
High memory consumption of .Net 6 app on Linux
I encountered a very serious problem when switching from Windows to Linux (Ubuntu). The problem is very high memory consumption. I first noticed an increase in memory consumption on Windows when moving from .Net Framework to .Net Core 5. But then this…
Issue with installing .Net Framework 4.8
OS Version = 10.0.17763, SP = 0.0, Platform 2 OS Description = Future OS - x64 Standard Edition MSI = 5.0.17763.4644 Windows servicing = 10.0.17763.5084 CommandLine = D:\3e7bee7b2b89a328efc15541fba8b1\Setup.exe /x86 /x64 /redist TimeZone = AUS…
Prevent web.config transformation
Hello, I am trying to prevent web.config transformation on one of the projects that I am working on it. According to the documentation, I should the argument /p:IsWebConfigTransformDisabled=true with dotnet publish command. After deploying the app with…
got warning NETSDK1206 when I update .Net7 to .Net 8.0.100 SDK.
When I upgrade my project from .Net 7 to .Net 8.0.100 I got some warnings saying ,"C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.targets(284,5): warning NETSDK1206: Found version-specific or…
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?