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: Updated
6 answers One of the answers was accepted by the question author.

How to show a loading prompt in view before the controller loaded the data?

With asp.net core 6.0 mvc It needs several seconds to load data in controller,before that ,how to show a loading promt in the view?

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 2022-05-23T03:27:10.04+00:00
Alick Wang 1 Reputation point
accepted 2023-01-28T09:02:25.6233333+00:00
Alick Wang 1 Reputation point
4 answers

what's the render order when a user visit a page via browser?

.net core mvc route->action->chtml?

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 2022-12-27T14:27:40.817+00:00
Alick Wang 1 Reputation point
commented 2023-01-28T09:02:17.7366667+00:00
Alick Wang 1 Reputation point
4 answers

Web form issue

Hi, I get "undefined" unexpectedly to the column/field below, while there is the proper row value returned from the table. What is the reason? html += "<td >货币</td><td style='font-weight:…

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
asked 2023-01-20T07:49:30.2666667+00:00
Peter_1985 1,826 Reputation points
answered 2023-01-28T09:01:17.8066667+00:00
MesseAcess 0 Reputation points
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);">

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,174 questions
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
asked 2023-01-28T08:50:16.07+00:00
Peter_1985 1,826 Reputation points
1 answer One of the answers was accepted by the question author.

How to ignore ETag checking and fix this error

I read from and write to blob content in Azure blob storage. File is being changed (new content is getting appended to the file) at the same time while it is being downloaded. I get error in the below stream.Read() line. Which I believe is because of…

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
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,911 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
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
1,387 questions
asked 2023-01-18T12:50:17.69+00:00
Sarah 131 Reputation points
accepted 2023-01-28T07:59:17.6133333+00:00
Sarah 131 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 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
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-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

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
1 answer

Intent Filter / DeepLink .Net MAUI

I want to implement an application that will be viewable in my application using Intent Filter. I added in the MainActivity.cs file Filter Intent [IntentFilter(new[] { Intent.ActionView }, Categories = new[] { Intent.ActionView, Intent.CategoryDefault,…

.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,911 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
599 questions
asked 2023-01-19T14:47:27.51+00:00
Влад Тигинян 0 Reputation points
accepted 2023-01-28T06:09:21.7566667+00:00
Влад Тигинян 0 Reputation points
1 answer

Dynamically Add Entry in a StackLayout and Retrieve Values in a List

As per the attachment, when clicked the '+' button, a new entry will display and need to store entered value in a List<string> . If 'x' clicked, the entry need to removed from the layout and removed from List<string> too.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,803 questions
asked 2023-01-25T06:26:49.88+00:00
Mohanasundharam Murugan 20 Reputation points
edited the question 2023-01-28T01:52:21.67+00:00
Rob Caplan - MSFT 4,026 Reputation points Microsoft Employee
1 answer

Possible Handle Leak on Azure App Service App

We have an ASP.NET 4.8 application hosted in Azure App Service. At times we see a spike in latency in usually a single instance which also shows spikes in CPU time, TCP connections, Thread Count and Handle count. The average thread count and and average…

Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,301 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,174 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
127 questions
asked 2023-01-23T04:59:13.44+00:00
Krishnadas K P_FT 0 Reputation points
commented 2023-01-28T01:32:42.3433333+00:00
Ryan Hill 15,991 Reputation points Microsoft Employee
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.

Converting Virtual Directory into an Application.

I am attempting to run a application and encounter this error when trying to execute a install script in browser. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. …

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-07T20:08:38.327+00:00
peter liles 351 Reputation points
accepted 2023-01-27T23:20:03.4233333+00:00
peter liles 351 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

Multiple authentication schemes do not work on Azure (app fails to start)

I try to work with two app registrations that uses one app service. appsettings.json "AzureAdInternal": { "Instance": "https://login.microsoftonline.com/", "Domain": "demo.example.com", …

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
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,301 questions
asked 2023-01-20T12:55:41.74+00:00
Jörg Auberg 20 Reputation points
commented 2023-01-27T21:42:59.04+00:00
Ryan Hill 15,991 Reputation points Microsoft Employee
7 answers

Unable to Resolve Scaffolding Issue in ASP.NET Core MVC Application

I'm getting the following error when I try to scaffold the Login, Logout, and Register pages. I ran the Visual Studio Installer to and clicked on the ASP.NET web development workflow to ensure I have all of the required tools installed. Version…

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
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,389 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-25T03:05:53.0133333+00:00
Xenu 0 Reputation points
commented 2023-01-27T21:32:58.8533333+00:00
Xenu 0 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,911 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
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
2 answers

Visual Studio Community 2022 (64-bit) v17.4.4 not showing any compile time errors for MAUI project.

Hi, I am using Microsoft Visual Studio Community 2022 (64-bit) - Current Version 17.4.4 for my MAUI projects but is not showing any compile time errors . is it any plugin missing?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
871 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,389 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.
693 questions
asked 2023-01-24T09:18:11.29+00:00
Sachin 21 Reputation points
commented 2023-01-27T20:50:25.88+00:00
Terry Hutt 0 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