22,460 questions with .NET-related tags

Sort by: Updated
0 answers

My C++ .NET Core library works in Windows 10, but not in Windows 11

I have a C++ CLR Class Library (.NET). It can be as basic as a single method: #pragma once #include <iostream> using namespace System; namespace CoreLibraryFails { public ref class Class1 { // TODO: Add your methods for this class…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 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,384 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
7,159 questions
asked 2024-01-15T12:35:29.38+00:00
David McKay 1 Reputation point
0 answers

Reusable component

I have 4 pages, that they almost do the same thing. Schedule test schedule lecture new test new lecture My NewLecturePage looks like this. <ContentPage.Behaviors> <mct:EventToCommandBehavior Command="{Binding…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,371 questions
asked 2024-01-12T22:46:27.1066667+00:00
Eduardo Gomez 2,996 Reputation points
edited a comment 2024-01-15T12:35:09.6833333+00:00
Eduardo Gomez 2,996 Reputation points
2 answers

How to use Managed Identity for EF6 (edmx files)

Is it possible to use ManagedIdentity with EF6 projects that uses Database first approach using ObjectContext(https://learn.microsoft.com/en-us/dotnet/api/system.data.objects.objectcontext?view=netframework-4.8.1)? Connection strings in this instances…

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,909 questions
asked 2024-01-15T10:33:05.91+00:00
Smruti 0 Reputation points Microsoft Employee
commented 2024-01-15T12:33:33.9233333+00:00
ErikEJ 336 Reputation points MVP
0 answers

Permission Based Authorization In Blazor .Net 8

Hi , i want tutorial or sample code for add permission based authorization with identity for .net blazor 8 ?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,909 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,274 questions
asked 2024-01-15T12:31:34.58+00:00
Mahdi Elahi 21 Reputation points
0 answers

ASP.NET sgen.exe fails during build

I have a Web site with ASP.NET in VS 2022. When I add a web service reference I get an error on publishing: "sgen.exe" ended with Code 1. In the internet I found the solution: "Go to the project properties and click on the Build tab and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,091 questions
asked 2024-01-15T12:22:04.36+00:00
Uwe Domschke 1 Reputation point
0 answers

How to create Android Java Library Binding project in Visual Studio 2022

I am trying to create an Android Java Library Binding project, but it's not listed in project templates. I have Visual Studio 2022 17.8.0 and .NET MAUI development installed. I am following this documentation:…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,371 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,719 questions
asked 2024-01-15T12:00:00.62+00:00
Ömer Faruk Arslan 0 Reputation points
3 answers

How to implement remember me in the login page?

Hi All, How to implement the remember me? what I expect is if the user select the "remember me" then if they logged out and come back again they should not need to enter their user email and password. I use NetCore 6 C# below, the IsPersistent…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,909 questions
asked 2024-01-14T15:00:15.28+00:00
Dondon510 221 Reputation points
commented 2024-01-15T11:58:28.7+00:00
Dondon510 221 Reputation points
2 answers

how to download the large files(18 GB) from azure private storage containers in asp.core ?

we have line of business to provide the files download functionality from azure storage to client accessing web application developed asp.net core mvc hosted in azure. Downloading via Sas is working for fine only the storage account which is…

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,172 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,909 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,091 questions
asked 2024-01-05T11:31:51.94+00:00
Natarajan, Srikanth 0 Reputation points
commented 2024-01-15T11:35:07.18+00:00
Anand Prakash Yadav 1,945 Reputation points Microsoft Vendor
0 answers

Do you want to know about Family travel blog | Family vacation inspiration | The mother of all trips ?

Family Travel Blog | Family Vacation Inspiration | The Mother of All Trips Embarking on a family vacation is more than a mere escape; it is an odyssey filled with shared laughter, cherished memories, and the joy of exploration. In this detailed family…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
asked 2024-01-15T11:09:19.2566667+00:00
Sumon Hossain 0 Reputation points
1 answer

Issues with OpenIdConnect and MS Identity Web

I use OpenId Authentication combined with MS Identity Web within a .NET6 Razorpage Project. I can log in with an account with Global Admin and "TENANT.onmicrosoft.com" and am redirected to /Index. As soon as I want to log in with a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,909 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,984 questions
asked 2024-01-08T10:44:43.6533333+00:00
Fabian Homann 21 Reputation points
commented 2024-01-15T11:09:12.89+00:00
Shweta Mathur 23,736 Reputation points Microsoft Employee
0 answers

.NET Technology Stack latest Diagram

Hi. Please can someone point me to the latest (2024) .NET Technology Stack diagram? I have searched the web but found nothing about .NET Core and ML.NET in those diagrams. Thanks.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
asked 2024-01-14T15:39:10.2233333+00:00
Arshad Nazeer 21 Reputation points
commented 2024-01-15T10:48:35.0566667+00:00
Arshad Nazeer 21 Reputation points
1 answer One of the answers was accepted by the question author.

How to use the required modifier in C# properties correctly?

public class State { public int StateId { get; set; } public required string StateName { get; set; } public required ICollection<District> Districts { get; set; } public static void CreateNewState() { State state =…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
662 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,719 questions
asked 2024-01-15T06:46:19.88+00:00
Goverdhan Jayaram 20 Reputation points
commented 2024-01-15T10:17:48.37+00:00
Goverdhan Jayaram 20 Reputation points
1 answer

double.TryParse has bug ???

var number = "422.3262"; double.TryParse(number, NumberStyles.Float, CultureInfo.InvariantCulture, out double value); When I run the above code on the console program,the result is 422.3262 But when I run it on the asp.net program,the result is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,091 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,719 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
891 questions
asked 2024-01-12T06:08:45.4133333+00:00
man out 0 Reputation points
commented 2024-01-15T10:11:06.8766667+00:00
man out 0 Reputation points
2 answers

The LinkButton in Nested GridView is not responding to any event. How to solve this

The LinkButton in Nested GridView is not responding to any event. How to solve this code.pdf

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,091 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,719 questions
asked 2024-01-12T11:04:16.3833333+00:00
Anoop Mathur 0 Reputation points
commented 2024-01-15T10:11:02.5466667+00:00
Anoop Mathur 0 Reputation points
2 answers

asp.net c# url

I am using asp.net c# and xml file and want to create url like as given below example: this one original url ~/products/product123.aspx and open to ~/products123.aspx when the user click the hyperlink open the ~/products123.aspx instead of…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,091 questions
asked 2024-01-13T19:10:45.24+00:00
Ibrar Tariq 0 Reputation points
edited an answer 2024-01-15T10:05:05.5533333+00:00
Lan Huang-MSFT 21,371 Reputation points Microsoft Vendor
2 answers

where can i get {directory-object-id}

DELETE https://graph.microsoft.com/v1.0/groups/{group-id}/members/{directory-object-id}/$ref I need {directory-object-id} value how can I get the value {directory-object-id}

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,486 questions
asked 2024-01-12T10:12:36+00:00
Navuluri, Sai Chandu 0 Reputation points
edited an answer 2024-01-15T09:58:20.47+00:00
CarlZhao-MSFT 33,651 Reputation points
2 answers

vb.net [not C#] - Taskbar Apps

I've been making my own Shell for Windows and I am trying to make the small little apps on the bottom of the taskbar, like this. I don't know how to make it though. Any suggestions for help? I will be using a PictureBox and a TextLabel on top. Also,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
asked 2023-12-29T10:10:41.03+00:00
Toby Winter 1 Reputation point
commented 2024-01-15T09:57:03.5+00:00
Jiachen Li-MSFT 22,756 Reputation points Microsoft Vendor
1 answer

How i can use Azure Active Directory Authentication in .NET 8 blazor web app (Auto)

I have created an application using Blazor Web app template and choose Auto (Web assembly and Server). Now I want to use Azure Active Directory (AAD) login for Authentication, How I can do this in my application and what packages I need to install and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,003 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,909 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,274 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,984 questions
asked 2024-01-03T15:48:12.9933333+00:00
Kuldeep Y 36 Reputation points
commented 2024-01-15T09:35:07.53+00:00
Kuldeep Y 36 Reputation points
1 answer

Can't use Microsoft.Maui.Storage.Preferences in unit testing

Hi, I am migrating one Xararin Forms project to MAUI. The application code works fine. On the unit testing side of it some of the places App.Properties was used which is now replaced with Microsoft.Maui.Storage.Preferences but this doesn't seem to be…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,371 questions
asked 2023-03-18T13:19:55.1833333+00:00
Dewangan, Khagesh 40 Reputation points
answered 2024-01-15T09:33:35.2466667+00:00
Houssem Dbira 1 Reputation point
0 answers

Blazor server application with SSO using Microsoft Entra ID. Getting "Need admin approval" screen on login.

Hello, We recently started developing a small web app using Blazor. We chose Blazor server app and want to have kind of an automatic log-in for users in the future, so for that purpose we chose to use Microsoft Entra ID as we already have it configured…

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
714 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,274 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,334 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
17,984 questions
asked 2024-01-15T09:33:00.64+00:00
Gvidas Šniolis 0 Reputation points