24,568 questions with .NET-related tags

Sort by: Updated
1 answer

how to upgrade sqlproj,dtproj file to SDK style?

The solution has csproj and sqlproj (dtproj) files. Projects targetframework is 4.6.2 want to upgrade it .net8.0. Using upgrade-assistant upgrade csproj file . Should I upgrade sqlproj file also ? and if yes How I can do that? Any documentation .…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,534 questions
asked 2024-06-18T16:01:18.62+00:00
namiq genciyev 0 Reputation points
answered 2024-06-19T08:15:03.78+00:00
Jiale Xue - MSFT 41,426 Reputation points Microsoft Vendor
2 answers

Concern to API tool

Hi, Is there any existing API tool, to be embedded on an ASP page, to receive/send mails on the designated domain, with Email service?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,433 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.
312 questions
asked 2024-06-18T09:07:52.09+00:00
Peter_1985 2,586 Reputation points
answered 2024-06-19T07:58:37.31+00:00
Neuvi Jiang 465 Reputation points Microsoft Vendor
1 answer

Problem with rewrite the Backgrounding event

Hi, In continue to https://learn.microsoft.com/en-us/answers/questions/1690214/register-close-button-in-mac All my work in pages stop working. Working with http + tasks. it fire the close button event and close the app. Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-06-18T06:41:00.6+00:00
Dani_S 3,086 Reputation points
commented 2024-06-19T07:55:43.9166667+00:00
Dani_S 3,086 Reputation points
1 answer

Application Insights Operations Name - Different for same API endpoint

In Application insights, I can see 2 logs for same API end point but with different operation name. One is with POST api/Student Second one with POST Student/Create First one is the route name of the endpoint but not sure why its logging it for both…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,032 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 questions
asked 2024-06-19T04:49:49.47+00:00
edited an answer 2024-06-19T07:40:00.0933333+00:00
Deepanshu katara 6,315 Reputation points
1 answer

Unable to make full screen splash in .NET MAUI

How can I make splash to display in full screen instead of just at the center of the mobile screen in .NET MAUI? I've tried different base sizes, but not working. Target android version up-to 13. <ItemGroup> <MauiSplashScreen…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 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,500 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
778 questions
asked 2024-06-11T04:27:11.4933333+00:00
Md Mosabbir Alam 0 Reputation points
commented 2024-06-19T07:31:04.3466667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
0 answers

Can we create the attached model like datagridview in C#.net Windows Form Application.

We are planning a desktop application using c#.net. One of our challenges is to create an attached type of DataGridView.Unfortunately, we are not getting any solution for designing customized types of DataGridView.If possible above type of DataGridView…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,865 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,945 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,534 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,500 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,633 questions
asked 2024-06-19T05:42:33.01+00:00
muralee raman 0 Reputation points
commented 2024-06-19T07:30:57.6+00:00
Jiale Xue - MSFT 41,426 Reputation points Microsoft Vendor
1 answer

How to get a particular column from table and display in in label and not in the list in sqlite database in mvvm model

In MVVM model using async connection, I want to retrieve just one column from my async table to a label not to list. all sample I am seeing put all column in the list . I want only one mesa1 column to be displayed in a label.text. public async…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-06-08T10:40:43.1+00:00
Gbenga Banuso Odumosu 40 Reputation points
commented 2024-06-19T07:30:07.51+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
1 answer

How to activate front camera in MAUI using Media Picker?

Hello... I need to allow my MAUI app users to take a selfie, so that, I need to activate front camera. When using MediaPicker.Default.CapturePhotoAsync rear camera is used. Any help, please? Thanks.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-06-06T20:21:19.8266667+00:00
Jaime Stuardo 66 Reputation points
commented 2024-06-19T07:29:23.17+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
0 answers

Microsoft.AspNet.OData NuGet Package Upgrade Causing delay in the Functionality

Hi, I have upgraded Microsoft.AspNet.OData NuGet Package in our application from 7.5.14 to 7.7.5 and since then it is causing delay in few of the Api calls in the application. Before upgrade everything works fine without causing any delay. The scenario…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,534 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,375 questions
asked 2024-06-18T07:10:11.82+00:00
AKHIL TALLURI 0 Reputation points
commented 2024-06-19T07:18:57.7133333+00:00
Jerry Fu - MSFT 561 Reputation points Microsoft Vendor
1 answer

How can I find out if my video view is on top of my game view in my Android .NET 7.0 project?

I want to play a video in my Android .NET 7.0 project. I have installed the NuGet package XamarinMediaManager version 1.2.2: https://github.com/Baseflow/XamarinMediaManager But the problem is that I only hear the sound of the video when I debug on my…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-06-09T21:02:21.89+00:00
Kim Strasser 686 Reputation points
commented 2024-06-19T06:58:45.5733333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,751 Reputation points Microsoft Vendor
1 answer

StackOverflowException after upgrading from .Net 6 to .Net 8

Hi, I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,534 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 questions
asked 2024-05-29T09:57:50.6666667+00:00
Abhishek, Burra 5 Reputation points
edited a comment 2024-06-19T06:57:00.1666667+00:00
Abhishek, Burra 5 Reputation points
1 answer

How to export viewstate data to pdf in ASP.NET C#

I am developing asp.net application and i already done from viewstate to excel (not from gridview to excel). But, i am struggling to export pdf from viewstate. my viewstate columns is nearly having 20 to 25 columns. below is my code and correct me where…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,375 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,500 questions
asked 2024-06-18T18:03:07.49+00:00
Gani_tpt 2,046 Reputation points
answered 2024-06-19T06:56:31.3433333+00:00
Lan Huang-MSFT 27,956 Reputation points Microsoft Vendor
2 answers

Is controller suffix is mandatory in .NET Core (.NET 6)

public class Home : controller { public IActionResult Index() { return view(); } } I created above class without controller suffix. And below is my routing in startup.cs class .NET 6: app.UseEndpoints(endpoints => { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 questions
asked 2024-06-18T16:11:45.6+00:00
Amit 671 Reputation points
answered 2024-06-19T06:50:11.06+00:00
Ping Ni-MSFT 2,795 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MAUI: Partial method 'MyContactsService.GetContactsAsync()' must have an implementation part because it has accessibility modifiers

I am getting below error when try to rebuild the project in release mode. Severity Code Description Project File Line Suppression State Error (active) CS8795 Partial method 'MyContactsService.GetContactsAsync()' must have an implementation part because…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-06-17T14:59:21.16+00:00
Sreejith Sreenivasan 791 Reputation points
accepted 2024-06-19T06:47:43.01+00:00
Sreejith Sreenivasan 791 Reputation points
0 answers

How to retrieve a user image from azure ad using microsoft graph in .net .

For Microsoft graph version 5.56.0 . how to retreive user image file with given email address from microsoft entra Id . I have the single tenant id option selected only . <PackageReference Include="Microsoft.Graph" Version="5.56.0"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,292 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,094 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,142 questions
asked 2024-06-19T06:42:39.6366667+00:00
yuvraj khanna 0 Reputation points
0 answers

How to disable push refresh on IOS .net maui?

Hi I have a scroll view with horizontal orientation. Couple frames in view. In android work perfect. But on IOS if touch or push down the refresh start. How can I disable this refresh?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-05-31T04:08:45.5366667+00:00
Баходир Кадыров 0 Reputation points
commented 2024-06-19T06:24:44.9466667+00:00
Баходир Кадыров 0 Reputation points
1 answer

Error CS0070: The event 'Game1.OnLoadingContent' can only appear on the left hand side of += or -= (except when used from within the type 'Game1')

I get an error if I want to call OnLoadingContent from another class than Game1.cs. I have tried to call it from Options.cs: game1.OnLoadingContent?.Invoke(this, new EventArgs()); Error CS0070: The event 'Game1.OnLoadingContent' can only appear on 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,774 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,066 questions
asked 2024-06-18T09:01:42.58+00:00
Kim Strasser 686 Reputation points
edited an answer 2024-06-19T06:21:22.2366667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 70,811 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Updating Blazor 8 Application - Special Attention Needed After Recent Updates

Hello, I previously posted a question about a Blazor Server application I was working on, which was functioning correctly at the time. However, after recent updates to Blazor 8, it seems that the application requires additional steps to work…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,534 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,456 questions
asked 2024-06-18T08:44:34.06+00:00
Yusuf 711 Reputation points
accepted 2024-06-19T06:05:49.25+00:00
Yusuf 711 Reputation points
1 answer

Perform basic operations on numbers in C# .net editor not working

I am working on some of the trainings in the "Perform basic operations on numbers in C#". Yesterday the editor was working just fine but today it is taking 10-15 minutes and when its done thinking it just give errors even though i have tried…

.NET Training
.NET Training
.NET: Microsoft Technologies based on the .NET software framework.Training: Instruction to develop new skills.
6 questions
asked 2024-06-18T15:35:10.8633333+00:00
Bradley 0 Reputation points
answered 2024-06-19T05:33:02.22+00:00
Pradeep M 1,055 Reputation points Microsoft Vendor
0 answers

'System.Web.UI.WebControls.GridView' does not contain a definition for 'ItemType'

We're using asp.net framework 4.8 and when publishing it, the aspnet_compiler.exe outputs this error multiple times: 'System.Web.UI.WebControls.GridView' does not contain a definition for 'ItemType' and no extension method 'ItemType' accepting a first…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,375 questions
asked 2024-06-19T01:32:28.64+00:00
Carl_278 0 Reputation points
edited a comment 2024-06-19T05:12:10.1133333+00:00
Carl_278 0 Reputation points