22,994 questions with .NET-related tags

Sort by: Updated
0 answers

Call new function based on returned value from database

Is there a way to call a function based on the output from the table? Meaning, I'm calling my table and there are at times the column may have a string in it like this { MM;Jan;Feb;March;Apr;May.... }, this string can contain { MM, MMM, M, or MMMM } and…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
678 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.
9,922 questions
asked 2024-02-21T19:34:58.5966667+00:00
Cloud Developer 1 Reputation point
edited the question 2024-02-21T19:37:02.6233333+00:00
Cloud Developer 1 Reputation point
0 answers

Bypassing "Pick user popup" after Sign out in a .Net 8 Blazor WASM application

How can I modify the logout code in my .Net 8 Blazor WASM application to include the logout_hint parameter? I have already enabled the login_hint optional claim in my client application and have the value of the logged-in user's login_hint optional…

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,306 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,577 questions
asked 2024-02-21T16:05:34.4866667+00:00
Scot Woodyard 0 Reputation points
edited a comment 2024-02-21T19:32:37.78+00:00
JamesTran-MSFT 35,881 Reputation points Microsoft Employee
2 answers

Does AllowBulkExecution option for Cosmos client work with Parallel.ForEachAsync

With our Web API application we are trying to upload 3500 records to cosmos DB. We are using using Parallel.ForEachAsync method for this. When we're setting AllowBulkExecution option to true in Cosmos Client it is taking 18 sec to insert 3500 records in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,349 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.
9,922 questions
asked 2024-02-15T14:49:00.11+00:00
Debashis Jena 71 Reputation points
commented 2024-02-21T18:29:17.6+00:00
Oury Ba-MSFT 14,856 Reputation points Microsoft Employee
2 answers

multi filter to apply only two columns Field1 and Field2

Hello This is my code <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="https://code.jquery.com/jquery-1.11.3.min.js"></script> <link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,162 questions
asked 2024-02-16T11:50:48.8733333+00:00
RAVI 536 Reputation points
edited an answer 2024-02-21T18:13:21.9666667+00:00
RAVI 536 Reputation points
2 answers

c# Graph Api > 5..0.15 Content.GetAsync() not working any more

// https://learn.microsoft.com/en-us/answers/questions/1025116/how-to-download-a-mail-graph-api-c?orderby=oldest Stream mimeContentStream = await _graphClient.Users[{someUseriD}].Messages[{aMessageId}].Content.GetAsync(); string mailFile =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,899 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.
9,922 questions
asked 2023-08-11T09:45:01.1066667+00:00
Uwe Schöneis 10 Reputation points
commented 2024-02-21T18:06:06.34+00:00
Nelson, Joel 0 Reputation points
1 answer

Can I omit .NET Core references of Blazor WASM?

When publishing standard Blazor WASM which would be provided via Blazor server, how can I omit all references currently already available on my MAUI client? As I hope to reduce size of downloaded WASM when I am using .NET emulating within BlazorWebView,…

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,306 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,557 questions
asked 2024-02-19T17:10:23.62+00:00
Matěj Rada 0 Reputation points
commented 2024-02-21T16:58:02.67+00:00
Bruce (SqlWork.com) 52,401 Reputation points
2 answers

.Net Core Owin Packages

Team, we have an existing .Net application which is using owin. now we are upgrading to .Net core. But i am getting messages like Severity Code Description Project File Line Suppression State Warning NU1701 Package 'Microsoft.Owin 4.2.2' was restored…

Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,070 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
asked 2024-02-21T09:07:16.3066667+00:00
pk 5 Reputation points
answered 2024-02-21T16:32:36.05+00:00
Bruce (SqlWork.com) 52,401 Reputation points
2 answers

How to generate Classes and sub Classes list of check box razor page ?

I work on asp.net  core razor pages . i face issue i can't generate classes and subclasses view and action for class and subclass so my scenario is  1- click button will load classes list with checkbox beside every class and status will be unchecked 2-…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,162 questions
asked 2024-02-21T00:47:50.4466667+00:00
Ahmed Salah Abed Elaziz 350 Reputation points
edited an answer 2024-02-21T16:19:26.6433333+00:00
AgaveJoe 25,676 Reputation points
1 answer

How can upgrade/where on daily basis to own .net /c# knowledge skills and news updates

Hello where/ how can I improve or how can I know new concepts which are released Basic c# and Advanced c# .net basic and advanced /new releases concept, framework , libraries Please help to upgrade me for daily basis for advanced and latest technologies…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
asked 2024-02-21T15:11:08.4566667+00:00
Mahammad Rukmudin Chatarki 0 Reputation points
answered 2024-02-21T15:41:24.59+00:00
Charlie Wei 470 Reputation points
1 answer One of the answers was accepted by the question author.

Automatic joining of a Teams-Bot to an ongoing Teams meeting

I am facing the challenge of having a C# Teams bot automatically join an ongoing Teams meeting. My goal is to retrieve call information about the participants of the meeting in order to be able to process this data further. It is important to note that I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,899 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,749 questions
asked 2024-02-20T15:39:17.47+00:00
Ottmann, Thomas 20 Reputation points
commented 2024-02-21T15:36:31.09+00:00
Ottmann, Thomas 20 Reputation points
2 answers

Automapper 8.1.1 How to map list of objects

Hi, I have two different classes which I would like to map with another class. Here are the source classes: public class OrderResponse { public int order_id { get; set; } public int delivery_type { get; set; } public…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,995 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.
9,922 questions
asked 2022-01-25T06:51:34.827+00:00
Cenk 946 Reputation points
answered 2024-02-21T15:07:29.17+00:00
Mahammad Rukmudin Chatarki 0 Reputation points
1 answer

Xamarin .NET MAUI transfer OpenTK GLSurfaceView

I'm migrating Xamarin Android/iOS to .NET MAUI. Most of the functions have been migrated successfully, but I am having trouble with the migration regarding OpenTK. Xamarin Android uses Xamarin.Legacy.OpenTK1.0.2, and the same Nuget also exists in .NET…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,253 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,557 questions
asked 2024-01-17T05:42:10.8733333+00:00
渡邉 陽 0 Reputation points
edited a comment 2024-02-21T14:57:43.7233333+00:00
Thomas Baumgartner 0 Reputation points
3 answers One of the answers was accepted by the question author.

Fill and remove elements at any time, asyncronous mode.

Hello, I receive data as a string, packed in json format. I can receive the data at any time. I would like to work through the data step by step. At the same time, I may remove a row of data and then add new data. How can I avoid collisions and…

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,624 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.
9,922 questions
asked 2024-02-17T15:23:27.9866667+00:00
Markus Freitag 3,706 Reputation points
accepted 2024-02-21T14:55:25.9333333+00:00
Markus Freitag 3,706 Reputation points
2 answers

Azure B2C Logout - Blazor

Hi Folks, I've build a Blazor server app and I'm using the Azure b2c which I build using the wizard. I don't have a login page and I only use the Google as oauth provider. I just have the default blanket redirect which is fine for…

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,306 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
18,577 questions
asked 2023-02-18T16:58:28.5+00:00
SandeepG 41 Reputation points
commented 2024-02-21T14:52:15.69+00:00
Pierre 0 Reputation points
3 answers

Visual Studio 2022 won't connect to NuGet

Visual Studio 2022: [nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json. An error occurred while sending the request. The underlying connection was closed: An unexpected error occurred on a send. Unable to read…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,394 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
315 questions
asked 2024-02-18T15:42:31.7833333+00:00
Jayakumar R 0 Reputation points
answered 2024-02-21T14:33:12.3066667+00:00
Jayakumar R 0 Reputation points
1 answer

How to prevent Visual Studio Editor from reformatting my line?

When I enter lines in Visual Studio I like to have certain items line up. For example, btnAccumulate.Hide (); labelResultList.Hide (); lbResultList.Hide (); labelResult.Show (); tbResult.Show …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,394 questions
asked 2024-02-07T22:56:05.7933333+00:00
Nicholas Piazza 481 Reputation points
commented 2024-02-21T14:23:52.3866667+00:00
Nicholas Piazza 481 Reputation points
2 answers

Blazor WASM redirect to page not found after login from OIDC

I have a Blazor WASM app, and i am using IDS(Identity Server) for authorization. After the successful login from IDS i get redirected back to app with the error message "Sorry, there's nothing at this address." I have setup @attribute…

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,306 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.
9,922 questions
asked 2024-02-21T10:26:13.1233333+00:00
Moeen Uddin 0 Reputation points
answered 2024-02-21T13:55:49.4166667+00:00
Joseph Wery 0 Reputation points
1 answer

KERNELBASE.dll Exception code: 0xe0434352 Fault offset: 0x000000000002cf19 Faulting process ID: 0x26c0 error

after the clickonce setup. the application gets terminates and in event viewer two erros are generated What may be going wrong ? Applicaton error Faulting application name: Bansal-RM.exe, version: 1.0.0.2, time stamp: 0x656e13f7 Faulting module name:…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,797 questions
asked 2023-12-05T06:40:08.7766667+00:00
Sushil Agarwal 381 Reputation points
commented 2024-02-21T12:48:02.45+00:00
Emmanuel Eze 0 Reputation points
1 answer One of the answers was accepted by the question author.

My.Computer.FileSystem.CopyDirectory(Source, Destination, overwrite:=True) > Error >could not complete operation

My.Computer.FileSystem.CopyDirectory(Source, Destination, overwrite:=True) I am getting the following error message while performing the above copy operation. My.Computer.FileSystem.CopyDirectory could not complete operation on some files and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
asked 2024-02-19T22:27:51.9633333+00:00
~OSD~ 2,021 Reputation points
commented 2024-02-21T12:21:13.3466667+00:00
~OSD~ 2,021 Reputation points
1 answer One of the answers was accepted by the question author.

System.Drawing Color.Transparent example not working

In the Microsoft documentation for the System.Drawing.Color.Transparent property (https://learn.microsoft.com/en-us/dotnet/api/system.drawing.color.transparent?view=net-8.0), the given example does not seem to work. Here is my coded implementation of…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,145 questions
asked 2024-02-20T22:33:25.0566667+00:00
Nicholas Piazza 481 Reputation points
commented 2024-02-21T12:10:29.2+00:00
Nicholas Piazza 481 Reputation points