Microsoft Q&A

.NET

12,941 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,941 questions with .NET-related tags

Sort by: Updated
0 answers

Button click event is not firing

Greetings again dear experts. I have an .aspx page with two sections One section allows our users to enter records displays existing records for update. The second allows users to preview the records, whether insert or update before submitting to the…

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.
401 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,831 questions
asked 2023-01-30T04:06:30.6633333+00:00
Simflex 81 Reputation points
edited a comment 2023-01-31T21:53:03.81+00:00
Simflex 81 Reputation points
1 answer

What are the possibilities of squaring a API web service with Azure?

I have some web products published as web api services for public and organizations and run on different platforms. Now I am interested to migrating them to Azure. Most of the services are developed under asp.net(framework 4.7.0) with owin(tokenized)…

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.
149 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
547 questions
Azure Firewall
Azure Firewall
An Azure network security service that is used to protect Azure Virtual Network resources.
333 questions
Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,078 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,622 questions
asked 2023-01-31T20:00:12.8766667+00:00
Tony 0 Reputation points
answered 2023-01-31T20:57:05.2866667+00:00
Mordecahi Malka 0 Reputation points
0 answers

Full text search of files Search.CollatorDSO.1

We are moving a site off an old server and need to update our search object that is no longer available on Server 2019. We currently query a catalog based on submitted search term and select doctitle, filename, size, path, url from a folder path and use…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,193 questions
Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
2,186 questions
asked 2023-01-31T20:40:42.12+00:00
gbp 96 Reputation points
2 answers One of the answers was accepted by the question author.

Auth cookie is deleted by the browser when it closes

I have a strange problem. When I close my browser (whether Chrome or MS Edge), my authentication cookie is deleted. Consequently, the next time I start the browser, I have to log in again. My controller looks like this: ClaimsIdentity claimsIdentity =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,546 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.
785 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
592 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,952 questions
asked 2023-01-31T19:34:06.25+00:00
perfect code 141 Reputation points
answered 2023-01-31T20:24:19.61+00:00
AgaveJoe 17,096 Reputation points
0 answers

Move Iothub to another subscription

Hi How can I move a Iot hub from one subscription to another. I need to have same connectionstring, Hostname, sharedkey etc

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
18 questions
asked 2023-01-31T19:54:29.2266667+00:00
Jönsson, Tony 0 Reputation points
2 answers One of the answers was accepted by the question author.

How do I get the List from firebase sorted?

The items display but I want them to be in ClubId order but can't get it to sort. What do I need to fix? Model/Club.cs public class Club { public int ClubId { get; set; } public string DateTime { get; set; } …

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,952 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,809 questions
asked 2023-01-16T01:25:36.04+00:00
Bruce Krueger 286 Reputation points
accepted 2023-01-31T19:54:06.73+00:00
Bruce Krueger 286 Reputation points
2 answers

Unable parse Json

Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,193 questions
asked 2023-01-26T19:22:34.45+00:00
Pradyut Sinha 11 Reputation points
commented 2023-01-31T19:49:12.7933333+00:00
Pradyut Sinha 11 Reputation points
0 answers

How to upload a large file using one drive API in ASP.net C#

How to upload a large file using one drive API in C# Please find the code as below as it is not working Please Help. [HttpPost] [Route("Uploadlargefile")] public async Task<string> UploadFileAsync(IFormFile…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,193 questions
asked 2023-01-31T19:44:22.41+00:00
Pradyut Sinha 11 Reputation points
0 answers

Unable to Delete document using One drive API in C#

I am unable to delete a document by using one drive API in ASP.Net(c#) if the document is open. How to check the document is already open by using one drive API. Please help.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,193 questions
asked 2023-01-31T19:35:29.9833333+00:00
Pradyut Sinha 11 Reputation points
2 answers

How can we make asynchronous call to edge hub trigger from a C# edge module ?

The iot edge solution is having 2 modules, first module is a C# module and second is Edgehub trigger module. First module is sending data in a loop to second module. I want the edge hub module to execute asynchronously static async Task…

Azure IoT Edge
Azure IoT Edge
An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
382 questions
Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
251 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things:
22 questions
asked 2022-11-11T13:03:53.49+00:00
Satyam Chauhan 171 Reputation points
answered 2023-01-31T19:18:45.75+00:00
RAVENO SPANNEBERG 0 Reputation points
1 answer

Error using Azure Migrate App containerization to migrate ASP.NET APP

First of all, I'm using the app conteinerization tool of Azure Migrate, I'm trying to migrate an ASP.NET App to AKS, using a VM that hosts Windows Server 2019. When I try to provide a cluster for AKS in the deployment specifications, I'm getting the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,193 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
547 questions
asked 2023-01-31T15:02:30.2266667+00:00
Moral Pezuela Pablo del 0 Reputation points
answered 2023-01-31T18:23:27.86+00:00
Arun Siripuram 661 Reputation points
2 answers

how to replace retired flashupload functionality with fileupload for single image in asp.net?

how to replace retired flashupload functionality used for uploading multiple images with fileupload for uploading single image in asp.net? Since flashplayer has reached end of support, I need to replace with existing alternative of fileupload control by…

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.
401 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
615 questions
asked 2023-01-30T11:35:16.76+00:00
Omble, Omkar [JANIE NON-J&J] 0 Reputation points
answered 2023-01-31T17:52:42.4+00:00
Albert Kallal 3,451 Reputation points
1 answer

.NET error in Event Viewer, "filenotfoundexception" "typeinitializationexception"

I'm at the end of my rope here. Details: Using Microsoft Visual Studio Installer Projects Windows 10 is the target system, x86 is the build target, x64 is the windows machine. I've built and deployed this installer with my projects into this machine…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
615 questions
Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
5,939 questions
asked 2023-01-17T18:30:35.1266667+00:00
nope no 1 Reputation point
commented 2023-01-31T17:42:17.05+00:00
nope no 0 Reputation points
0 answers

iText7 PDF generation help needed

Hello friends, In my Blazor Server application, I am generating a PDF like this. But requirements changed, I need to insert a table and logo like this sample. How can I manage it? InkedScreenshot 2023-01-31 at 19-47-25 Purchase Order -…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,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.
6,952 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.
785 questions
asked 2023-01-31T17:32:57.46+00:00
Cenk 666 Reputation points
1 answer

ISS RDP Site still showing insecure after cert issued

I have gone and got a certificate for *.contoso.com and [contoso.com] . I have installed it against the default website on windows server IIS. I am now browsing (using the same server) to https://dc1.internal.contoso.com/RDWeb/Pages/en-US/login.aspx and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
615 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,038 questions
Internet Information Services
asked 2023-01-28T19:18:31.6233333+00:00
Al Grant 1 Reputation point
commented 2023-01-31T17:15:24.4333333+00:00
TP 10,696 Reputation points
0 answers

How to find pc is hacked or not

i nee to know my pc is haced or not

.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
18 questions
asked 2023-01-31T16:58:00.2033333+00:00
Abhinavkrishna V s 0 Reputation points
0 answers

Cannot Log into MS Authenticator to verify a code in order to close my hotmail account

First, I already download the Microsoft authenticator, but it alway want me to open Microsoft authenticator to approve the request to sgin in. When I cannot use Microsoft authenticator, how can I open Microsoft authenticator to approve the request? …

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,952 questions
.NET F#
.NET F#
.NET: Microsoft Technologies based on the .NET software framework.F#: A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
18 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
2 questions
asked 2023-01-31T16:46:17.36+00:00
CJ 0 Reputation points
0 answers

How should a service exit to prevent an error?

I'm developing a Windows service in C#, .NET 6.0 following the instructions on https://learn.microsoft.com/en-us/dotnet/core/extensions/windows-service The service runs as expected, but when I stop the service, it logs an error A task was…

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,952 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
615 questions
asked 2023-01-30T23:11:11.52+00:00
Andy Reynolds 0 Reputation points
commented 2023-01-31T15:44:28.5033333+00:00
Andy Reynolds 0 Reputation points
0 answers

I'm getting code first approach validation error can you help me

I add error massege and I update database with (datanase-update -Force).but not working error massege. why ?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,546 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.
401 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,193 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
592 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.
149 questions
asked 2023-01-31T13:51:55.46+00:00
Harun Ergün 100 Reputation points
edited a comment 2023-01-31T15:40:55.57+00:00
AgaveJoe 17,096 Reputation points
0 answers

how to fix AutoFixture.ObjectCreationExceptionWithPath: AutoFixture was unable to create an instance from AutoMapper.IMapper

i have below code for xunit testing in asp .net core using AutoFixture.Xunit2;using AutoMapper;using FluentAssertions;using Moq;using MyRBV.AppService.Cars;using MyRBV.AppService.Contract.Cars;using MyRBV.DomainService.Cruds;using…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,546 questions
asked 2023-01-31T15:28:01.8366667+00:00
Mehran Kordavani 0 Reputation points