23,996 questions with .NET-related tags

Sort by: Updated
1 answer

Unable to reuse the same layout in a new form

Unable to reuse the same layout in a new form. I've created a CustomControl inherited from ContainerControl and added items in it. However, I'm encountering difficulties when attempting to use it in another form. I want to use the below in a new form. …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,836 questions
asked 2024-04-28T19:18:13.5266667+00:00
Vignesh 0 Reputation points
commented 2024-05-06T10:50:48.0066667+00:00
Vignesh 0 Reputation points
0 answers

why url converts https:// instead of http

Hello We have one domain name for example www.abcd.com i shared this link to our team via whats app when they click it automtically converting https:// how to solve so that the link can be open in http only

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 questions
asked 2024-05-06T10:47:19.84+00:00
RAVI 896 Reputation points
2 answers One of the answers was accepted by the question author.

round value automtically

Hello I have one Label1 and textbox1 for example Label1 has value = 490.56 In textox1 i have to show round off value on button click = 0.44 for example Label1 has value = 30.12 In textox1 i have to show round off value on button click = -0.12 how to do…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 questions
asked 2024-05-04T14:40:44.82+00:00
RAVI 896 Reputation points
accepted 2024-05-06T10:42:48.7466667+00:00
RAVI 896 Reputation points
4 answers

How to copy big file 5g with task and within impersonation

Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,397 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-04-18T08:06:36.18+00:00
Dani_S 2,726 Reputation points
commented 2024-05-06T10:35:40.9166667+00:00
Dani_S 2,726 Reputation points
0 answers

How can I change the icon of an MSI file?

Is it possible to customize the icon of an MSI file created using the WiX tool for a .NET project, rather than using the default icon suggested by the Windows system?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,836 questions
Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
5 questions
asked 2024-05-06T10:20:10.0866667+00:00
india-drive 0 Reputation points
edited the question 2024-05-06T10:31:29.43+00:00
india-drive 0 Reputation points
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,397 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
commented 2024-05-06T10:29:27.7533333+00:00
Vijayan, Neethu 0 Reputation points
1 answer

Service Monitor

Hi, I want a worker service with config file of time when to restart a given service. In the config file will be the time. the service will run always and when time reach check if service is running to restart it. Thanks in advance,

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,397 questions
asked 2024-05-05T16:07:58.2833333+00:00
Dani_S 2,726 Reputation points
edited a comment 2024-05-06T10:27:36.6066667+00:00
Dani_S 2,726 Reputation points
0 answers

How to know if Bluetooth connection is lost when application is running in Xamarin Forms. Any listener will hit?

How we can know if bluetooth connection is lost or turned off when we are running the application without any Button click event. App is connected to some ble devices . How to handle the scenario ? Any listener will hit or not? private void…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 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.
766 questions
asked 2024-05-03T14:00:27.1533333+00:00
Sk 61 Reputation points
commented 2024-05-06T10:26:04.8466667+00:00
Sk 61 Reputation points
3 answers One of the answers was accepted by the question author.

How to view/show image from file server path on button click

i am developing asp.net application. i am uploading many image documents in file server path like example (\server2\prj1\picture1.png) At the same time, i want to view/show the same file (image document) on button click event. How to show this image…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 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,279 questions
asked 2024-04-27T18:06:29.1133333+00:00
Gani_tpt 1,566 Reputation points
commented 2024-05-06T10:18:55.25+00:00
Gani_tpt 1,566 Reputation points
0 answers

CultureNotFoundException Querying SQL database using EF

Hello, I have a Web App (ASP.NET MVC) with controllers making CRUD operations using EF 6. Any operation involving the EF context to read data generates the following exception The Web App is localized in it-IT, setting up ThreadCulture and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 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,762 questions
asked 2024-05-06T10:18:01.0933333+00:00
Setteidea SRL 0 Reputation points
1 answer

SignalR connection

How can I test the connection of SignalR hub without client I write this code and do not know how to test to check if there is a problem in my code here is part of my code that is for signalR in my api: please tell me how should I do to connect…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-03T23:01:03.9033333+00:00
Sakanat 2024 0 Reputation points
edited a comment 2024-05-06T10:11:07.93+00:00
AgaveJoe 26,136 Reputation points
0 answers

ASP.NET MVC area issue on IIS 10

I have an existing ASP.NET MVC application (on .NET 4.8), and I have recently added an area to the application (area is registered and the route is mapped). When I deployed the app to IIS, it works as expected on the local server (server-localhost:port),…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,176 questions
asked 2024-05-06T10:06:31.3666667+00:00
Mahdi Khardani 0 Reputation points
1 answer

"owl carousel" not working when appending data dynamically using jquery

I'm appending the data dynamically to "owl carousel" and initially the data is showing correctly and next (when I click the button) I'm erasing and re-assigning the data to the "owl carousel" (because the data will keep change) at…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
874 questions
asked 2024-05-06T04:31:47.04+00:00
Ashok Kumar 161 Reputation points
edited an answer 2024-05-06T09:49:35.07+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
1 answer

How to visit the views of carouselview different item ?

webview will display embed youtube video I need user webview.EvaluateJavaScriptAsync to control the video. Then, how can i visit the webview of different items ? <CarouselView Grid.Row="2" x:Name="cView"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,900 questions
asked 2024-04-29T07:10:20.56+00:00
Fei Xu 490 Reputation points
commented 2024-05-06T09:41:32.15+00:00
Fei Xu 490 Reputation points
1 answer

How to do Search inside a subFolder with Azure AI Search.

In Azure AI Search how to find something inside a subdirectory? right now when I am searching something i am getting result from all of the subfolders, I have to do search within a folder for example right now I am in /Submission directory and there are…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
720 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-01T06:29:32.8333333+00:00
Hassan Kaleem 20 Reputation points
answered 2024-05-06T09:39:35.2+00:00
Hassan Kaleem 20 Reputation points
1 answer

Unable to upload an image to my blob storage account

So i am trying to upload an image to my blob storage and I keep getting this error <Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,437 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
94 questions
asked 2024-05-03T08:58:12.4+00:00
ProDevs 0 Reputation points
answered 2024-05-06T09:38:40.2333333+00:00
Amrinder Singh 2,195 Reputation points Microsoft Employee
0 answers

Develop an ASP.NET Core web app that consumes an API assessment fail

Hi, I recently attempted the applied skill assessment: Develop an ASP.NET Core web app that consumes an API Although not all requirements were very clear, I was confident I completed all the tasks. everything was tested by me and all the functionality…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2024-05-03T09:03:54.2166667+00:00
robin lenaerts 0 Reputation points
commented 2024-05-06T09:38:26.3166667+00:00
robin lenaerts 0 Reputation points
0 answers

image not loading in modal popup imageurl in asp.net c#

i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,274 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,279 questions
asked 2024-05-05T17:01:04.1133333+00:00
Gani_tpt 1,566 Reputation points
commented 2024-05-06T09:11:27.83+00:00
Gani_tpt 1,566 Reputation points
0 answers

After reinstalling dotnet, encountering an error when running 'dotnet run.' Attached is the error message. Please assist.

error NU1100: Unable to resolve 'Humanizer.Core (>= 2.14.1)' for 'net7.0'. PackageSourceMapping is enabled, the following source(s) were not considered: Microsoft Visual Studio Offline Packages, nuget.org. error NU1100: Unable to resolve…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
asked 2023-11-25T06:17:39.8666667+00:00
CHAMIKA 20 Reputation points
commented 2024-05-06T09:11:25.74+00:00
muhammad mudasir 0 Reputation points
0 answers

Where Can I Find the Remoted iOS Simulator for Windows PC?

Where can I find the Remoted iOS Simulator for Windows PC?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,667 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,771 questions
Windows 10 Hardware Performance
Windows 10 Hardware Performance
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
95 questions
Windows Hardware Performance
Windows Hardware Performance
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.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,549 questions
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point