24,010 questions with .NET-related tags

Sort by: Updated
0 answers

How to apply Width and Height of Text on CanvasDevice's DrawText

//JSON file "Templates": [ { "TemplateID": "1", "TemplateName": "WHITE", "CardFeeder": "A", "Sides": [ { "Side":…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 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,286 questions
asked 2024-05-07T02:46:56.3133333+00:00
Saranya Karthik 40 Reputation points
1 answer One of the answers was accepted by the question author.

WPF Select All Checkbox in a DataGrid DataBinding (Using Xampp, SQLYog, ODBC Driver)

Hi! Everyone I have been searching and integrating all checkbox multiselect from the answers I found online, and I l learnt so much, whether they use MVVM Light tollkit and Non-MVVM approach. All of them runs in different way but all are fulfilled the…

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,678 questions
asked 2024-04-30T06:36:42.5033333+00:00
Superbia15 20 Reputation points
accepted 2024-05-07T02:44:53.64+00:00
Superbia15 20 Reputation points
1 answer

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,277 questions
asked 2024-05-06T10:18:01.0933333+00:00
Setteidea SRL 0 Reputation points
answered 2024-05-07T02:38:53.48+00:00
Lan Huang-MSFT 25,716 Reputation points Microsoft Vendor
1 answer

running asp.net application on localhost asking for authentation

I have an application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the application.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 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,286 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-07T02:35:43.61+00:00
Brando Zhang-MSFT 2,956 Reputation points Microsoft Vendor
0 answers

How to pass values from a Razor page to an Asp.Net MVC controller

I am working on an Asp.Net Core MVC project. The identity was scaffolded and uses Razor pages. When the user enters the username and password, if they are valid, they will be redirected to an MVC controller where they have to answer a security question.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
asked 2024-05-07T02:32:23.82+00:00
Sherpa 161 Reputation points
1 answer

building simple MAUI app causes an error

Type "Shell" was not found. Verify .... It is literrally the first line in AppShell.xaml. I have just created a new application and not edited any pages. The defult pages should be correct and buildable in sample app.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 questions
asked 2024-05-06T22:11:05.73+00:00
Tariq Roshan 0 Reputation points
answered 2024-05-07T02:28:09.4166667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 35,806 Reputation points Microsoft Vendor
0 answers

IMAGE UPLOAD USING PHOTO PICKER DIALOG

RegistrationForm.cshtml <div class="mt-2"> <div class="row"> <div class="col-7 col-sm-6"> <div class="d-flex…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 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.
300 questions
asked 2024-05-02T10:39:55.1833333+00:00
Nandini S 20 Reputation points
commented 2024-05-07T02:22:49.7966667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
1 answer

Under Posting Attack in .NET Core

In .NET 6 I have a DTO with value data types like int. But while sending a POST request if user omits the value for that default value is getting assigned without any Error. What are the best practices to avoid this under posting? I have tried using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
asked 2024-05-03T10:05:35.66+00:00
net 6 newbie 121 Reputation points
commented 2024-05-07T02:09:34.7566667+00:00
Ping Ni-MSFT 2,250 Reputation points Microsoft Vendor
0 answers

Access data stored in vTPM

Hi All, We have a WPF application running on .Net Framework v4.8. We are currently using 'ESXi' to host 'Windows Server 2022', which inturn hosts the WPF application. We are planning to store all the sensitive data related to the application, such as…

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,678 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,286 questions
asked 2024-05-06T12:16:02.39+00:00
S Abijith 346 Reputation points
commented 2024-05-07T02:03:01.4633333+00:00
Hui Liu-MSFT 40,271 Reputation points Microsoft Vendor
0 answers

How to fix Error CS0029 Cannot implicitly convert type 'void' to 'System.Collections.Generic.List<Vase.Models.Person>'

var user = from u in conn.Table<Person>() querywhere u.name == "WALE" select u; return user.FirstOrDefaultAsync().Wait(); I got error in the bold line. i cant figure what i did wrong pleas help

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,903 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,286 questions
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-05-07T00:20:57.27+00:00
Gbenga Banuso Odumosu 0 Reputation points
edited the question 2024-05-07T02:01:28.62+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
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-07T01:56:51.4266667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
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),…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,178 questions
asked 2024-05-06T10:06:31.3666667+00:00
Mahdi Khardani 0 Reputation points
commented 2024-05-07T01:42:09.4766667+00:00
SurferOnWww 1,916 Reputation points
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,194 questions
asked 2024-05-03T09:03:54.2166667+00:00
robin lenaerts 0 Reputation points
commented 2024-05-07T01:36:34.4533333+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
0 answers

How to use condition to compare two things for dropdown and an empty field in wpf?

Hi Team Need to use a condition will check if combo box(truck-empty) for selected item and when an empty field(topseal and bottomseal), needs to validate for both. Meaning when a user selects this combo box for truck-empty condition must met only here,…

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,678 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,286 questions
asked 2024-05-06T20:20:32.45+00:00
Gcobani Mkontwana 20 Reputation points
edited the question 2024-05-07T01:35:23.34+00:00
Hui Liu-MSFT 40,271 Reputation points Microsoft Vendor
2 answers

Cancel Request after press button

Hello, We are using MVC .NET Core framework 6 and we need to cancel or kill request after send. For example after press a button that execute some actions in oracle Database. We need to Cancel this request from another button. Is this possible? and if…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 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.
300 questions
asked 2024-05-06T17:37:48.1266667+00:00
Ibrahim Shawky 20 Reputation points
answered 2024-05-07T01:19:33.3666667+00:00
SurferOnWww 1,916 Reputation points
1 answer

Do you know of any forum sites that except questions about uwp making apps & coding, from visual studio 2022

Do you know of any forum sites that except questions about making uwp apps & coding, from visual studio 2022

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,399 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 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,125 questions
asked 2024-04-19T11:34:06.13+00:00
Luke Ferguson 46 Reputation points
edited the question 2024-05-07T00:55:57.38+00:00
Roy Li - MSFT 32,051 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Dangerous site - attackers on the site you're trying to visit might trick you

I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,194 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,277 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,286 questions
asked 2024-04-19T18:56:41.28+00:00
Anjali Agarwal 1,386 Reputation points
accepted 2024-05-06T23:51:20.61+00:00
Anjali Agarwal 1,386 Reputation points
2 answers

How to register class library create with .NET 6.0?

I have a class library project create with .NET framework 4.7, and I use RegAsm.exe to register this library. Recently I upgrade this project to .NET 6.0, and I can not found .net 6.0 version of "RegAsm.exe", so, what can I do?

.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,125 questions
asked 2022-08-18T09:12:40.47+00:00
aluzi liu 486 Reputation points
commented 2024-05-06T20:55:38.9566667+00:00
Bobbili, Rohit R 36 Reputation points
2 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
asked 2024-05-06T08:53:53.8966667+00:00
R9I1 1 Reputation point
answered 2024-05-06T20:10:07.9+00:00
Bruce (SqlWork.com) 56,771 Reputation points
1 answer

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,194 questions
asked 2023-11-25T06:17:39.8666667+00:00
CHAMIKA 20 Reputation points
answered 2024-05-06T19:50:04.2333333+00:00
Bruce (SqlWork.com) 56,771 Reputation points