23,474 questions with .NET-related tags

Sort by: Updated
0 answers

Simple Graph Chart Required For Asp.net c# MS SQL

Hello This is my table data /****** Object: Table [dbo].[Table_2] Script Date: 03/28/2024 11:06:28 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Table_2]( [ID] [int] IDENTITY(1,1) NOT NULL, [JAN] [float]…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,218 questions
asked 2024-03-28T05:39:53.7333333+00:00
RAVI 776 Reputation points
1 answer

Typescript Declaration Files showing as compilation error in Completely Unrelated Project

This has been happening since the dawn of time and I'm finally annoyed enough to reach out to see if this can be resolved. I have a VS solution (this one happens to be a Blazor App) that shows hundreds of errors in http.d.ts which is not in my solution…

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,348 questions
asked 2024-03-12T00:32:36.51+00:00
Bob Crowley 0 Reputation points
edited the question 2024-03-28T05:38:43.81+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
1 answer

Change late binding after setting Option Strict on

Hi Gurus, I am correcting errors after changing option strict to on. I have been able to correct everything with the exception of the following code which gets the outlook email signature file. The underline is under fso.getfile and under ts.readall I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 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,539 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 2024-03-27T20:12:04.2066667+00:00
Hugh Self Taught 41 Reputation points
commented 2024-03-28T05:34:40.2766667+00:00
Jiachen Li-MSFT 25,526 Reputation points Microsoft Vendor
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,218 questions
asked 2024-03-27T19:42:09.1466667+00:00
Darryl Hoar 121 Reputation points
commented 2024-03-28T05:32:15.56+00:00
Lan Huang-MSFT 24,461 Reputation points Microsoft Vendor
0 answers

Creating an IOS app visual studio error

Trying to create a project and when I click create it pops up with an error and I can't seem ti find an answer as to why. Any help please.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,272 questions
asked 2024-03-25T10:54:39.14+00:00
jf3000 0 Reputation points
commented 2024-03-28T05:15:09.3366667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
0 answers

i get error Document was closed when try to display page number on pdf ?

I try to display page number at the the bottom of every page when export to pdf but i get error as below I get error iText.Kernel.Exceptions.PdfException: 'Document was closed. It is impossible to execute action.' on line int pageCount =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,075 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,218 questions
asked 2024-03-26T10:12:55.9566667+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
commented 2024-03-28T05:09:23.7033333+00:00
Ahmed Salah Abed Elaziz 390 Reputation points
0 answers

Best Practices for Two-Way Data Binding in Large .NET Applications

Hello Microsoft Q&A community, I’m working on a large-scale .NET application, and I’ve been using two-way data binding in my XAML views. However, I’ve heard that this approach can become problematic in large projects. I’d like to understand the best…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
710 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.
756 questions
asked 2024-03-19T17:01:43.8666667+00:00
arunkumar.mr 0 Reputation points
edited a comment 2024-03-28T04:46:35.35+00:00
arunkumar.mr 0 Reputation points
0 answers

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,745 questions
asked 2024-03-28T04:42:41.8566667+00:00
MKinOZ 1 Reputation point
0 answers

Opening a Window Using Its Name

From my MainWindow I am trying to open another window knowing only its name. In my MainWindow ViewModel, I have: Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (lpClassName As String, lpWindowName As String) As…

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,646 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,539 questions
asked 2024-03-26T09:29:31.52+00:00
RogerSchlueter-7899 1,176 Reputation points
edited a comment 2024-03-28T03:58:52.8966667+00:00
KOZ6.0 4,495 Reputation points
1 answer

Layout doesn't stick to my option

This is my xaml <Border BackgroundColor="#E1E4D8" HorizontalOptions="Center" VerticalOptions="Center" WidthRequest="800"> <VerticalStackLayout …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T18:13:35.5366667+00:00
Eduardo Gomez Romero 25 Reputation points
commented 2024-03-28T03:58:18.63+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 25,341 Reputation points Microsoft Vendor
1 answer

Relay Command doesn't get triggered.

I am making a ribbon like menu. For achieving, I created three basic components. Component Item Class Menu Template (XAML) Menu Template (Code Behind) The class define each item public class MenuComponentItems { public string ImageSource {…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-26T01:16:51.1033333+00:00
Eduardo Gomez Romero 25 Reputation points
answered 2024-03-28T03:58:05.52+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,486 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,218 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,093 questions
asked 2024-03-25T03:01:18.4666667+00:00
Peter_1985 2,466 Reputation points
commented 2024-03-28T03:29:49.4233333+00:00
Peter_1985 2,466 Reputation points
0 answers

WPF ListBoxItem SelectionItemPattern Availability Issue

In a standard WPF application, ListBoxItem is expected to consistently support the SelectionItemPattern, irrespective of its selection state. However, I have observed that when a ListBoxItem is selected, the IsSelectionItemPatternAvailable property…

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,646 questions
asked 2024-03-28T03:06:31.35+00:00
奕縢 陳 0 Reputation points
edited the question 2024-03-28T03:24:38.0366667+00:00
奕縢 陳 0 Reputation points
1 answer

Seeking Guidance for Invoice Extraction Project Using ML.NET with Blazor

Hello ML.NET community, I am embarking on a project to develop an invoice extraction application using Blazor, and I'm planning to integrate ML.NET for accurate invoice data extraction. As a newcomer to both Blazor and ML.NET, I am seeking guidance and…

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,348 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
150 questions
asked 2024-03-22T09:39:56.1966667+00:00
Dinushan 0 Reputation points
edited the question 2024-03-28T03:19:29.7333333+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
0 answers

Encountring javascript error wile there is not any js code in my app

Hi, In my Blazor web assembly app, I keep encountering a JavaScript error. My app does not contain any JavaScript code. How is it possible? There is not any Extension installed on my browser. It appears that developing with Blazor WebAssembly is more…

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,348 questions
asked 2024-03-26T10:18:59.12+00:00
Saeed Pooladzadeh 231 Reputation points
edited the question 2024-03-28T03:13:41.23+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
2 answers

Function app keeps dying and needs "refreshing"

Hey there, I'm running an azure function (isolated 4.0) and it keeps dying after about 20mins of running then I need to press Refresh on the Function App Overview for it to kick back into action. I found this band-aid via the diagnose tools: However…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,111 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
881 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,075 questions
asked 2024-03-26T17:40:06.95+00:00
Yassin Shahid 0 Reputation points
edited the question 2024-03-28T03:13:23.11+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
0 answers

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

I created a.net core application in Visual Studio 2022. When I see the properties, I see this: I deployed the application on IIS and this is installed on the server: when I do dotnet --info, I see this: My networking person is telling me that older…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,075 questions
asked 2024-03-26T21:01:06.98+00:00
Anjali Agarwal 1,346 Reputation points
edited the question 2024-03-28T03:12:56.7+00:00
Jack J Jun 24,271 Reputation points Microsoft Vendor
5 answers One of the answers was accepted by the question author.

Visual Studio 2022 won't connect to NuGet

Visual Studio 2022 gives an error when trying to browse NuGet. I get these errors on 2 different Windows Servers (2016) I’ve tried. One running Visual Studio 2017, the other running Visual Studio 2019 and 2022. Visual Studio 2017: “[nuget.org] Unable to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
952 questions
asked 2022-08-08T17:50:50.513+00:00
mindmischief 36 Reputation points
commented 2024-03-28T02:49:48.4766667+00:00
Geom Malanakarot 0 Reputation points
2 answers One of the answers was accepted by the question author.

What is the alternative of GetWebLoginClientContext in the current PnP.Framework?

Following this issue, I have copied the code for GetWebLoginClientContext and implemented it in my project. However, I get this out-of-date browser error because the code uses System.Windows.Forms.WebBrowser which uses the old built-in browser. What…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,811 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,261 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,093 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,615 questions
asked 2023-02-03T01:04:49.1433333+00:00
Jack Le 45 Reputation points
commented 2024-03-28T02:33:58.0566667+00:00
Ken Netherland 6 Reputation points
0 answers

Listview item click is not working in android MAUI

I have a Listview and added a context actions in the listview. I am able see the context action after long press the list item and it is working fine. But the listview item click is not working in android. But it works in windows. Can anyone help me on…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,745 questions
asked 2024-03-27T09:17:27.55+00:00
Amose Kumar R 5 Reputation points
commented 2024-03-28T01:35:19.2666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 33,301 Reputation points Microsoft Vendor