4,115 questions with Developer technologies | .NET | Other tags

Sort by: Updated
1 answer

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
asked 2025-08-11T09:04:22.82+00:00
Drusti Kumar 0 Reputation points
edited an answer 2025-08-11T17:28:50.46+00:00
Bruce (SqlWork.com) 79,101 Reputation points Volunteer Moderator
0 answers

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
asked 2025-08-11T15:17:48.9633333+00:00
Anton Kovtunenko 0 Reputation points
0 answers

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#
asked 2023-12-30T15:47:35.7+00:00
iqworks Information Quality Works 331 Reputation points
commented 2025-08-11T14:23:56.17+00:00
Kai 0 Reputation points
1 answer

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
asked 2025-02-07T23:50:29.9033333+00:00
Nicholas Pallotta 0 Reputation points
commented 2025-08-11T11:03:18.3833333+00:00
Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
0 answers

.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
asked 2025-08-09T09:36:32.71+00:00
mrcode 26 Reputation points
4 answers One of the answers was accepted by the question author.

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
asked 2024-06-01T01:35:11.9766667+00:00
Kamyab Faghih 70 Reputation points
edited a comment 2025-08-08T09:59:59.5966667+00:00
Claudious Neol Manuel 0 Reputation points
4 answers

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
asked 2022-08-03T11:30:14.767+00:00
jesdev7 6 Reputation points
answered 2025-08-08T00:50:47.4633333+00:00
d gibbs 0 Reputation points
3 answers

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#
asked 2025-01-08T17:16:17.0733333+00:00
Surajit Kumar Shah 0 Reputation points
commented 2025-08-07T02:48:24.16+00:00
Danny Nguyen (WICLOUD CORPORATION) 725 Reputation points Microsoft External Staff
4 answers

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
asked 2025-01-22T01:45:28.4866667+00:00
Coreysan 1,811 Reputation points
commented 2025-08-06T10:58:52.5333333+00:00
Jack Dang (WICLOUD CORPORATION) 1,020 Reputation points Microsoft External Staff
2 answers

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
asked 2025-01-12T00:32:58.51+00:00
NALB 71 Reputation points
commented 2025-08-05T10:43:46.9266667+00:00
Jack Dang (WICLOUD CORPORATION) 1,020 Reputation points Microsoft External Staff
1 answer

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
asked 2025-07-22T12:06:58.8233333+00:00
undrgng 0 Reputation points
commented 2025-08-05T10:21:20.38+00:00
Adiba Khan 245 Reputation points Microsoft External Staff
0 answers

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
asked 2025-08-04T10:05:01.89+00:00
Christoph Schrade 0 Reputation points
2 answers

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#
asked 2024-06-04T11:23:59.78+00:00
tejaswini 0 Reputation points
commented 2025-07-21T09:56:48.4766667+00:00
Jack Dang (WICLOUD CORPORATION) 1,020 Reputation points Microsoft External Staff
1 answer

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
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,760 questions
Developer technologies | .NET | Other
asked 2024-06-17T09:23:48.5933333+00:00
Paul Hernandez 686 Reputation points Microsoft Employee
commented 2025-07-21T04:24:54.66+00:00
Myo Min Htun 0 Reputation points
1 answer

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
asked 2024-11-29T09:53:38.1933333+00:00
Hannes Dendoncker 20 Reputation points
edited a comment 2025-08-04T03:23:54.04+00:00
Pradeep M 9,785 Reputation points Microsoft External Staff Moderator
1 answer

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
asked 2024-12-18T02:02:42.07+00:00
Aneesha 10 Reputation points
commented 2025-07-29T11:12:38.2033333+00:00
Raymond Huynh (WICLOUD CORPORATION) 620 Reputation points Microsoft External Staff
2 answers

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
asked 2025-02-18T09:23:05.2533333+00:00
Misha Kurytsia 0 Reputation points
commented 2025-08-04T03:44:39.0133333+00:00
Jack Dang (WICLOUD CORPORATION) 1,020 Reputation points Microsoft External Staff
1 answer

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
asked 2025-07-24T12:09:59.37+00:00
Anne Admin 6 Reputation points
commented 2025-07-29T15:31:23.41+00:00
Bruce (SqlWork.com) 79,101 Reputation points Volunteer Moderator
1 answer

HTTP Error 500.1001;How to solve it

Developer technologies | .NET | Other
asked 2025-07-30T12:10:15.6666667+00:00
家豪 郑 0 Reputation points
answered 2025-07-30T19:46:36.0733333+00:00
Bruce (SqlWork.com) 79,101 Reputation points Volunteer Moderator
0 answers

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…

Developer technologies | .NET | Other
asked 2025-07-31T08:39:41.7733333+00:00
Dhruvika Rathore 0 Reputation points