24,215 questions with .NET-related tags

Sort by: Updated
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,852 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,683 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
commented 2024-05-22T01:25:47.6766667+00:00
Minxin Yu 10,361 Reputation points Microsoft Vendor
2 answers

$.ajax patch method and .net 8 api action

Error Response Test - "{"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["The JSON…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,234 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
899 questions
asked 2024-05-21T05:35:16.4333333+00:00
S R, Senthil 0 Reputation points
commented 2024-05-22T01:24:09.4266667+00:00
Tiny Wang-MSFT 1,581 Reputation points Microsoft Vendor
0 answers

Mixing net standard and visual c++

Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 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,558 questions
asked 2024-05-21T08:47:24.7566667+00:00
Flade, David 0 Reputation points
edited the question 2024-05-22T01:22:13.77+00:00
Anna Xiu-MSFT 26,566 Reputation points Microsoft Vendor
1 answer

image do not show in .net android?

I add ImageView in activity_main.xml and set the src android:src="@mipmap/tab_index" but it is not show. just white .

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2024-05-19T15:06:04.2166667+00:00
mc 3,701 Reputation points
edited a comment 2024-05-22T00:52:37.56+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor
1 answer

Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera

When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,780 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2024-04-30T16:15:24.1733333+00:00
Grant Schaffer 25 Reputation points
commented 2024-05-22T00:26:56.3166667+00:00
HASSALL Michael 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Extensions.DependencyInjection can not register type which implement static abstract memer interface

I can not register the type Foo as 'IFoo' when IFoo has static abstract member. Is it a bug? Or, how can I register this type as interface? repo Program.cs using Microsoft.Extensions.DependencyInjection; // these line works! IFoo foo = new…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 questions
asked 2024-05-20T02:20:59.1633333+00:00
William Liu 286 Reputation points
accepted 2024-05-22T00:26:17.4833333+00:00
William Liu 286 Reputation points
2 answers

Is it correct to make connection string dynamic?

Hi, I'm currently working on a project which need data from other databases. The database where I'll get the datas are depends on users. Now I want to make my connectionString dynamic. Is it correct to make connection strnig dynamic. The user will enter…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
701 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,234 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,870 questions
asked 2024-05-20T19:12:10.4966667+00:00
Atilla Rüstəmli 0 Reputation points
edited an answer 2024-05-22T00:24:27.6433333+00:00
SurferOnWww 1,996 Reputation points
1 answer

Android Emulator waiting for debugger to attach in .net maui app

I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 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,364 questions
asked 2024-05-11T02:31:41.49+00:00
wire_jp 206 Reputation points
edited an answer 2024-05-22T00:13:43.4366667+00:00
wire_jp 206 Reputation points
0 answers

How to remove row on client side by jQuery based on key auditor id and budget year?

I work on jQuery with asp.net . I face issue I can't remove row from grid view based on key AUD_RECID and P_BUDGET_YEAR . AUD_RECID with different P_BUDGET_YEAR so I need key will be both from AUD_RECID and P_BUDGET_YEAR SO I will have unique Value when…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,306 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
899 questions
asked 2024-05-21T23:41:45.2266667+00:00
Ahmed Salah 0 Reputation points
0 answers

Server-side Blazor web app outgoing TCP connection shut down when run on IIS server

Hi All, I have a server-wide blazor web application that I've written. Part of the application connects to a printer via a TCP connection and sends a byte array. It works when I run it from my computer, but when it is hosted on the webserver, the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 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,414 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,261 questions
asked 2024-05-21T22:21:51.81+00:00
Carl Marvin 0 Reputation points
0 answers

How to use Azure RMS to protect documents on a local machine.

Hello everyone, how are you? It is possible to use Azure RMS to protect files and maintain control over them even on the user's machine. I would like to enforce authentication regardless of the program they are using to open the files, especially PDF and…

Azure Information Protection
Azure Information Protection
An Azure service that is used to control and help secure email, documents, and sensitive data that are shared outside the company.
521 questions
Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,180 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,349 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,234 questions
asked 2024-05-21T19:01:52.56+00:00
Guilherme Pineda 0 Reputation points
commented 2024-05-21T21:29:59.2233333+00:00
Guilherme Pineda 0 Reputation points
1 answer

The html tags are displayed as plain text in asp.net core mvc razor pages

I am working on Asp.Net Core 6.0 MVC Razor pages. On the Login.cshtml page, I want to show the following error message when the user tries to login with in invalid credential: Invalid: <b>User Name</b> and/or <b>Password</b>. The…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,234 questions
asked 2024-05-21T18:19:57.5566667+00:00
Sherpa 161 Reputation points
commented 2024-05-21T21:00:31.8733333+00:00
Sherpa 161 Reputation points
3 answers One of the answers was accepted by the question author.

How to make loader image show on every page when user click on any task

I have a webform application with master page, I want when user initiate any task in the website the loader image will show with modal screen untill the task is finished. below is my master page code. <script type="text/javascript"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,306 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
899 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,364 questions
asked 2024-05-19T04:01:14.2433333+00:00
Emeka Okoye 66 Reputation points
accepted 2024-05-21T20:24:34.7833333+00:00
Emeka Okoye 66 Reputation points
0 answers

Microsoft Point of Service compatible with .NET8?

Hi - is Microsoft Point of Service compatible with .NET8?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 questions
asked 2024-05-21T17:09:24.53+00:00
Joe Kelly 0 Reputation points
2 answers One of the answers was accepted by the question author.

@await RenderSectionAsync giving "Cannot await method group" error

I am creating a razor application consisting of two simple user inputs and two navigation tabs with 'save' and 'cancel' button for the user inputs. I have pasted below part of the _Layout.cshtml code giving the titled error. Am I missing something ? …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,452 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,234 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,414 questions
asked 2024-05-21T04:33:58.8933333+00:00
Akhil Josef 0 Reputation points
accepted 2024-05-21T17:06:10.0966667+00:00
Akhil Josef 0 Reputation points
0 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,683 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 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,364 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
1 answer

.NET MAUI Animation doesn't work on Android platform

Animation doesn't work on Android platform on .NET MAUI. Code: <Image Source="spin.gif" IsAnimationPlaying="true" BackgroundColor="Black" ></Image> I don't have ideas why it doesn't work. For example,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2022-06-24T08:28:27.037+00:00
zc 51 Reputation points
commented 2024-05-21T16:47:54.2133333+00:00
Paul Kelley 0 Reputation points
0 answers

Gif can display animation on android when release ?

<Image Grid.Row="1" Source="sun.gif" IsAnimationPlaying="{Binding IsPlayGif}"/> IsPlayGif = false then set it true When debug it work well , then release it dose not work? Environment information: Android API31 VS…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2023-05-22T08:51:08.33+00:00
Fei Xu 490 Reputation points
commented 2024-05-21T16:44:42.6666667+00:00
Paul Kelley 0 Reputation points
1 answer

How I can fix this link

this is the link that appear: Session id: a2c56cc1-2d4a-42fa-bd24-9274f750b350, Correlation id: 2e64dab8-f5ed-4adf-ad32-92b2d9969104

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,852 questions
asked 2024-05-21T16:00:21.8633333+00:00
Maria Bolhuis 0 Reputation points
answered 2024-05-21T16:00:21.8766667+00:00
Q&A Assist
1 answer

Rendering issues with our .Net application post windows patch

Recently, we've encountered rendering issues with our .NET application following a Windows patch update for Windows 10 Version 22H2. Specifically, after applying the cumulative update for .NET Framework 3.5, 4.8, and 4.8.1, we've noticed intermittent…

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,364 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,130 questions
asked 2024-05-16T16:21:59.7033333+00:00
SusanA 0 Reputation points
answered 2024-05-21T15:47:13.07+00:00
Michael Taylor 49,166 Reputation points