24,714 questions with .NET-related tags

Sort by: Updated
2 answers

#How to convert ASP.NET for Microsoft Graph API to an open public API?

Hello, I have followed the instructions for creating an application that can pull data using the Microsoft Graph API: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,194 questions
asked 2024-06-28T13:08:45.0433333+00:00
Jorziño Barradas 20 Reputation points
edited an answer 2024-07-01T05:57:42.2166667+00:00
Tiny Wang-MSFT 2,171 Reputation points Microsoft Vendor
0 answers

How to Increase timeout

I scaffolded a asp.net core application from Postgresql db, I get the below error , please suggest. TimeoutException: Timeout during reading attempt I fails here SupaCrud.Controllers.QuestionsController.Index() in QuestionsController.cs + return…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
Azure Database for PostgreSQL
asked 2024-07-01T05:54:40.5+00:00
Kalyan A 0 Reputation points
edited the question 2024-07-01T05:55:48.98+00:00
Kalyan A 0 Reputation points
1 answer

Intermittent C# Compiler failure

Anyone seen the error below? I'm seeing this in a sub-project of a large build. It doesn;t always happen but it does seem to happen on the same component each time. I've not been able to get it to repeat reliably, ideas???? FWIW. It's a .NET Framework…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 questions
asked 2024-06-28T14:54:45.0533333+00:00
Nabialek, Sam 0 Reputation points
answered 2024-07-01T05:54:41.0866667+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
0 answers

Looking for DX12/11 sample for MAUI

We're currently working on porting our 3D rendering SDK to support MAUI for Windows, and we already have support for .NET8 Winforms, WPF on Windows, and MAUI on Android and iOS. Are there any DX12 or DX11 based samples or demos that we might have…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-06-26T11:01:14.3333333+00:00
AGNIHOTRI Sahil 1 Reputation point
edited a comment 2024-07-01T05:40:36.63+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

can't covert Adobe PDF into Microsoft world

I'm having trouble converting an Adobe PDF to Microsoft Word. I've tried using different methods, but the formatting doesn't seem to carry over correctly, and some elements are missing. What steps can I take to ensure a smooth and accurate conversion,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 questions
.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
8 questions
asked 2024-06-30T07:37:18.5433333+00:00
MADY56 0 Reputation points
edited a comment 2024-07-01T05:24:38.81+00:00
MADY56 0 Reputation points
1 answer

InvalidOperationException: No policy found: System.Object[] in .NET 6 project on Visual Studio 2022 Version 17.10.3

`I recently installed the latest version of Visual Studio 2022 Version 17.10.3 and started working on a .NET 6 project. When I run my project, I encounter the following exception: InvalidOperationException: No policy found: System.Object[].…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-28T09:30:23.84+00:00
Madanraj A 20 Reputation points
commented 2024-07-01T05:20:35.64+00:00
Tiny Wang-MSFT 2,171 Reputation points Microsoft Vendor
1 answer

The background color of my LaunchScreen.storyboard is not displayed on my iPad

I have created a launch screen in my iOS project on my iMac. After that I have copied my iOS project to my Windows 11 laptop. But the problem is that the background color of my launch screen is not displayed when I debug my game on my iPad. The…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,806 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-06-26T22:05:42.0566667+00:00
Kim Strasser 811 Reputation points
commented 2024-07-01T05:11:09.7733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,321 Reputation points Microsoft Vendor
1 answer

.Net core application with EFCore using Sqlite DB on linux giving error "Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 14: 'unable to open database file'."

I'm running a simple .Net Core application on Linux using EFCore and SQLite, but I'm getting the following error: An exception occurred while iterating over the results of a query for context type 'ApplicationDbContext'. …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
717 questions
asked 2024-06-27T05:27:57.4366667+00:00
Hrushikesh Patel 0 Reputation points
commented 2024-07-01T05:00:01.1466667+00:00
Hrushikesh Patel 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to solve error "A potentially dangerous Request.Path value was detected from the client (:)."

I am trying to fetch binaries/files from Artifacts --> Package using API call. URL: GET…

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.
313 questions
asked 2024-01-23T13:09:11.3266667+00:00
Errammagari, Sai 20 Reputation points
edited a comment 2024-07-01T04:49:58.45+00:00
Liangjun Hu 0 Reputation points Microsoft Employee
0 answers

.Net Maui, use gestures on tabbed page

Hi, I have a tabbed page with 2 tabs, on one tab I have and image that I would like the user to be able to use touch to pinch zoom and pan the image around. I use this to show the image: <Grid x:Name="imageView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 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,550 questions
asked 2024-06-28T23:38:06.1833333+00:00
Phunction 226 Reputation points
commented 2024-07-01T04:12:18.2166667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

how to add header for each column

Hello This Is My Aspx Page <%@ Page Language="C#" AutoEventWireup="true" CodeFile="A.aspx.cs" Inherits="Default3" %> <html> <head…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,392 questions
asked 2024-06-30T06:28:31.5066667+00:00
RAVI 996 Reputation points
accepted 2024-07-01T03:58:23.9433333+00:00
RAVI 996 Reputation points
1 answer

Why I have no output ?

In the test the application section after I did all the steps before, when I debug my app it's shown blank with no output, I did all the steps again but no results. This question is related to the following Learning Module

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 questions
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,209 questions
asked 2024-06-27T19:32:16.0633333+00:00
walid fikri 0 Reputation points
edited the question 2024-07-01T03:18:08.12+00:00
Jiale Xue - MSFT 41,976 Reputation points Microsoft Vendor
1 answer

Solution Parser not working in .Net8

Hi, I'm in the process of migrating my WPF application from .NET Framework 4.8 to .NET 8. In my previous application, I utilized the Solution Parser functionality from Microsoft.Build for certain tasks. However, after migrating to .NET 8, this…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,867 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,988 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,704 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,550 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,744 questions
asked 2024-05-13T10:05:23.3933333+00:00
Sanjay Kumar Jha 151 Reputation points
edited a comment 2024-07-01T02:41:12.9533333+00:00
Hui Liu-MSFT 47,176 Reputation points Microsoft Vendor
1 answer

Can't launch my app because of 'you must install .NET Desktop Runtime' popup

Hi everyone, I'm trying to run my application I've just installed on my computer but I'm having an issue with my .NET Runtime. I've been debugging this application in Visual Studio Community 2022 v17.10.2 and it works fine when I start it through Visual…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 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,806 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,641 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
189 questions
asked 2024-06-12T15:25:22.23+00:00
Connor Frayne 0 Reputation points
commented 2024-07-01T01:57:07.94+00:00
Tianyu Sun-MSFT 28,851 Reputation points Microsoft Vendor
0 answers

#How to convert ASP.NET for Microsoft Graph API to an open public API?

I have followed the instructions for creating a ASP.NET project for getting Graph API data in this Tutorial:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,194 questions
asked 2024-06-28T13:03:10.9233333+00:00
Jorziño Barradas 20 Reputation points
edited the question 2024-07-01T01:16:03.4466667+00:00
Lan Huang-MSFT 28,276 Reputation points Microsoft Vendor
2 answers

how to use .a file in .net ios?

I am using .net ios. what should I do next? I am not using xamarin.ios and maui. I am using .net ios.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-06-29T08:38:12.6066667+00:00
mc 4,006 Reputation points
edited the question 2024-07-01T00:41:06.8633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer

how to bind ios .a library?

I am using .net ios(not maui or xamarin). I have framework of ios. and want to bind it to .net ios. I use mac to compile the framework to libxxxx.a and how to bind it? I add the libxxxx.a to my project but nothing generated. and I create ios Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,117 questions
asked 2024-06-30T15:13:37.3733333+00:00
mc 4,006 Reputation points
edited the question 2024-07-01T00:40:53.1333333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 71,281 Reputation points Microsoft Vendor
1 answer

.Net 6/8 WebApi take long time to start

I compile this simple project and run it in Linux bash is normal. But when I create service file to run this program, it take almost 2 minute to start. The same as in Podman. var builder = WebApplication.CreateBuilder(args); var app =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,328 questions
asked 2024-06-27T08:15:07.1766667+00:00
Jiayu Qiu 0 Reputation points
commented 2024-06-30T16:58:54.4533333+00:00
Bruce (SqlWork.com) 59,966 Reputation points
1 answer

EntityFrameworkCore 7 SetProperty(avar,avalue) Unable to cast object of type 'System.Linq.Expressions.TypedParameterExpression' to type 'System.Linq.Expressions.LambdaExpression'.

My code: 1.Error ADal aDal = new ADal(); Func<AModel, float> p = property => property.Balance; aDal._databaseContext .ModelDbSet .Where(w => w.ID == 5) .Take(1) .ExecuteUpdate(e => e.SetProperty(p, 636)); Out error (Almost no answer…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
717 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,562 questions
asked 2023-07-25T11:47:25.1166667+00:00
Allen 0 Reputation points
commented 2024-06-30T12:18:02.7566667+00:00
İsa Sayın 0 Reputation points
0 answers

New app to connect to external camera like gDMSS

Hey! I have a more general question, since I'm looking for some possibilities for a new app. I have a camera here at my house and I use the app gDMSS Lite (for Android) to connect to this camera and to watch everything live. Now I want to try to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,317 questions
asked 2021-01-05T01:50:01.263+00:00
Ganesh Gebhard 366 Reputation points
commented 2024-06-30T10:33:15.0566667+00:00
satraram Bhai 0 Reputation points