Microsoft Q&A

.NET

20,566 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

20,566 questions with .NET-related tags

Sort by: Updated
0 answers

How to display autocomplete result id on first line and name on second line and designation to third line instead of using slash ?

I work on asp.net MVC web API . I face issue when call web API using jQuery ajax request my issue is autocomplete result display separated by slash Id - Name - Designation but expected result I need to get is : Id : 121 Name : michel nicol Designation :…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
982 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.
241 questions
asked 2023-09-22T23:54:26.29+00:00
Ahmed Abd El Aziz 265 Reputation points
2 answers One of the answers was accepted by the question author.

How to get error message or success after call action function using jquery ajax ?

I work on asp.net MVC application . I face issue I can't display error message or success message when call action RequesterIndex controller Resignation . calling API using ajax request working success only need to display error message or success…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,631 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
982 questions
asked 2023-09-13T09:00:41.16+00:00
Ahmed Abd El Aziz 265 Reputation points
accepted 2023-09-22T23:51:49.62+00:00
Ahmed Abd El Aziz 265 Reputation points
0 answers

How to run AI model in a Blazor frontend

Hi, What is the best way to run a AI model (programmed in Python) that has been deployed in Azure as a managed endpoint in the Blazor frontend of each user of a Blazor website? Is there a way to run the AI model in the Blazor frontend in a simple and…

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
2,075 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
5,919 questions
Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
93 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,102 questions
.NET Machine learning
.NET Machine learning
.NET: Microsoft Technologies based on the .NET software framework.Machine learning: A type of artificial intelligence focused on enabling computers to use observed data to evolve new behaviors that have not been explicitly programmed.
131 questions
asked 2023-09-21T17:27:39.8233333+00:00
Héðinn Steingrímsson 0 Reputation points
commented 2023-09-22T23:30:25.26+00:00
Héðinn Steingrímsson 0 Reputation points
1 answer

Remove the index.html from url asp .net react IIS

I have an asp.net core and react project and I publish it to the IIS server. But after deploying it, it showed 'page can't be found' error. And when I added /index.html to the url (www.mywebsite.com/index.html), it showed my website and it seemed to be…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-22T19:33:55.8066667+00:00
Jackie Moen 0 Reputation points
answered 2023-09-22T21:42:26.59+00:00
Bruce (SqlWork.com) 43,906 Reputation points
1 answer

WPF 3D to 2D projection appears wrong?

Have a case where a point on the PerspectiveCamera’s LookDirection vector does not project to the center of the Viewport3D. Any thoughts as to why? Here are details of the case (all the values are rounded for brevity): The Viewport3D is 778, 405. Any…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,019 questions
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,474 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.
8,955 questions
asked 2023-09-11T14:55:48.5633333+00:00
WoodManEXP 1 Reputation point
edited a comment 2023-09-22T19:41:20.39+00:00
WoodManEXP 1 Reputation point
2 answers

How to secure API KEY in .net MAUI?

I am new to .Net MAUI but fairly experienced with ASP.NET CORE and Blazor. I'm developing a MAUI application that will allow a user to integrate with third-party services using API keys. My issue is, I'd like to store API Key securely and nobody can…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,837 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.
8,955 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.
241 questions
asked 2022-10-16T08:11:56.553+00:00
ASAD ALAM 1 Reputation point
commented 2023-09-22T19:32:52.27+00:00
Dmitriy Reznik 231 Reputation points
0 answers

Memory Leak on ToolTip

In our product we are using a ribbon control with tool tips and it appears the tooltips are leading to memory leaks. I've been able to repeat with a simple sample project (attached as a .zip but renamed as .txt to allow attaching). It's simply a ribbon…

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,474 questions
asked 2023-09-19T14:42:34.43+00:00
James Pike 0 Reputation points
commented 2023-09-22T18:59:46.6166667+00:00
James Pike 0 Reputation points
0 answers

.net maui fully custom splash screen

I am working on . net maui splash screen but there are android 12 and later issues. So I can not set splash screen like make image like previous android versions. But I want and set it image that has contents on all screen. I have seen many splash…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,146 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,837 questions
asked 2023-09-22T18:15:18.9866667+00:00
Haider Ali Faizi 20 Reputation points
edited the question 2023-09-22T18:18:27.8566667+00:00
Haider Ali Faizi 20 Reputation points
0 answers

duplicate request method names in .net proxy class + BizTalk

we have XSD published as service in BizTalk, the end point is getting called by .net technology . When .net team try to consume the service using add service reference it creates the service.cs class library which has all the classes and methods for the…

Microsoft BizTalk Server
Microsoft BizTalk Server
A family of Microsoft server products that support large-scale implementation management of enterprise application integration processes.
326 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
2,019 questions
asked 2023-09-22T17:41:31.92+00:00
bala gangadhar vallapu 1 Reputation point
0 answers

Output to Blazor backend from Azure deployed AI model

Hi, We need to get the output of an AI model that runs as a managed endpoint in Azure to our Blazor backend. What is the best way to do that? Is there a way to send the output from the AI model to the Blazor backend once it is ready? If yes, how exactly…

Azure Managed Applications
Azure Managed Applications
An Azure service that enables managed service providers, independent software vendors, and enterprise IT teams to deliver turnkey solutions through the Azure Marketplace or service catalog.
93 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,102 questions
asked 2023-09-21T17:14:52.9166667+00:00
Héðinn Steingrímsson 0 Reputation points
edited the question 2023-09-22T17:36:57.5133333+00:00
kobulloc-MSFT 17,196 Reputation points Microsoft Employee
0 answers

Hangfire is not working for CosmosDB after migrating from MongoDB giving error: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : "DuplicateKey", Code : 11000, Message : "E11000 duplicate key error collection: Hangfire

We were using MongoDb in our project and Hangfire was working perfectly fine over there but after we have shifted to CosmosDb Hangfire has stopped working, we are using MongoClient only to connect to CosmosDB by passing CosmosDB connection string to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,191 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
982 questions
asked 2023-09-06T10:25:26.57+00:00
Murtuza Pithawala 0 Reputation points
commented 2023-09-22T17:18:31.4166667+00:00
Oury Ba-MSFT 13,171 Reputation points Microsoft Employee
1 answer

.NET Maui: how do you process low memory notifications from iOS

iOS sends warnings to an app when it approaches its memory limit. How do you process those warnings in a .NET Maui app? (I see that for Android, .NET Maui supports delegates OnApplicationLowMemory and OnApplicationTrimMemory, but I do not see any such…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,837 questions
asked 2023-09-06T02:48:46.1+00:00
Kurt K 96 Reputation points
commented 2023-09-22T16:58:38.1833333+00:00
Kurt K 96 Reputation points
4 answers

When Microsoft will release Entity Framework 6.x (.NET Full framework) having Microsoft.Data.SQLClient support?

We are migrating our .NET Full framework 4.8 based Data Access Layer projects from System.Data.SQLClient to Micosoft.Data.SQLClient. While it is very straightforward for AD0.NET based projects, we do have some projects where we are also using EF 6.0. As…

Entity Framework 6.0
Entity Framework 6.0
A Microsoft open-source object-database mapper for .NET.
258 questions
asked 2023-06-05T07:36:18.9+00:00
Buch, Dishant 5 Reputation points
commented 2023-09-22T16:56:44.3966667+00:00
Bruce (SqlWork.com) 43,906 Reputation points
3 answers One of the answers was accepted by the question author.

Special characters in a textbox

Hi , i have crated a textbox which shows current date . i want that user cannot enter special characters inside that except - or / . can you please suggest how to do it .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,625 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.
8,955 questions
asked 2023-09-22T09:07:13.48+00:00
Shaifali jain 80 Reputation points
answered 2023-09-22T16:30:02.72+00:00
KOZ6.0 235 Reputation points
0 answers

In Blazor MAUI with a shared UI library, navigation doesn't work

In a shared blazor library, login page and sample page are defined. Here is the Minimum Reproducible Example: https://github.com/johnmangam/ShellNavigation/ Login.razor @page "/login" @inject NavigationManager navigationManager <button…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,837 questions
asked 2023-09-22T16:27:50.62+00:00
John Mangam 0 Reputation points
2 answers

Visual Studio for Mac support .NET 7.0 Bindings to Xcode 15?

Hello, we are in the middle of porting our Xamarin Forms application to .NET MAUI and need to know if Visual Studio for Mac will support .NET 7 binding for Xcode 15, and if so, do you have information about a release date?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,770 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,837 questions
asked 2023-09-20T18:19:55.8+00:00
Miguel Jimenez 0 Reputation points
commented 2023-09-22T16:08:26.3633333+00:00
Bruce (SqlWork.com) 43,906 Reputation points
1 answer One of the answers was accepted by the question author.

SSL connection could not be established with .Net HttpClient

Hi, Attempting to make api calls to Yelp Fusion via .Net 3.1 api but receiving the following error: Error Message: The SSL connection could not be established, see inner exception. Source: System.Net.Http Trace: at…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-22T00:20:37.9133333+00:00
wrappingduke 21 Reputation points
accepted 2023-09-22T16:04:17.5733333+00:00
wrappingduke 21 Reputation points
1 answer One of the answers was accepted by the question author.

Pdf file creation

Hello Friends. I am trying to create a Pdf by using a service in .Net Maui. At the code below it throws a System.NullReferenceException. Can someone tell me what might be going on. Thanks…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,837 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.
8,955 questions
asked 2023-09-20T00:44:08.1933333+00:00
Ronald Rex 1,271 Reputation points
accepted 2023-09-22T15:52:32.14+00:00
Ronald Rex 1,271 Reputation points
1 answer

Deploy an asp.net core API on a Linux server with nginx

hi I followed your tutorial on deploying an asp.net core API and I followed the same logic to deploy my API on an ubuntu server with Nginx, it happens that locally I access the API from the development environment, and even from another machine on the…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
583 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 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.
8,955 questions
Microsoft Intune Linux
Microsoft Intune Linux
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Linux: A family of open-source Unix-like operating systems.
23 questions
asked 2023-09-21T11:42:05.2133333+00:00
Marnelle M'BENGUET 0 Reputation points
answered 2023-09-22T15:38:28.5933333+00:00
Bruce (SqlWork.com) 43,906 Reputation points
1 answer

ASP.Net Core Identity : Credential Obfuscation

I am new to ASP.Net Core Identity and new to Encryption. I followed the article @ https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=visual-studio I created a new Web App using ASP.NET Core Web App…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,546 questions
asked 2023-09-22T01:53:45.9833333+00:00
Dan Lee 0 Reputation points
answered 2023-09-22T15:23:16.12+00:00
Bruce (SqlWork.com) 43,906 Reputation points