Microsoft Q&A

.NET

12,858 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,858 questions with .NET-related tags

Sort by: Created
0 answers

404 issue to the file

Hi, Due to issue like What to adjust below? <body style="background-color: ???; background-image:url(beautiful_Currency0e.jpg);">

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
443 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
390 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,174 questions
asked 2023-01-28T08:50:16.07+00:00
Peter_1985 1,826 Reputation points
0 answers

game slots baik

Segera daftarkan diri anda karena modal awal yang kecil akan membuat anda mendapatkan keuntungan yang lebih besar. Akses link alternatif vegasslots untuk mendapatkan situs resmi agar pendaftaran anda cepat, aman dan terpercaya. Transaksi yang sudah masuk…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-28T07:06:18.3166667+00:00
bagus santoso 0 Reputation points
0 answers

the taghelper do not rendered?

using Microsoft.AspNetCore.Razor.TagHelpers; namespace tag.Components { [HtmlTargetElement("pagination", TagStructure = TagStructure.WithoutEndTag)] public class PaginationTagHelper : TagHelper { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
390 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 questions
asked 2023-01-28T01:27:55.3233333+00:00
打玻璃 1,426 Reputation points
commented 2023-01-28T07:54:24.9066667+00:00
打玻璃 1,426 Reputation points
0 answers

When entering a "T" in an asp.net multi-line text box, only one <Shift> key event is caught by the onkeydown event handler of the text box.

In an ASP.NET writable multiline text box, when a "T" is entered, only a <Shift> key keydown event is caught by the text box's onkeydown event handler, and the "T" never shows up. This is running in Microsoft Edge browser. Web…

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.
142 questions
asked 2023-01-27T22:40:39.66+00:00
kip2023 0 Reputation points
0 answers

Convert Image in Byte array with the same PixelFormat

Hi I had a System.Drawing.Image object with PixelFormat.Format8bppIndexed, If I convert it in a Byte Array through Image.Save(Stream, ImageFormat), and create a new image based in this Byte Array, the new image has PixelFormat.Format24bppRgb. My final…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T21:45:58.9266667+00:00
Abraham Carrillo 6 Reputation points
1 answer

Sodium.js error

Does anyone know what is sodium.js and what is this error means? This error started showing in my asp.net MVC app. I have autocomplete on my text field which uses json call which queries database and I've noticed that even the autocomplete works,…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,174 questions
asked 2023-01-27T19:24:15.99+00:00
Joe Green 141 Reputation points
answered 2023-01-27T20:43:37.8166667+00:00
Bruce (SqlWork.com) 27,936 Reputation points
1 answer

Debugging Shell Navigation

Hello Friends, I was wondering if anyone knows where to put my DebuggerDisplay Attribute annotations so that I can debug my navigation requests. Thanks !!! Debugging navigation Some of the Shell classes are decorated with the DebuggerDisplayAttribute,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 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.
6,914 questions
asked 2023-01-27T19:08:08.5433333+00:00
Ronald Rex 506 Reputation points
commented 2023-01-27T20:01:26.1666667+00:00
Ronald Rex 506 Reputation points
0 answers

Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction

I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
asked 2023-01-27T16:29:45.1233333+00:00
john john 676 Reputation points
edited the question 2023-01-27T16:32:37.7666667+00:00
john john 676 Reputation points
1 answer One of the answers was accepted by the question author.

Datagridview Font When editing cell

I have not used the Datagridview before so have started a test Windows Forms app to learn about it. I notice that when I edit a cell the font size changes to something too small to read, is there a way to prevent this?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T16:02:10.4366667+00:00
Jeff Gaines 1 Reputation point
commented 2023-01-28T09:40:34.1133333+00:00
Jeff Gaines 1 Reputation point
0 answers

Shell Navigation and using a Dictionary to pass values.

I am trying to learn how to pass complex data types to a page using a Dictionary. As you can see in the example code below that Name was hardcoded, but I was wondering what is the best practice if I wanted to dynamically set the Name property in the view…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 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.
6,914 questions
asked 2023-01-27T15:01:59.6933333+00:00
Ronald Rex 506 Reputation points
edited the question 2023-01-27T15:16:32.2166667+00:00
Ronald Rex 506 Reputation points
0 answers

How to sign using a certificate?

I have been trying to digitally sign my code using a certificate, but I am going to the project properties window, and not seeing the signing tab when I'm there. Is there anything I need to have downloaded in order to do this? Or is there a way to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T14:42:44.78+00:00
Navya Ajay 0 Reputation points
0 answers

How can i call a stored procedure Oracle In Entity framework6

I have a proc in oracle that return somme parameters and one of this parameter is a record of table in sql developper declare -- Non-scalar parameters require additional processing p_tab_charge_account…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T14:37:29.33+00:00
BITAR Yoan 0 Reputation points
1 answer One of the answers was accepted by the question author.

ASPNET authentication works but value for user.Identity.Name is null

I get a null value for user.Identity.Name, but user.Identity.IsAuthenticated returns the correct value. I get my claim values too. I have only found a few posts about user.Identity.Name is null, but nothing has solved it. I have a simple login form: …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 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.
781 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.
6,914 questions
asked 2023-01-27T14:29:56.4566667+00:00
perfect code 81 Reputation points
commented 2023-01-27T15:41:38.02+00:00
perfect code 81 Reputation points
1 answer

.NET Core API Framework Warning

Hi All, I am developing an application using .NET Core with angular client. I am exporting the data to excel and generating the file in C# .NET Core. I am using a nuget package for the same. After installing the nuget package in the project I am getting…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
asked 2023-01-27T14:03:43.83+00:00
Pratham Jain 61 Reputation points
answered 2023-01-27T14:21:21.36+00:00
AgaveJoe 16,786 Reputation points
1 answer One of the answers was accepted by the question author.

What is the difference of = and {get;set;}?

public int PageIndex{get;set;}=0; public int PageIndex=0; what is the difference?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
390 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 questions
asked 2023-01-27T14:03:05.81+00:00
打玻璃 1,426 Reputation points
accepted 2023-01-28T01:08:55.3866667+00:00
打玻璃 1,426 Reputation points
1 answer One of the answers was accepted by the question author.

Parse an array of objects to a JSON tree structure

I'm trying to use the bootstrap treeview and the JSON needs to be a certain format. I currently have this format: var data = [ { make: "Chevy", model: "2500", location: "lot" }, { make:…

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.
6,914 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-27T12:38:51.11+00:00
TheCoder 61 Reputation points
edited the question 2023-01-27T21:22:01.69+00:00
Reza Aghaei 2,601 Reputation points Microsoft MVP
0 answers

How to remove validation-info in text?

in Index.cshtml <form> <div class="row"> <div class="col-sm-2"> <label class="col-form-label">客户:</label> <div> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
390 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 questions
asked 2023-01-27T12:33:03.2066667+00:00
打玻璃 1,426 Reputation points
commented 2023-01-27T12:42:05.3866667+00:00
AgaveJoe 16,786 Reputation points
1 answer

Blazor webassembly shows 405 error in localhost (and also when deployed to iis) when redirect back from payment website

I have created a blazor webaseembly project using .net 7. The blazor app redirects to an external url for payment. Once payment is done the payment status page(which is in the blazor app) should be loaded as that's the return url set while calling the…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
781 questions
asked 2023-01-27T11:08:51.96+00:00
Jayant Guru 0 Reputation points
answered 2023-01-27T20:51:02.57+00:00
Bruce (SqlWork.com) 27,936 Reputation points
1 answer One of the answers was accepted by the question author.

How to change value of input field in a strongly-typed view from controller

Hello I am using ASP.NET Core 3.1 How can I change the value of the input fields in a strongly-typed view from controller. I have this simple example. I have three input fields and when the usee enters some values and submit them, I modify the values the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
579 questions
asked 2023-01-27T11:07:27.1466667+00:00
Jeddah 86 Reputation points
commented 2023-01-27T14:26:50.3766667+00:00
Jeddah 86 Reputation points
1 answer

How to use ReportViewerForMVC in ASP.NET CORE Web Application

I am trying to integrate SSRS report into my asp.net core web app. I followed some tutorial on how to setup report viewer in asp.net mvc using the ReportViewerForMVC nuget package. However I encounter the following error. Hope someone can help to guide…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,524 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,093 questions
asked 2023-01-27T10:58:24.45+00:00
Gee Soon 0 Reputation points
answered 2023-01-27T11:10:40.9466667+00:00
Olaf Helper 25,476 Reputation points