Microsoft Q&A

.NET

12,935 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

12,935 questions with .NET-related tags

Sort by: Updated
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,545 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.
784 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,950 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,035 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.
17 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,950 questions
F#
F#
A strongly typed, multi-paradigm programming language developed by the F# Software Foundation, Microsoft, and open contributors.
2 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.
17 questions
asked 2023-01-31T16:46:17.36+00:00
CJ 0 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,936 questions
asked 2023-01-17T18:30:35.1266667+00:00
nope no 1 Reputation point
commented 2023-01-31T16:13:43.63+00:00
Michael Taylor 37,866 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,950 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,545 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,190 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 MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
591 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.
148 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,545 questions
asked 2023-01-31T15:28:01.8366667+00:00
Mehran Kordavani 0 Reputation points
0 answers

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,190 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
545 questions
asked 2023-01-31T15:02:30.2266667+00:00
Moral Pezuela Pablo del 0 Reputation points
0 answers

How to convert existing solution to use Shell

I have a solution that does not use Shell. I would like to change it so that it uses shell. I created a new solution and copied the AppShell.xaml and .cs. I changed the namespace to the correct namespace. I then changed the app.xaml.cs to: …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
890 questions
asked 2023-01-31T14:51:43.6833333+00:00
Lloyd Sheen 756 Reputation points
0 answers

BackgroundService Serilog how to email?

Hi, In my background service, I would like to send error logs. Although there is an error, the email sink does not work. The error is being written to the file and mssqlserver successfully. Can you please share your experiences? Here is the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,545 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,950 questions
asked 2023-01-31T14:40:53.22+00:00
Cenk 666 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,950 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.
17 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-31T14:35:08.75+00:00
CJ 0 Reputation points
1 answer

Using Xamarin framework for coding in C#

I have completely mortgaged off my new Mac Mini 2020 with M1 chip implanted. Now that I have done that, and that I have an iPhone and Android mobile OS installed tablets - namely, a Samsung tablet brand, I want to learn quickly to code using their…

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,950 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-31T13:50:09.4533333+00:00
John 121 Reputation points
answered 2023-01-31T14:28:14.35+00:00
Castorix31 65,371 Reputation points
2 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 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,190 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
445 questions
asked 2023-01-28T08:50:16.07+00:00
Peter_1985 1,831 Reputation points
edited a comment 2023-01-31T13:17:13.77+00:00
AgaveJoe 17,096 Reputation points
1 answer

How to get IFragmentCapableXmlDictionaryWriter example to work?

I've tried getting the example shown for System.Xml.IFragmentCapableXmlDictionaryWriter as shown in link [https://learn.microsoft.com/en-us/dotnet/api/system.xml.ifragmentcapablexmldictionarywriter.writefragment?view=net-7.0#examples but the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
615 questions
asked 2023-01-13T23:12:31.12+00:00
Nicholas Piazza 401 Reputation points
commented 2023-01-31T13:12:33.8033333+00:00
Nicholas Piazza 401 Reputation points
0 answers

What is projectname.iOS file which is huge in size created using Xamarin ios shown inside payload

When we create IPA in Xamarin using visula studio and we check the contents of the IPA using below method. Create IPA. Change the extension of IPA from .ipa to .zip Payload folder will get created In the Payload folder Projectname.iOS file will be…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,809 questions
asked 2023-01-31T12:58:42.0533333+00:00
Jadhav, Snehal [MN035] 0 Reputation points
1 answer

Empty listview items after down and up scrolling

Hi, iOS app, MVVM pardigm, I populate an ObservableCollection of a custom type and through BindingContext populate a ListView on the Page. that works fine. I can see the ListView items properly and can scroll it. What I constantly see is when I scroll…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
890 questions
asked 2023-01-30T09:02:03.32+00:00
yaron kadman 81 Reputation points
answered 2023-01-31T12:24:59.9466667+00:00
yaron kadman 81 Reputation points
0 answers

Get an ILogger instance for App Insights from ServiceCollection in a WebForms .NET Framework application

We want to get an ILogger instance so that it can be passed to other library. We tried below, but the ILogger instance does not log into Application Insights. It logs into Event Viewer successfully. We have added the necessary packages i.e.…

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
asked 2023-01-31T12:10:20.45+00:00
Wadhwani, Jatin 0 Reputation points
1 answer

Is it possible to implement the custom security to the SSRS 2019?

Please share the code, if we can implement the custom security to the SSRS 2019

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,190 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,101 questions
asked 2023-01-31T11:53:34.3966667+00:00
Chitravelu Sivanandam 0 Reputation points
answered 2023-01-31T12:09:19.37+00:00
Olaf Helper 25,721 Reputation points
1 answer One of the answers was accepted by the question author.

B2C login custom template hosted on my app in Azure Docker is displaying a blank page

I have a Blazor server app hosted in Azure registries using a B2C login. This is working fine. I created my own template to change the B2C login UI. A simple cshtml and controller were created in the same app (I am not using Azure blob) with code: …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
784 questions
Azure Web Apps
Azure Web Apps
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,320 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,613 questions
asked 2023-01-17T15:58:43.92+00:00
Andrey Kuznetsov 40 Reputation points
accepted 2023-01-31T11:59:30.9133333+00:00
Andrey Kuznetsov 40 Reputation points