22,984 questions with .NET-related tags

Sort by: Updated
1 answer

ASP Project Webpage issue (MS Edge) - Can't Reach Page/Refused to connect

Good Evening, I have built an ASP.NET project in Visual Studio 2022. On the Server Machine, the following localhost link works fine in MS Edge: http://localhost:<#####>/<@@@@@@@@@@>.aspx The following full/public link works fine in Internet…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,994 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,161 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.
280 questions
asked 2024-02-20T22:52:47.6566667+00:00
Reh23 0 Reputation points
answered 2024-02-20T23:53:04.17+00:00
Bruce (SqlWork.com) 52,311 Reputation points
1 answer

Can I sell my desktop application written by c# as a 5 startup?

I have a desktop application written by C# .NET including libraries WPF, Winforms, Multiplatfrom UI and Windows.Devices.Bluetooth. As I found information, these libraries are open source, Can I sell this application? If so, do I need to buy any…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 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.
9,919 questions
asked 2024-02-20T22:31:58.21+00:00
Kivancar 0 Reputation points
answered 2024-02-20T23:50:35.2166667+00:00
Bruce (SqlWork.com) 52,311 Reputation points
3 answers

How can I resolve a validation error related to the binding of a related entity (Category) in ASP.NET Core 6 MVC, despite trying various approaches?

Hello, I'm relatively new to ASP.NET Core 6 and I'm encountering a frustrating validation issue when attempting to work with related entities in my MVC application. I apologize if this question has been asked before, but I've spent considerable time…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,994 questions
asked 2024-02-18T23:53:59.69+00:00
Aspcoool 0 Reputation points
accepted 2024-02-20T23:39:59.1033333+00:00
Aspcoool 0 Reputation points
3 answers

How to fix "The target process exited without raising as CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core"

My application console application is build on .net core 7 and gave error when running on docker container, several other console applications running properly but one gave problem. Docker container logs given below: Targer OS is linux. I have tried…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,994 questions
asked 2023-01-24T11:56:16.52+00:00
Faisal suleman 10 Reputation points
commented 2024-02-20T22:37:04.92+00:00
Fatih İshak YÜZGEÇ 0 Reputation points
0 answers

System.Drawing Color.Transparent example not working

In the Microsoft documentation for the System.Drawing.Color.Transparent property (https://learn.microsoft.com/en-us/dotnet/api/system.drawing.color.transparent?view=net-8.0), the given example does not seem to work. Here is my coded implementation of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
asked 2024-02-20T22:33:25.0566667+00:00
Nicholas Piazza 481 Reputation points
0 answers

Debug using iPad that connected to Mac Mini using Windows-Mac connection

Hi, I have set up the Windows-Mac connection to debug MAUI iOS directly from the Windows machine. The connection is good. I also disabled the hot restart feature to get the iPad (which connects to the Mac Mini) debug. These are the errors I encountered…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-08T16:00:14.8866667+00:00
Huynh Than 0 Reputation points
commented 2024-02-20T22:06:05.32+00:00
Huynh Than 0 Reputation points
3 answers

How do I compare two access database tables, both the table has same rows and columns ?

I have two access database tables. Table A Account #, Name, Addres, City, State, Balance, Purchase, Order, Year, TotalCost Table B. Account #, Name, Addres, City, State, Balance, Purchase, Order, Year, TotalCost My purpose is to compare Table A and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,288 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.
9,919 questions
Access Development
Access Development
Access: A family of Microsoft relational database management systems designed for ease of use.Development: The process of researching, productizing, and refining new or existing technologies.
797 questions
asked 2024-02-13T06:46:20.43+00:00
Josh S 26 Reputation points
answered 2024-02-20T21:35:57.01+00:00
Peter Doering 160 Reputation points MVP
1 answer

Why .net runtime needs to be downloaded for every new project started in vscode

Could someone please help me understand why this is? Whenever I try to create a new .Net app in vscode with the command palette, it has to download a new .net runtime even though I have .net 8 runtime installed. Running Ubuntu 22.04

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
asked 2024-02-20T20:48:43.5833333+00:00
WILSON, ISAAC 0 Reputation points
answered 2024-02-20T20:55:03.17+00:00
Michael Taylor 43,891 Reputation points
1 answer

Can I omit .NET Core references of Blazor WASM?

When publishing standard Blazor WASM which would be provided via Blazor server, how can I omit all references currently already available on my MAUI client? As I hope to reduce size of downloaded WASM when I am using .NET emulating within BlazorWebView,…

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,304 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-19T17:10:23.62+00:00
Matěj Rada 0 Reputation points
commented 2024-02-20T20:54:35.9533333+00:00
Matěj Rada 0 Reputation points
1 answer

Wrong render for a component depending of JavaScript with NET8 Blazor

I'm creating a new website with Blazor Web App with NET8. Out of the box, Visual Studio creates 2 projects for the Interactive Mode Auto, one for server and another one for client. I created a repo on GitHub with the full solution. I created a component…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,994 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,304 questions
asked 2023-10-17T11:19:19.9233333+00:00
Enrico Rossini 126 Reputation points
commented 2024-02-20T20:50:30.8633333+00:00
Garrett Womack 0 Reputation points
2 answers

Does AllowBulkExecution option for Cosmos client work with Parallel.ForEachAsync

With our Web API application we are trying to upload 3500 records to cosmos DB. We are using using Parallel.ForEachAsync method for this. When we're setting AllowBulkExecution option to true in Cosmos Client it is taking 18 sec to insert 3500 records in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,994 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,349 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.
9,919 questions
asked 2024-02-15T14:49:00.11+00:00
Debashis Jena 71 Reputation points
answered 2024-02-20T19:32:00.87+00:00
Oury Ba-MSFT 14,856 Reputation points Microsoft Employee
0 answers

Outlook keeps asking me to log into my Google account everytime I open the app.

I have recently downloaded the new Outlook version and I have logged into my Google account. However, whenever I open the app, I have to log into my Google account again, and it's pretty annoying.

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.
9,919 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
50 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.
82 questions
asked 2024-02-20T19:08:38.6633333+00:00
Linus García 0 Reputation points
0 answers

Images don't persist in ColllectionView .

I have a Class in Model to save the Information about a document. The images are retrieved as streams in view model and are displayed in CollectionView .The problem is when Images are scrolled out of view and scrolled back in the images disappears. here…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,253 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.
9,919 questions
asked 2024-02-12T09:17:00.5633333+00:00
Asgar Ali 86 Reputation points
commented 2024-02-20T18:57:58.53+00:00
Asgar Ali 86 Reputation points
1 answer One of the answers was accepted by the question author.

Why dot.net objects work differently in windows and Android???

So since debugging with Android and the emulator is so horrible I am now debugging on windows (had to change init a bit as it reads a file). Now this way of doing things works well. Then KABANG!! I have an endpoint that need a date string in the format…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,555 questions
asked 2024-02-20T16:48:47.9233333+00:00
Lloyd Sheen 1,311 Reputation points
commented 2024-02-20T18:56:27.7+00:00
Lloyd Sheen 1,311 Reputation points
1 answer

Can a nuget written in .Net standard 2.0 be consume by application written in .Net Framework 4.8.2

I want to write a client application which will work with Azure Storage to upload, download or update blobs in container. I want that, this client application should be compatible with any .Net implementation irrespective of the version. As far as I can…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,507 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,098 questions
asked 2024-02-20T11:38:16.0533333+00:00
Mini Lahariya 0 Reputation points
answered 2024-02-20T18:29:56.0066667+00:00
Bruce (SqlWork.com) 52,311 Reputation points
3 answers

Fill and remove elements at any time, asyncronous mode.

Hello, I receive data as a string, packed in json format. I can receive the data at any time. I would like to work through the data step by step. At the same time, I may remove a row of data and then add new data. How can I avoid collisions and…

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,624 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.
9,919 questions
asked 2024-02-17T15:23:27.9866667+00:00
Markus Freitag 3,706 Reputation points
commented 2024-02-20T18:25:48.88+00:00
Andy De George 90 Reputation points Microsoft Employee
3 answers One of the answers was accepted by the question author.

How to use a user created username to login instead of the email in Asp.Net Core 6

I am working on an ASP.NET Core 6 project with identity. In the default Register.cshtml page, there is a textbox to enter the email and confirm email. I have modified this page with a new field named "UserCreatedUserName" and I am saving this…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,994 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,161 questions
asked 2024-02-16T16:25:20.7433333+00:00
Sherpa 121 Reputation points
commented 2024-02-20T18:11:16.27+00:00
Sherpa 121 Reputation points
2 answers One of the answers was accepted by the question author.

How to change the grey default background of a combobox in wpf in xaml

Hi how can I change the grey default background color of a combobox? Of the selected Item not the dropdown list Any help?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 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,624 questions
asked 2024-02-02T20:36:18.67+00:00
VFarkas 20 Reputation points
accepted 2024-02-20T17:49:52.52+00:00
VFarkas 20 Reputation points
1 answer

getting <element class="demotest"> Selector specificity (0, 1, 0)

My curly brace is not being recognized and showing the following error after typing in both html and css files: <style> .demotest { } MY FIRST CURLY BRACE IS NOT BEING RECOGNIZED

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,161 questions
asked 2024-02-20T16:08:43.56+00:00
Noreen Giovinazzi 0 Reputation points
answered 2024-02-20T17:28:56.0933333+00:00
Bruce (SqlWork.com) 52,311 Reputation points
2 answers One of the answers was accepted by the question author.

Excel process not terminating after use in C# console app

I am creating spreadsheets in a C# console app using Excel. When I try to terminate the Excel process and get the window handle, I get an 'InvalidComObjectException' the second time through. The first Excel image in memory is deleted but thereafter Excel…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,143 questions
asked 2024-02-07T19:36:54.0966667+00:00
Al Harlow 20 Reputation points
commented 2024-02-20T17:24:00.2866667+00:00
Al Harlow 20 Reputation points