24,239 questions with .NET-related tags

Sort by: Updated
1 answer

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,458 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,562 questions
asked 2024-05-21T08:47:24.7566667+00:00
Flade, David 0 Reputation points
answered 2024-05-24T07:53:54.3366667+00:00
Hui Liu-MSFT 41,331 Reputation points Microsoft Vendor
2 answers

EF Core doesn't recognize many-to-many relationship

I have a many-to-many relationship, altough EF Core seems not to recognize it. The relationship exists between JobOffer and JobOfferTag. JobOffer inherits from BaseJobOffer. BaseJobOffer.cs public class BaseJobOffer { [Required] …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 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,377 questions
asked 2024-05-23T15:23:05.96+00:00
iKingNinja 60 Reputation points
answered 2024-05-24T07:21:04.53+00:00
Hongrui Yu-MSFT 260 Reputation points Microsoft Vendor
2 answers

framework realated question

what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
702 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 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,892 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,377 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.
306 questions
asked 2024-05-10T16:37:37.01+00:00
Siddangoud Bharamagoudar 61 Reputation points
commented 2024-05-24T07:17:27.83+00:00
Lan Huang-MSFT 26,516 Reputation points Microsoft Vendor
1 answer

I need the best way to host my aspx.Net website.

Vb.net website / Aspx.Net

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
asked 2024-05-07T10:47:42.8633333+00:00
Hassan Yusuf 0 Reputation points
commented 2024-05-24T07:16:12.71+00:00
Lan Huang-MSFT 26,516 Reputation points Microsoft Vendor
1 answer

What is the Maximum size of a EventMessage or Event Data in Event Viewer. For Security channel and other channels System, Direcory Service.

What is the maximum size of a single event in Event viewer? Event message maximum length and a Event's size in kb? Does it vary for Security channel and System/ Directory Server channels?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 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,844 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,746 questions
asked 2024-05-15T10:27:43.9533333+00:00
Bakya ABL 21 Reputation points
edited the question 2024-05-24T07:11:53.7566667+00:00
Roy Li - MSFT 32,486 Reputation points Microsoft Vendor
2 answers

how to solve this error

Hello I have hosted my application in local iis and accessing this via another pc using ip address suddenly this error comes what to do how to solve

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
asked 2024-05-23T13:14:54.1833333+00:00
RAVI 936 Reputation points
commented 2024-05-24T07:06:13.1466667+00:00
Lan Huang-MSFT 26,516 Reputation points Microsoft Vendor
1 answer

.NET8 MAUI Image "gif" animation Debug vs. Release

Has anyone figured out how to get a MAUI Image "gif" animation to work in Release mode?   Using Visual Studio 2022's Android Device Manager, Emulator set to Tablet M-DPI 10.1in - API34, Android 14.0 - API 34, the MAUI Image animation in Debug…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-05-22T20:22:10.54+00:00
Paul Kelley 0 Reputation points
commented 2024-05-24T06:57:46.9866667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
0 answers

How to resolve "An unhandled error has occurred. Reload 🗙" in Blazor application?

I am encountering this error consistently while executing my Blazor file. I reinstalled Visual Studio in case of missing files, but it did not work. I also tried creating Blazor files both from CLI and VS, but the error persists.

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,420 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,693 questions
asked 2024-05-24T05:48:47.9466667+00:00
Hassan Raza Khan 0 Reputation points
commented 2024-05-24T06:57:38.6033333+00:00
JasonPan - MSFT 4,396 Reputation points Microsoft Vendor
1 answer

ArgumentNull Exception in .NET Framework 4.8 "System.Security.SecurityElement.FromString(String xml)"

I get an "ArgumentNullException" from the .NET Framework 4.8, when the calling code makes a Code-Access Policy "Demand" request (attribute usage see below) The program is a WinForms application. The stack-trace is: at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
asked 2024-05-22T12:50:11.1666667+00:00
Liedtke, H 0 Reputation points
commented 2024-05-24T06:46:44.6533333+00:00
Liedtke, H 0 Reputation points
0 answers

Get all drives in MAC ?

Hi Bruce, Maui approach is to run windows in a vm, and use visual studio for windows. How i get in C# all the drives in MAC ? Thanks in advance,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-05-14T03:29:53.6166667+00:00
Dani_S 2,886 Reputation points
commented 2024-05-24T06:11:19.4733333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
0 answers

Bluetooth LE - BluetoothLEDevice.FromBluetoothAddressAsync returns null after UnpairAsync() is called until the peripheral is power cycled or the RPA rolls over

Greetings Here are the reproduction steps for this bug. I have an Ellisys trace and logs gathered using WPR that I don't want to post publicly, but can share with someone from MS. Pair a Bluetooth LE peripheral with windows. Observe that a new…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,806 questions
Universal Windows Platform (UWP)
.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,131 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,410 questions
asked 2024-05-23T02:26:12.08+00:00
EricP-8687 60 Reputation points
commented 2024-05-24T06:10:37.13+00:00
Junjie Zhu - MSFT 15,756 Reputation points Microsoft Vendor
0 answers

Server project can not run client project in blazor hosted WASM application for firefox broswer only

I had develop blazor hosted WASM application. when run blazor application server program.cs can not run client program.cs i.e server project serve the client static assets of www root folder only can not initialize the client . server can not bind with…

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,420 questions
asked 2024-05-23T22:16:28.59+00:00
Ramesh Penta 0 Reputation points
commented 2024-05-24T05:53:00.3333333+00:00
Brando Zhang-MSFT 2,966 Reputation points Microsoft Vendor
0 answers

How to use localized RESX in Blazor WASM?

Hi, all I want is standard "old way" usage of generated static properties of my RESX to localize texts based on CultureInfo and .culture.resx files. I've just figured out, that only difference from .NET Framework is that now in .NET 8 culture…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,237 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,377 questions
asked 2024-05-22T07:01:50.83+00:00
Rada Matěj 180 Reputation points
commented 2024-05-24T05:47:00.4166667+00:00
Tiny Wang-MSFT 1,746 Reputation points Microsoft Vendor
0 answers

Reopening the app from background is crashing with an exception of "Window was already created" from base.onresume().

When I try to reopen an app from background it is crashing when I am using base.onresume() in mainactivity. It gave an exception "Window was already activated". I saw some work around of adding launchmode as singletop or singletask would work…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-05-08T07:28:42.4233333+00:00
Keerthana Krishna 40 Reputation points
commented 2024-05-24T05:33:04.2333333+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

how to fix 10.2.4.1 Security - Software Dependencies ( .net blazor maui 8.0) to microsoft store

i have published my application in store, recently update my maui blazor application 6.0 tp 8.0 when I submit my msix package to store I am getting 10.2.4.1 Security - Software Dependencies Products may depend on non-integrated software (such as another…

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,420 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
889 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,410 questions
asked 2024-05-04T06:48:07.5833333+00:00
Maharasa Subramaniyan 0 Reputation points
commented 2024-05-24T05:15:23.7666667+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 27,106 Reputation points Microsoft Vendor
1 answer

RichTextBox Details

I need more information about the RichTextBox in winforms/dotnet 8/C# 12/VS2022. Specifically, when I create custom RTF content based on the v1.5 spec and try to insert it (as selection or entire document), the RichTextBox strips out all of my custom…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,856 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,458 questions
asked 2024-05-23T21:05:20.31+00:00
Steve Andrews 0 Reputation points
answered 2024-05-24T03:23:26.1966667+00:00
Jiale Xue - MSFT 36,391 Reputation points Microsoft Vendor
0 answers

Dropbox on .NET Maui

I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 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,377 questions
asked 2024-05-12T21:27:18.04+00:00
Phunction 206 Reputation points
commented 2024-05-24T03:18:49.1266667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 36,951 Reputation points Microsoft Vendor
1 answer

Looking for ASP.NET Generic Oracle Padding Vulnerability fix

Is there a way to fix the Generic Padding Oracle vulnerability on an ASP.NET website using MVC that targets .NET Framework 4.8? I've tried downloading the patch from 2010 through Windows Update, but it doesn't seem to be available. I also attempted the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,312 questions
Windows Server Security
Windows Server Security
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
1,746 questions
asked 2024-05-23T21:35:36.81+00:00
Tim Davis 0 Reputation points
answered 2024-05-24T03:14:37.66+00:00
Lan Huang-MSFT 26,516 Reputation points Microsoft Vendor
1 answer

.Net Maui, ability to access external sd card

With the removal of read and write permissions to external storage, is there any way to access external SD cards? My app normally relies on being able to automatically backup data to external SD cards in the event the tablet dies or is broken. Is there…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,971 questions
asked 2024-05-15T16:07:34.8933333+00:00
Phunction 206 Reputation points
answered 2024-05-24T03:07:18.1633333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,386 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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,237 questions
asked 2024-05-21T18:19:57.5566667+00:00
Sherpa 181 Reputation points
commented 2024-05-24T02:57:56.4533333+00:00
Bruce (SqlWork.com) 57,886 Reputation points