4,115 questions with Developer technologies | .NET | Other tags
Request for Recommendation: Winsock-Compatible TCP Client with Message Queue Support.
Hi Team, We need to change the type of socket connection in our .NET Framework 4.7 application. Currently, we are using Winsock, but we are facing multiple connectivity issues. I am planning to switch to a different socket implementation. I have tried…
Developer technologies | .NET | Other
WebAuthn redirection in MstscLib
hi All! in WPF/.net4.8.1 application we are using MstscLib.dll + WindowsFormsHost to work with rdp connection inside our window. for now we are wounder if WebAuthn will work correctly and if so what settings should be adjusted. Thanks in advance!
Developer technologies | .NET | Other
Please fix the following issues to continue: We encountered an unexpected error. Please try again later. If this issue continues, please contact site support.
i am getting this error when working with this forum post : https://learn.microsoft.com/en-us/answers/questions/1471083/the-type-or-namespace-name-linq-does-not-exist-in thanks for any help
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
Developer technologies | C#
How can I connect to my SQL server from my VM using a .NET application.
I have a .NET application on my azure virtual machine that will not connect to my azure SQL database. I can otherwise connect to the db on my vm using SSMS. My .NET application will connect from my local laptop. I am using ENTRA ID authentication.
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
SQL Server | Other
.NET 9 Aspire project: SQL Server login failed and database becomes unhealthy on restart
Hi, I have a project running on .NET 9 using .NET Aspire. When I start the project for the first time, everything works fine. But if I stop and start it again, I see the following error in the Aspire logs related to the database: Login failed for user…
Developer technologies | .NET | Other
Unable to create a DbContext' Error when Using EF Core in .NET 8 ClassLibrary Project
Hello everyone, I've developed a ClassLibrary project using .NET 8 and C#, and I've utilized EF Core 8 in it. I've defined my own models and context within it. However, when I attempt to use the add-migration command, I encounter this error: "Unable…
Developer technologies | .NET | Entity Framework Core
Developer technologies | .NET | Other
Visual studio installer project code signing issue
I've been trying to get my .NET core program signed (the executable and dlls) with Visual Studio. In the build directory everything works fine: the properties of the files show my digital signature. However when I use the Visual Studio Installer…
Developer technologies | .NET | Other
Validate file content type for txt, log, JSON file in C#
public static bool IsFileValid(IFormFile file) { using (var reader = new BinaryReader(file.OpenReadStream())) { var signatures = _fileSignatures.Values.SelectMany(x => x).ToList(); // flatten all signatures to single list var headerBytes =…
Developer technologies | ASP.NET | ASP.NET Core
Microsoft 365 and Office | Development | Office JavaScript API

Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
Developer technologies | C#
How to use ASP.NET Code Behind to launch FileUpload
Is it possible to include an asp:Button with OnClick=DoFileUpload_Click, and the method runs whatever to launch the FileUpload class?
Developer technologies | .NET | Other
Developer technologies | ASP.NET | Other
How to Use Cube.js API with .NET Core Application? Facing "Query Param is Required" Error
Hello, I am trying to integrate the Cube.js API into my .NET Core application. My goal is to fetch data from Cube.js using a custom query. However, I keep encountering an error and can't seem to get the integration working. Here’s the method I…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
System.ArrayTypeMismatchException when using System.Text.Json with .NET Framework 4.7 in MSTest
Hi, I'm currently using .NET Framework 4.7 along with MSTest (all packages are up to date). I'm trying to deserialize a JSON string using System.Text.Json as shown below: using System.Text.Json; private static JsonSerializerOptions GetOptions() { …
Developer technologies | .NET | Other
Bot channel commununication not working properly
TeamChannelData Class didn't give back the provided information from the Microsoft Learn website: https://learn.microsoft.com/de-de/dotnet/api/microsoft.bot.schema.teams.teamschanneldata?view=botbuilder-dotnet-stable See attached screenshot of the not…
Developer technologies | .NET | Other
How can C# be utilized to seamlessly integrate artificial intelligence algorithms into a web-based platform, optimizing user experience and enhancing system performance?
In the realm of software development, particularly in web-based applications, there's a growing demand for intelligent systems that adapt to user behavior and optimize performance. Considering the versatility of C# in various domains, how can developers…
Developer technologies | ASP.NET | ASP.NET API
Developer technologies | .NET | Other
Developer technologies | C#
Azure Data Factory SFTP Linked Service: Failed to read binary packet data! (ProtocolError)
Hi everyone, I'm facing a problem with a SFTP server, where some restrictions are applied to avoid the usage of RSA Keys with SHA1 signature. I can connect without any problem to the SFTP server using WinSCP. There are no network restrictions so I can…
Azure Data Factory
Developer technologies | .NET | Other

Azure B2C: User not logged out after logoutURI
Hi, I've configured a B2C tenant and built a .NET MVC app to use it as a login. Now, I'm trying add an option for the user to sign out, so a different account can be selected. Signing out of the app is easy, I just do await…
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Developer technologies | .NET | Other
Issue with Pip after migrating from .Net 6 to .Net 7 docker image
I am migrating an application from .NET 6 to .NET 8. I want to update my docker file with latest SDK version. After migrating it to SDK 8.0, I am getting error with pip command This was in .NET 6 Dockerfile FROM mcr.microsoft.com/dotnet/sdk:6.0 RUN…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
Could not load type 'Microsoft.EntityFrameworkCore.Metadata.Internal.AdHocMapper'
I'm using .NET 8.0, Entity FrameworkCore 9.0.2, MySql.EntityFrameworkCore 9.0.0 and when I try to get data from the database I get the following error. How to resolve this problem? System.TypeLoadException: Could not load type…
Developer technologies | .NET | Entity Framework Core
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
Microsoft Store app requiring admin consent - any automation?
We have a dotnet app deployed via Microsoft Store which uses a multitenant app registration. When a user logs on they have to ask their admin to consent to the user of the application. What I am wondering, is there any way to automate this better, if for…
Developer technologies | .NET | Other
HTTP Error 500.1001;How to solve it
Developer technologies | .NET | Other
Unable to run the bot in unattended (Failed in creating a session)
Whenever the bot is trying to run in unattended , I am getting this error below The error that we are getting is (Cannot create a new session to execute unattended run) After the failure occurs the machine is getting locked, I am using the right…