Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
4,179 questions with Developer technologies | .NET | Other tags
Securing .Net 10 WebApi to be called by Windows Application
Hello everyone and thanks for the help in advance. I am developing a .Net 10 WebApi that will be called by a Windows application. When searching for solutions I am confused if the calling application changes how the api is secured. Any help would be…
Developer technologies | .NET | Other
.NET SDK10 Roslyn Analyzer Diagnostics `IDE0130` likely buggy
Description IDE0130 makes sure declared C# namespace matches the corresponding folder structure. Issue IDE0130 seems to work as expected in most cases. However, when a partial implementation with a corresponding generated source is analyzed, the analyzer…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Playwright for .NET Recorder/Inspector is giving me several problems.
I am certain that I ran playwright.ps1 from .\bin\Debug\net10.0\playwright.ps1, but every time I tried to run the codegen command, it always complained: .\bin\Debug\net10.0\codegen: The term '.\bin\Debug\net10.0\codegen' is not recognized as a name of a…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
How can I generate accurate code coverage reports using Coverlet in .NET projects?
I'm looking for the best way to generate accurate code coverage reports in a .NET application using Coverlet. I want to integrate code coverage into my testing workflow and CI/CD pipeline while ensuring reliable reporting across multiple projects. I've…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Error using ClientWebSocket: The 'Connection' header value 'Upgrade,Keep-Alive' is invalid. .NET Framework 4.7.2
Hi, Im using .NET Framework 4.7.2 trying to connect to a WebSocket as a client, however I keep getting the same error over and over: System.Net.WebSockets.WebSocketException (0x80004005): The 'Connection' header value 'Upgrade,Keep-Alive' is invalid. …
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Having problems making Playwright for NET click a button
I am very new to Playwright. I'm using Playwright for NET, because I know .NET much better than I do JavaScript. I'm writing a Playwright for NET class to test a simple web application we've finished recently. A lot of the problems I'm having is I'm not…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
What approach should I adopt when beginning to use Playwright for NET?
Over the years I've written several unit tests, first using MSTest, and the last 5 years using xUnit. I'm used to the AAA pattern (Arrange/Act/Assert). Now I am trying to learn how to use Playwright. I know that initially it was probably written to work…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
VB.Net application query
Hi, One of the Application user lost his Admin access on one VB.Net application. No admin settings defined in db tables. Nothing set up in web. config. Can't find the reason. We have no Visual studio/Asp.net installed on the server. Can only open in …
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
"Add your story" form on dotnet.microsoft.com shows an access denied.
The "Add your story" form on https://dotnet.microsoft.com/en-us/platform/customers shows an access denied error. Could you please fix this?
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Migrating C# Visual Studio 2022 (17.8) from .NET 4.7 to .NET 8
How do I migrate my C3 project from .NET 4.7 to .NET 8? Google says to use .NET Upgrade Assistant, but I did not find this component in Extensions Manager.
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Error NETSDK1178: The project depends on the following workload packs that do not exist in any of the workloads available in this installation
I get the following error in my iOS project in Visual Studio Code: /usr/local/share/dotnet/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1178: The project depends on the following workload packs…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
I need to implement raw xml logging before the our wcf service process the incoming request from the clinet how to implement it give the approach
I need to log my incoming SOAP request as raw xxml in my app before it even comes into my WCF pipeline. How to implement it? Provide me with the idea and implementations, and it will help. Thanks in advance #WCF
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
iText 9 Errors
Hello everyone and thanks for the help in advance. I am working on a .Net 10 MVC project that utilize iText 9 to generate Pdf files. The code looks like this: string webRootPath = _webHostEnvironment.WebRootPath; string src =…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Visual Studio 2022 won't connect to NuGet
Visual Studio 2022 gives an error when trying to browse NuGet. I get these errors on 2 different Windows Servers (2016) I’ve tried. One running Visual Studio 2017, the other running Visual Studio 2019 and 2022. Visual Studio 2017: “[nuget.org] Unable to…
Developer technologies | Visual Studio | Setup
The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Clickonce user settings not carrying over
Upgrading a vb .net windows forms project from .net 4.8 to .net 10. Everytime I publish an update my user settings are lost. From research it looks like I need to make a strong name key for the project, but the build properties are not showing in my…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Unable to cast object of type 'System.Collections.ArrayList' to type 'System.String[]' error in my WCF service
We have a WCF service that peforms exchange powershell commadlets and parses the responses into a required json format. Recently, we started seeing issues with User/Group commandlets where it is reporting the below issue. Unable to cast object of type…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Exception from HRESULT: 0xD0000003 at FileIntegrity.MarkAsTrusted in .NET CodeDom Compiler on Windows 11 Enterprise 23H2
Hi Team, I happen to be an employee of Analog Devices and recently got my laptop repalced with a new Win11 Enterprise system. Upon reinstalling all the work-related tools and packages on this system, our desktop application that uses the .NET Framework…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
.NET v6 deprecation and Windows Server 2022 images
I created a new Windows Server 2022 VM to replace my old Windows Server VM. However, when I ran dotnet --info on the new VM, it said that it had .NET 6: C:\Users\DCAdmin>dotnet --info global.json file: Not found Host: Version: 6.0.42 …
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Upgrading any .NET
I am currently working with .NET vulnerabilities especially the SEoL versions. Unfortunately, the version like less 8/9/10 doesn't update if I tried to install the latest version. How do I update these old versions to latest?
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.
Best Way to Implement Letter-Boxed Style Validation Logic in an App?
Hi everyone, I’m working on a small project inspired by the letter boxed word puzzle concept, where users must create words using letters from different sides while following specific rules (no consecutive letters from the same side, chaining last letter…
Developer technologies | .NET | Other
Microsoft Technologies based on the .NET software framework. Miscellaneous topics that do not fit into specific categories.