23,494 questions with .NET-related tags

Sort by: Updated
4 answers One of the answers was accepted by the question author.

.NET Desktop Runtime 6 - Download

Is there a direct link that never changes for .NET Desktop Runtime (x64) At the moment it is currently version 6.0.7 and you download it by going to this link https://dotnet.microsoft.com/en-us/download/dotnet/6.0 If you hover over the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,265 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,109 questions
asked 2022-07-27T09:47:33.923+00:00
Curtis Blunt 56 Reputation points
answered 2024-03-29T12:47:10.4633333+00:00
awir123456789 0 Reputation points
0 answers

How to save session id and validate it with another session id when user log in to the application from new browser

Hi Support, I want to save the UserId and SessionID. When the user logs into the application with the same URL in another browser then I need to validate that the SessionID is not the same when logging into the application in another browser. I tried…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,222 questions
asked 2024-03-29T08:17:36.3533333+00:00
Tushar Gupta 1 Reputation point
edited a comment 2024-03-29T11:46:54.0966667+00:00
Tushar Gupta 1 Reputation point
0 answers

Update a contact - Maui Android/Ios app

I have an app which is to run on Ios and Android. I use VS 2022 17.9.4 app for Android (which is my problem right now) targets And33 with min ver 23 The maui helper…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,274 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-29T11:23:42.39+00:00
john murray 11 Reputation points
commented 2024-03-29T11:28:46.8866667+00:00
john murray 11 Reputation points
0 answers

ASP.NET - xmlformatter

I have software that was developed for me. It is ASP.NET which I have no experience with thus the development. This was delivered a long while ago. I need to make changes and am struggling. This is a webservice with an api that you can call externally…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,222 questions
asked 2024-03-27T19:42:09.1466667+00:00
Darryl Hoar 121 Reputation points
commented 2024-03-29T11:24:36.3366667+00:00
Darryl Hoar 121 Reputation points
10 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,080 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,489 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 131 Reputation points
commented 2024-03-29T11:01:41.21+00:00
Precious Ofoyekpene 0 Reputation points
1 answer

Fixing issues with AOT compilation

Hello! I have a .NET MAUI 8 app that I target for Android, WinUI and iOS. I'm using EF Core (context is in separate project) and SQLite DB that gets created on app launch. The issue is with the iOS version and I'm suspecting the issues is with AOT…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-28T04:42:41.8566667+00:00
MKinOZ 1 Reputation point
answered 2024-03-29T09:54:14.7733333+00:00
MKinOZ 1 Reputation point
1 answer

[Question] What is the root cause of Event Code: 3005 HttpException Request format is unrecognized.

I would like to learn and understand more about the error (HTTP Error 503. The service is unavailable) that I am getting when attempting to access the URL. When I checked my IIS, the application was in a Stop state. Did it crash or something? See below…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,080 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,222 questions
asked 2024-03-29T05:34:17.5133333+00:00
homerm 60 Reputation points
commented 2024-03-29T09:50:55.7+00:00
Sam Wu-MSFT 6,876 Reputation points Microsoft Vendor
0 answers

Implementing Vertical Design for Android and iOS, Horizontal Layout for Windows in MAUI: Guidance Needed

Is it possible to implement a vertical design for Android and iOS, while ensuring a horizontal layout for Windows in a MAUI application? If so, could you guide me on how to achieve this?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,265 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-29T09:48:02.8933333+00:00
Sarfaraz Sable 20 Reputation points
1 answer

Nuget and The package manager on VS 2022 Community edition cannot find the Microsoft.EntityFrameworkCore

Typing Microsoft.EntityFrameworkCore into the Nuget package manager returns nothing and instead displays the NO package found message. The PM console prints the following error text when NuGet\Install-Package Microsoft.EntityFrameworkCore -Version 8.0.3…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
689 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,080 questions
asked 2024-03-25T19:29:09.87+00:00
Jason Starbuck 0 Reputation points
commented 2024-03-29T09:47:03.8066667+00:00
Jiale Xue - MSFT 24,911 Reputation points Microsoft Vendor
0 answers

IIS CORS Module configuration with Windows Credentials

Hi, Does anyone have a Windows .Net Core API being accessed via Windows Authentication? I have not been able to get this to work. I have an .Net Core API hosted on my Windows 2022 server in IIS with Windows Authentication enabled. We have a on-premise…

Internet Information Services
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,935 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
286 questions
asked 2024-03-22T19:23:40.2766667+00:00
Charlotte McClellan 0 Reputation points
commented 2024-03-29T09:41:01.23+00:00
Yurong Dai-MSFT 2,771 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to deploy ASP.NET Core with COM module dependencies on Azure

Hello!  We are trying to deploy an ASP.NET Core, .NET 8.0. Web Service to Azure. However, we have trouble registering the COM modules for the deployment process. What we’ve tried: Initially, we tried to deploy the service by publishing it to Azure as…

Azure Container Registry
Azure Container Registry
An Azure service that provides a registry of Docker and Open Container Initiative images.
374 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,265 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,080 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,694 questions
asked 2024-03-22T23:12:21.7233333+00:00
wuibb 20 Reputation points
accepted 2024-03-29T09:13:08.17+00:00
wuibb 20 Reputation points
0 answers

UnhandledException not fire in publish(realsed) mode as exe

Hi, Can you please check with sample code in the end of in this link: https://github.com/dotnet/maui/issues/21007 why UnhandledException not work in reeased mode after publish. public partial class App : Application { public App() { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-25T07:58:43.6333333+00:00
דני שטרית 2,486 Reputation points
commented 2024-03-29T09:00:21.72+00:00
דני שטרית 2,486 Reputation points
2 answers

What Is the Best Way to See Raw Data Stream Being Passed from SQL to .NET Application?

I am running some functions on application startup for my .NET application. This mostly involves running a bunch of scripts on my SQL database to ensure plans are cached. These queries are generated from EFCore-compiled queries. In doing this, I…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,265 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,080 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,489 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,694 questions
asked 2024-03-14T19:52:31.8+00:00
Mike-E-angelo 441 Reputation points
commented 2024-03-29T08:40:42.5566667+00:00
Mike-E-angelo 441 Reputation points
1 answer

MAUI apps with .NET 8 don't work on android

I'm trying to execute on android the demo app created by visual studio when you create a new MAUI .NET 8 project but I encountered different problems in debug and release mode. Visual Studio version : 17.9.5 When I try to run the app in debug it crashes…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-28T16:36:19.4466667+00:00
paro_ricc 0 Reputation points
commented 2024-03-29T08:21:09.7566667+00:00
paro_ricc 0 Reputation points
0 answers

How can I make overlapping shapes clickable

Hi, had this problem from time to time since I work with apps for kids. I want to make irraguated shapes that might overlap each others clickable like in this simple example image. How would you do that in .Net Maui? Hope the problem was understandable? …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-15T08:51:30.4566667+00:00
Magnus Wallon 0 Reputation points
commented 2024-03-29T08:02:04.2866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How to make System.Timers.Timer call async function synchronously when elapsed?

Hello! I am developing a telegram bot using .NET and I am having an issue. I have two timers that execute functions when elapsed. First timer re-posts a message (deletes a message and then posts identical copy, this is a workaround for the fact that…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,265 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,099 questions
asked 2024-03-28T10:27:40.66+00:00
Roman Kovalov 20 Reputation points
commented 2024-03-29T07:55:52.69+00:00
Roman Kovalov 20 Reputation points
1 answer

System.ArgumentException: 'Password not Supported: 'trust server certificate'.'

SqlConnection conn = new SqlConnection(@"Data Source=<SERVERNAME>;User ID=erp;Password=***********;Encrypt=True;Trust Server Certificate=True"); This is the line of code where i get the error, i have tried taking off the Trust Server…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,811 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,515 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,489 questions
asked 2024-03-27T15:36:45.3766667+00:00
Gonçalo Cruz 0 Reputation points
commented 2024-03-29T07:52:52.2966667+00:00
Jiale Xue - MSFT 24,911 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Maui for android pinch gesture container issue

Hello All. I use Ver 17.10 preview 1 and Android Ver 34. I try to add Pinch Gesture Container and I get an error message. As below: What I miss. Please any help. Thank you. //Error I get //MainPage.xaml : XamlC error : Failed to resolve assembly:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
asked 2024-03-27T19:11:29.31+00:00
Haviv Elbsz 1,846 Reputation points
commented 2024-03-29T07:46:15.5933333+00:00
Haviv Elbsz 1,846 Reputation points
0 answers

How to add custom file extension in Xamarin.Essentials file picker in all 3 platforms

I want to add custom file extension i.e. ".s37" in file picker filtering options. In UWP with the below code it is working fine but In android and ios not working private async Task SelectFileClicked(object UTType) { var…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,274 questions
asked 2024-03-21T10:31:05.3466667+00:00
Sk 41 Reputation points
commented 2024-03-29T07:20:01.6666667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
0 answers

Unclear exception captured

Hi, The exception captured is mentioning the error on 1st line of the event below. If I remark 1st line of the event, it will further mention the other parts that is after such "if part". I do not know why the exception is making the issue…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,222 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,099 questions
asked 2024-03-25T03:01:18.4666667+00:00
Peter_1985 2,466 Reputation points
commented 2024-03-29T07:04:18.2866667+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor