Microsoft Q&A

.NET

15,374 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,374 questions with .NET-related tags

Sort by: Updated
0 answers

passing passwords from xamarin appto asp.net core

Hello I have an Xamarin application and currently I have created a asp.net core web api. I am using basic authentication. However that takes the userName:PassWord encodes it and converts to base64string and sends across the wire. That does not seem…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,014 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,175 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
asked 2023-06-09T01:07:23.57+00:00
Seth Isaacks 46 Reputation points
1 answer

ReportViewer stuck at Loading... when clicking drill up/down in Edge

Drilling up/down in an embedded Report Viewer in our webapp is stuck at a "Loading..." panel when done in Edge browser, but works fine in Chrome. The viewer also renders flawlessly, regardless of browser opened in, when viewed using the SSRS…

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
1,599 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,491 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,370 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,175 questions
asked 2023-06-07T02:48:32+00:00
Ann 0 Reputation points
commented 2023-06-09T00:07:30.93+00:00
Albert Kallal 3,886 Reputation points
1 answer

Blazor Reconnection Issue After Locking Smartphone

I'm experiencing a problem with my Blazor Server application and I need your help. When I access my website on a smartphone and lock the device for some time, upon unlocking it, seems that the Blazor connection gets lost at that moment and tries to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 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.
989 questions
asked 2023-06-07T10:57:22.6633333+00:00
Happy Development 10 Reputation points
commented 2023-06-08T23:42:49.19+00:00
Happy Development 10 Reputation points
1 answer

Wanted: Example of using ASP.NET inside Azure Function for Role Based Authorization with Azure AD

Since I'm implementing an AJAX REST service in a Azure Function for various Azure AD B2C front ends (blazor server, blazor webasm & angular), I believe it is necessary to implement authentication and authorization in the front end and back end azure…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,045 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,892 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
asked 2023-06-02T16:51:48.3233333+00:00
Siegfried Heintze 1,526 Reputation points
edited a comment 2023-06-08T23:17:03.27+00:00
Siegfried Heintze 1,526 Reputation points
0 answers

How to fix bug of iOS of KeyboardOverlapRenderer

AppDelegate.cs KeyboardOverlapRenderer.Init(); After opening the website with webview function, when inputting with the text keyboard, it is difficult to enter the content as it rises above the content.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,014 questions
asked 2023-06-08T00:23:06.7433333+00:00
Westview Investment 0 Reputation points
commented 2023-06-08T23:12:18.6733333+00:00
Westview Investment 0 Reputation points
1 answer

B2C application unable to retrieve roles assigned to a user

Hello, In my B2C app, I have a user that has been assigned multiple administrative roles. I've created a policy for the administrator role but am unable to retrieve any roles for this user. I'm using dotnet 7.0. I have two problems:. Assigning the Admin…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,892 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,169 questions
asked 2023-06-08T17:51:58.48+00:00
AKJ 0 Reputation points
commented 2023-06-08T22:50:22.85+00:00
Bruce (SqlWork.com) 36,431 Reputation points
1 answer

I need to hold the selected ListView Item in a temporary variable.

I need to hold the selected ListView Item in a temporary variable so that the user can Cancel an Edit operation and the ListView Item will revert back to its original values. I can't understand why Temporaryselectedudf changes to the SelectedUdf value.…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,438 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,237 questions
asked 2023-06-08T18:53:07.3566667+00:00
Ronald Rex 811 Reputation points
edited a comment 2023-06-08T22:41:50.41+00:00
Bruce (SqlWork.com) 36,431 Reputation points
1 answer

How do I use a regular expression in Entity Framework?

For the method: public static IQueryable<ClaimIdentityUser> FindClaimsRegExAsync(this UserDbContext dbContext, string searchEmail, string searchClaimValue) { // if both search terms are empty, return all claims if…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
521 questions
asked 2023-06-06T00:00:20.3766667+00:00
David Thielen 1,106 Reputation points
commented 2023-06-08T21:15:14.6866667+00:00
David Thielen 1,106 Reputation points
1 answer

WebJob - <project_name> is not recognized as an internal or external command

I uploaded a WebJob project with a name that contains whitespaces (for example "WebJobs.My project") to my Azure Web application, and at the time of running it I got the following error logs: [06/04/2023 14:51:35 > 92ca53: SYS INFO] Status…

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
4,965 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,175 questions
asked 2023-06-04T15:10:06.1433333+00:00
Jordi Dalmau 20 Reputation points
answered 2023-06-08T21:01:10.7966667+00:00
Ryan Hill 18,636 Reputation points Microsoft Employee
0 answers

Net Maui CollectionView How to do bindable property for orientation ?

custom collectionview is not working like that what is wrong with them ? <custom:TabsCollectionView Grid.Row="1" ItemSource="{Binding CartMenu}" AOrientation="Vertical" ASpan='3'/> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,438 questions
asked 2023-06-08T20:19:55.3766667+00:00
Sami 321 Reputation points
edited the question 2023-06-08T20:43:18.18+00:00
Sami 321 Reputation points
3 answers One of the answers was accepted by the question author.

ADO.NET Database first error after update (VS2022)

Hello, I updated VS2022 to V17.6.1 and I think that after this update (or previous one I'm not really sure) I get the error : "Running transformation: System.NullReferenceException: Object reference not set to an instance of an object.". …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,175 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,185 questions
asked 2023-05-22T20:29:49.6+00:00
Joel Almeida 20 Reputation points
answered 2023-06-08T20:05:31.56+00:00
Enrique Incio Chapilliquen 0 Reputation points
1 answer One of the answers was accepted by the question author.

Conflict between two references when building a dll

I built a new winform that uses a 3rd party set of controls. Unbeknownst to me, the act of adding controls to the form added references into the project that the form was part of. When building this new form into the library, it eventually failed,…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,175 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,185 questions
asked 2023-06-07T20:22:32.17+00:00
nope no 20 Reputation points
accepted 2023-06-08T19:59:10.5166667+00:00
nope no 20 Reputation points
1 answer One of the answers was accepted by the question author.

Modif the interline in nav

Hi I would like to know if you can tell me how to modify the interline in nav bar extract navmenu.razor @if (expandSubNavFollow) { <ul class="nav flex-column"> <li…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
989 questions
asked 2023-06-07T19:57:39.26+00:00
sblb 996 Reputation points
commented 2023-06-08T19:41:57.7333333+00:00
sblb 996 Reputation points
3 answers

Net Maui carouselview time span problem

All working fine but check and please correct the first image show and quickly passing second image must be same as the others time span .. how we can solve it? Thanks public Carousel() private void Carousel_Loaded(object sender, EventArgs e) { …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,438 questions
asked 2023-06-06T03:07:48.3666667+00:00
Sami 321 Reputation points
commented 2023-06-08T19:29:28.57+00:00
هيام الملحم 0 Reputation points
5 answers One of the answers was accepted by the question author.

Unable to install .NET Framework 4.8 in silent mode

Hi, I am unable to install .NET Framework 4.8 offline installer via silent mode. I used Admin CMD with "ndp48-x86-x64-allos-enu.exe /q /norestart" command to install. It won't install and stuck in End User Accept License area. I knew this…

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
1,002 questions
asked 2022-06-02T22:54:03.123+00:00
Brandon Ho 361 Reputation points
commented 2023-06-08T19:00:48.1666667+00:00
David Downing 766 Reputation points
3 answers

Cannot insert duplicate key in object 'dbo.VersionMasters'.The duplicate key value is (0). The statement has been terminated

Hi, While I am executing the following query, I am getting error "Cannot insert duplicate key in object 'dbo.VersionMasters'.The duplicate key value is (0). The statement has been terminated." using (var context = new Entities()) { var…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,175 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
9,865 questions
asked 2022-02-08T16:26:56.937+00:00
Santosh Umarani 81 Reputation points
edited a comment 2023-06-08T18:33:42.32+00:00
Farzaneh 0 Reputation points
1 answer One of the answers was accepted by the question author.

Can a child element pass validation issues up to the <DataAnnotationsValidator> in the parent

I'm reducing this down to the essentials. If I reduced too much, please ask for detail. I have a razor page as follows: <EditForm> <DataAnnotationsValidator /> <AddressForm @ref="_addressElement" …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
989 questions
asked 2023-06-07T21:12:27.3633333+00:00
David Thielen 1,106 Reputation points
commented 2023-06-08T18:27:20.78+00:00
Dioblan Rufin 0 Reputation points
0 answers

.net maui change Android and iOS overview icon

In .net maui Android when the "Overview" button in clicked an Icon is shown. How do I change that icon ? On iOS how to change the ".NET" to something else ?:

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,185 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,438 questions
asked 2023-06-08T16:10:47.48+00:00
Eigil Krogh Sorensen 61 Reputation points
edited the question 2023-06-08T17:06:00.8166667+00:00
Eigil Krogh Sorensen 61 Reputation points
1 answer One of the answers was accepted by the question author.

Getting build error when trying to upgrade Android 8 to 10 and switching from VS17 to VS 22

Hello, I have a Xamarin.Android project developed for Android 8.0 using Visual Studio 2017. Now I would like to upgrade the Android version from 8 to 11 and open it in VS 2022 at the same a time. As soon as I do that I get several error messages.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,014 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,237 questions
asked 2023-06-07T07:14:51.9533333+00:00
DavidR 25 Reputation points
commented 2023-06-08T16:16:17.73+00:00
DavidR 25 Reputation points
0 answers

Localisation send email attachment- email not sent

Hi I have written code in mvc to send email. I have localisation for website. When i send an attachment in French .example file name HDFC po 2341. The email is not sent. Getting status as false. Used mailmessage. Need help

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
856 questions
asked 2023-06-08T16:09:52.63+00:00
Guhananth S 1 Reputation point