24,363 questions with .NET-related tags

Sort by: Updated
1 answer

Where does the .NET Desktop Runtime installer launch from?

I have an installer for Gates Corp Design Power which recognizes that .NET Desktop Runtime is not installed and automatically initiates an installation of it. I need to know where it is finding the installer. Also knowing what permissions to what, that…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 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,135 questions
asked 2024-05-30T20:45:55.8333333+00:00
KKoop 0 Reputation points
commented 2024-06-03T05:48:08.05+00:00
Jiachen Li-MSFT 27,411 Reputation points Microsoft Vendor
1 answer

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…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
708 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
asked 2024-06-01T01:35:11.9766667+00:00
Kamyab Faghih 0 Reputation points
answered 2024-06-03T05:47:56.16+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
0 answers

Since updating to VS 17.10.1 deployment to ios device never completes

Since updating to VS 17.10.1 when I try to deploy to ios devices (iPhone, iPad) the deployment never completes. I have tried with 4 projects that previously were successfully deployed to iPhone & iPad devices.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-02T01:00:20.12+00:00
Christopher Jahn 0 Reputation points
commented 2024-06-03T05:29:19.8133333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,191 Reputation points Microsoft Vendor
1 answer

MAUI Splashscreen

How to create custom splascreen in .net maui?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-30T07:46:16.76+00:00
Yogita Magdum 0 Reputation points
commented 2024-06-03T05:23:20.6366667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,191 Reputation points Microsoft Vendor
1 answer

Accessing Sharepoint Online (Uploading Documents)

I have .net application that's able to access Sharepoint Online and upload documents. We're using an app only registration using a certificate to authenticate. This all works locally, including using a local (on-disk) certificate. Today, I've moved the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,917 questions
asked 2024-05-28T09:50:23.1866667+00:00
commented 2024-06-03T05:12:09.49+00:00
RaytheonXie_MSFT 32,401 Reputation points Microsoft Vendor
1 answer

How to find the .net version of app service, if we are using a old framework

Hi, Our app service is using an old version of .Net framework, which is no longer support. I wish to check the exact version we are using (it is either 2.1 or 3.1), but we end up seeing this in the Configuration section How can I find the framework we…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,254 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,071 questions
asked 2024-05-30T08:30:35.7533333+00:00
Zavier Chan 0 Reputation points
commented 2024-06-03T05:04:14.6966667+00:00
Grmacjon-MSFT 16,956 Reputation points
2 answers

How to Detect Initial DPI changes in a WPF Application while Scaling according to Per Monitor Aware in Variable Dynamic Screen Resolution?

In daily life we have to deal with a lot of different types of display size it may be mobile or may be a 4k monitor. The screen resolution vary from display to display. Here another important factor is DPI (Display per inch) which is mainly a scaling…

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,882 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,692 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,420 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,571 questions
asked 2024-05-27T23:46:16.7233333+00:00
MERUN KUMAR MAITY 531 Reputation points
commented 2024-06-03T05:02:40.46+00:00
Hongrui Yu-MSFT 420 Reputation points Microsoft Vendor
4 answers

Weird errors problem with dotnet watch with blazor/wasm.

I have a really annoying problem with dotnet watch and blazor/wasm. I have a solution in which I have multplie projects, for example an API, a blazor/wasm project and some common classlibraries. I start the API part with CTRL+F5, and I start the Blazor…

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,436 questions
asked 2022-02-28T10:45:49.527+00:00
Tendenz Noord 6 Reputation points
commented 2024-06-03T04:57:03.3866667+00:00
Alexander Vavilov 0 Reputation points
1 answer

How can I open Microsoft Excel in Visual Basic.NET

I am using Visual Studio 2023 for using Visual Basic. I have latest version of Microsoft Office. I want to open Excel using Visual Basic (not VBA). Please tell me how to go about it. It is very important for me.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,001 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,481 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,601 questions
asked 2024-06-02T16:30:14.32+00:00
Rajendra Deshpande 0 Reputation points
commented 2024-06-03T04:50:05.3566667+00:00
Rajendra Deshpande 0 Reputation points
0 answers

Unable to genrate build for iOS using the xcode_15.5 in Xamarin project

Hi all, I am trying to build ipa using the azupre devops pipeline. The below task is not working and giving some error. I am attaching the screenshot.     - task: XamariniOS@2       inputs:         solutionFile: '**/*.sln'         configuration:…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,306 questions
asked 2024-06-03T04:32:45.4766667+00:00
Alok Kumar Pandey 1 Reputation point
2 answers One of the answers was accepted by the question author.

Not seen mac simulator

Hi, I installed vs code, xcode , and open new maui project and run it. It is not running, do i need to config ant simulator , I want mac simulator. Thw error is on missing android simulators & sdk. How is sone? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-28T08:56:44.53+00:00
Dani_S 2,906 Reputation points
accepted 2024-06-03T04:28:52.6733333+00:00
Dani_S 2,906 Reputation points
3 answers

How to insert new,update, delete existing record in single row of gridview

I am developing ASP.NET application and i am using gridview in that. Here, i am not using any textbox controls outside of the gridview to save the record. everything i want to maintain in same row of the records. for example, when page load, if any…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,420 questions
asked 2024-05-28T14:36:20.12+00:00
Gani_tpt 1,826 Reputation points
edited a comment 2024-06-03T04:15:53.8833333+00:00
Gani_tpt 1,826 Reputation points
2 answers

Save xml log file in MAC

Hi, In windows I keep in c drive in MAC where i save my log file? Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-29T10:31:16.86+00:00
Dani_S 2,906 Reputation points
answered 2024-06-03T03:44:54.7666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
2 answers

How to assign value from session upload file into upload posted file again

i am trying to save uploaded file after some big process. i am saving uploaded file in session to retain the file upload data. i.e : uploaded file will be saving into session variable. after saving to session upload file will be cleared. but, the upload…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,420 questions
asked 2024-05-31T18:44:51.0666667+00:00
Gani_tpt 1,826 Reputation points
answered 2024-06-03T03:42:53.8133333+00:00
Lan Huang-MSFT 26,916 Reputation points Microsoft Vendor
1 answer

.NET MAUI - Unhandled Exception located in 'Microsoft.Maui.Platform.MauiWebView'

XAML WebView element definitions: <WebView x:Name="ElectricArcGif" VerticalOptions="Center" HeightRequest="40" /> <WebView x:Name="ClintHatGif" VerticalOptions="Center" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-05-31T21:58:54.9366667+00:00
UnexpectedGrit 11 Reputation points
answered 2024-06-03T03:09:06.68+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,191 Reputation points Microsoft Vendor
1 answer

how to fix parser returned error 0x80004005 for microsoft .net machine.config

When i run some apps, i encounter Error Parsing c;\Windows\Microsoft.NET\Framework64\v4.0.30319\config\machine.config Parser returned error 0x80004005 I replaced machine.config with machine.config.default. I changed permissions to EVERYONE with full…

.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,135 questions
asked 2024-06-02T18:37:54.0833333+00:00
Frank Tanski 0 Reputation points
answered 2024-06-03T02:35:10.4233333+00:00
Jiachen Li-MSFT 27,411 Reputation points Microsoft Vendor
0 answers

Make one picture for one Button click at the bottom picture

Hi All , Can someone show how modify this code then when we click it show the new blazor page . @page "/House" <h1>HOUSE</h1> @for (int i = 1; i <= images.Count; ++i) { <button class="btn-primary">Click…

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,436 questions
asked 2024-06-02T10:24:59.2666667+00:00
MIPAKTEH_1 120 Reputation points
commented 2024-06-03T02:08:58.8533333+00:00
Jiale Xue - MSFT 38,101 Reputation points Microsoft Vendor
0 answers

Publish App Error

I am seeing the following error when I create any .NET Maui app and try to "Reserve a new app name:""An unexpected error occurred when attempting to reserve the app name" This error is occurring repeatedly for different apps, some in…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,017 questions
asked 2024-06-01T20:24:36.23+00:00
Fritz Switzer 261 Reputation points
commented 2024-06-03T02:07:13.51+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,356 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to get/read specific word from pdf or image document in ASP.NET Application

I have millions of image or pdf document...I want get some specific word from the uploaded image or pdf document...after getting this, I am going to use these in my project...All this I want in asp.net application and if any third-party tools are using,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,420 questions
asked 2024-05-26T03:09:00.3533333+00:00
Gani_tpt 1,826 Reputation points
accepted 2024-06-03T02:06:53.9166667+00:00
Gani_tpt 1,826 Reputation points
1 answer One of the answers was accepted by the question author.

How to maintain Ajax calendar values after postback in Gridview Footer

I am using AJAX control textbox in gridview. Inside the gridview, Footer Template i am using dropdown control and many textboxes. after selecting of Ajax calendar control, if i select dropdown, the ajax value getting cleared. How to maintain the date…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,331 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,420 questions
asked 2024-05-29T15:22:30.55+00:00
Gani_tpt 1,826 Reputation points
accepted 2024-06-03T02:04:54.6033333+00:00
Gani_tpt 1,826 Reputation points