10,461 questions with C#-related tags

Sort by: Updated
0 answers

convert letters increase by step

Hello, Is there another simple solution if I want to specify the step size? Example + 4 or + 7 Step 4, I will do this. Convert letters increase by step string ret =…

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.
10,461 questions
asked 2024-06-12T17:47:22.8+00:00
Noah Aas 320 Reputation points
1 answer

SAS Token not working for FileUpload IoTHub

I'm trying to replicate this https://github.com/Azure/azure-iot-sdk-csharp/blob/main/iothub/device/samples/getting%20started/FileUploadSample/FileUploadSample.cs example to upload a file. This part works: `// Note: GetFileUploadSasUriAsync and…

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
389 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,537 questions
Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,142 questions
Azure IoT SDK
Azure IoT SDK
An Azure software development kit that facilitates building applications that connect to Azure IoT services.
210 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.
10,461 questions
asked 2024-06-12T17:16:40.47+00:00
mikefinch87@gmail.com 60 Reputation points
answered 2024-06-12T17:46:40.08+00:00
Sander van de Velde 30,096 Reputation points MVP
3 answers One of the answers was accepted by the question author.

convert letters increase by 1

Hello, Mask_range="ABCDEFGHJKLMNPQRSTUVWXYZ" Not allowed I and O NewValue: AA AB AG AH BA **Input** NewValue1: AB AC AH AJ BB **Output** NewValue2: …

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.
10,461 questions
asked 2024-06-06T16:23:59.4166667+00:00
Noah Aas 320 Reputation points
commented 2024-06-12T17:44:09.6933333+00:00
Noah Aas 320 Reputation points
1 answer

Why are some unused function names not greyed out

So, while most unused/unreferenced functions in the codebase I'm working with have their names greyed out when the function isn't being used anywhere, there'd be the odd one here and there in the same source file with 0 references yet without being…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,752 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.
10,461 questions
asked 2024-06-12T14:03:13.3933333+00:00
Boris Rusinov 0 Reputation points
answered 2024-06-12T15:31:46.88+00:00
KOZ6.0 5,630 Reputation points
0 answers

Task Timeout Not Asign IsCompletedSuccessfully

In the url: https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.delay?view=net-8.0 say "After the specified time delay, the task is completed in the RanToCompletion state". Once "Timeout = true", I checked that…

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.
10,461 questions
asked 2024-06-12T05:28:41.4933333+00:00
zequion 171 Reputation points
edited a comment 2024-06-12T11:33:18.53+00:00
KOZ6.0 5,630 Reputation points
3 answers One of the answers was accepted by the question author.

How to use Unsigned 256 bit integers(uint256) in C#

Hello! I wonder how it would be possible to calculate using Unsigned 256 bit integers(uint256) in C#, Visual Studio 2019. (A uint256 variable has a maximum value of Math.Pos(2,256) – 1) I have looked at BigInteger but are not sure if this…

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.
10,461 questions
asked 2021-09-17T13:16:58.81+00:00
Andreas ss 726 Reputation points
edited an answer 2024-06-12T11:29:51.6866667+00:00
Gayle323 0 Reputation points
0 answers

Can Desktop Applications Be Used in Azure/ISV Environment?

This is a very basic and generic question, but no answers were found in searching the internet. Can a desktop application (WPF/WCF) run in Azure/ISV environment? I know that an Azure VM can host a desktop/client-server application, but that's not what…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,515 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,694 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.
10,461 questions
ISV (Independent Software Vendor)
asked 2024-06-11T22:32:46.7633333+00:00
TJ Fan 5 Reputation points
edited the question 2024-06-12T10:03:16.6633333+00:00
PRADEEPCHEEKATLA-MSFT 81,646 Reputation points Microsoft Employee
1 answer

Queries with EF Core causes 'Cannot continue the execution because the session is in the kill state'

Some EF Core queries are throwing the following error in our code : Cannot continue the execution because the session is in the kill state. Une erreur grave s'est produite pendant la commande actuelle. Les résultats devront être supprimés, le cas…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
710 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.
13,044 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.
10,461 questions
asked 2024-06-07T10:02:04.1466667+00:00
Arthur Menétrey 0 Reputation points
commented 2024-06-12T09:26:41.96+00:00
Arthur Menétrey 0 Reputation points
1 answer

How to set up WinUI3 applications to run as administrators

I'm begging to write WinUI3 application. Administrator privileges are required for certain functions. In the Win-form program, simply configure the following in the app. manifest <requestedExecutionLevel level="requestAdministrator"…

Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
737 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.
10,461 questions
asked 2024-06-07T08:35:00.8433333+00:00
C CB 20 Reputation points
commented 2024-06-12T09:25:50.3033333+00:00
C CB 20 Reputation points
1 answer

VirtualizingStackPanel Scrollviewer height

I am working a uwp app where i used ListView with VirtualizingStackPanel . In my case i am trying create an alternatives for CVS ListView so each item has a ItemsControl (choosen this because it consume less memory and ScrollViewer). Now if i want…

Universal Windows Platform (UWP)
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.
10,461 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
777 questions
asked 2024-05-22T06:12:58.1066667+00:00
shriram 90 Reputation points
commented 2024-06-12T08:04:29.65+00:00
shriram 90 Reputation points
1 answer One of the answers was accepted by the question author.

what is the best way to get current application running system data in #?

Hi every body I want to make a license system for my application. I am looking for the fast and easy way to get current application system (Machine) info to save them in license app for my customers. My opinion is : get MB & Cpu & HDD ID of…

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.
10,461 questions
asked 2024-06-11T05:15:34.43+00:00
Farshad Valizade 421 Reputation points
edited a comment 2024-06-12T03:09:01.96+00:00
Jiale Xue - MSFT 41,036 Reputation points Microsoft Vendor
2 answers

privacy concerns when working with sensitive documents using Vision API

Hi: I am trying to extract texts from some sensitive image pdf documents using the Vision API. Any suggestions on how to ensure non-disclosure of these documents when processing them on Azure. Thank you.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,471 questions
Azure AI Custom Vision
Azure AI Custom Vision
An Azure artificial intelligence service and end-to-end platform for applying computer vision to specific domains.
231 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.
10,461 questions
asked 2024-06-03T21:31:02.36+00:00
Suli Adeniye 20 Reputation points
answered 2024-06-12T02:51:26.3766667+00:00
brtrach-MSFT 15,451 Reputation points Microsoft Employee
2 answers

How to add a different CSS to a razor page in Blazor WASM?

I am working on a Blazor WASM e-commerce application using the .NET 6 old version with a default template. I want to add a new razor page with a different look while keeping the old ones in the project. How can I achieve this? Specifically, I want to add…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 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,448 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.
10,461 questions
asked 2024-06-04T13:24:09.7766667+00:00
Cenk 981 Reputation points
commented 2024-06-11T20:00:28.92+00:00
Bruce (SqlWork.com) 59,021 Reputation points
3 answers

In .Net 8 Blazor web app template application how I can use azure active directory authentication

Hello, As we know when we create an application using Blazor Web App Template in .Net 8, we get project one for Server and another one for Client. so how azure authentication will apply/configure in this application. More simply I just wanted know…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,281 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,448 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.
10,461 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,056 questions
asked 2024-01-17T05:24:28.51+00:00
Kuldeep Y 36 Reputation points
commented 2024-06-11T17:50:45.47+00:00
AD 0 Reputation points
0 answers

Isolated Worker not working with Function App deloyed on App Service Plan

I am migrating my Function App from in-process model to isolated worker model. My code has been now updated and is working fine locally but the time I am deploying it to the existing function it is throwing below errors - Handling WorkerErrorEvent for…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,471 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,515 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.
10,461 questions
asked 2024-06-07T09:42:58.3633333+00:00
Juhi Saxena 41 Reputation points
commented 2024-06-11T16:11:31.2+00:00
Ryan Hill 26,696 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

adding model based controller gives me an error in MVC 5

I am trying to add model based controller, according to a tutorial: https://learn.microsoft.com/en-us/aspnet/mvc/overview/getting-started/introduction/accessing-your-models-data-from-a-controller I tried reinstalling Visual studio, tried deleting…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 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.
10,461 questions
Entity Framework Core Training
Entity Framework Core Training
Entity Framework Core: A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.Training: Instruction to develop new skills.
3 questions
asked 2024-06-10T10:18:57.1966667+00:00
David Kamushadze 20 Reputation points
commented 2024-06-11T14:37:24.1933333+00:00
David Kamushadze 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated

Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
279 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,311 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,038 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,752 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.
10,461 questions
asked 2024-05-16T03:05:07.0633333+00:00
Sri Gayathri Gopalakrishnan 35 Reputation points
commented 2024-06-11T09:46:00.0766667+00:00
Tom Hannigan 0 Reputation points
0 answers

RemoteCertificateValidationCallback is triggered multiple times

Hi All, We have a WPF application built on .Net Framework 4.8. We are using HTTPs protocol to connect to a device to execute a few commands. We use the RemoteCertificateValidationCallback for validating the certificate. Initially, we open an Https…

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,694 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.
10,461 questions
asked 2024-06-10T11:56:43.8033333+00:00
S Abijith 346 Reputation points
edited a comment 2024-06-11T09:45:23.3133333+00:00
Hui Liu-MSFT 46,961 Reputation points Microsoft Vendor
0 answers

Certificate Revocation List

Hi All, We have a WPF application built on .Net Framework v4.8. This application acts as an HTTPs client. We are currently performing the certificate check using 'RemoteCertificateValidationCallback' method (except CRL). We now need to perform CRL…

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,694 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.
10,461 questions
asked 2024-05-14T06:33:05.25+00:00
S Abijith 346 Reputation points
commented 2024-06-11T09:28:51.32+00:00
S Abijith 346 Reputation points
4 answers One of the answers was accepted by the question author.

What is the best way to show the loader while uploading the file in gridview

I am using gridview for displaying and inserting new records. i'm using loader wherever it is required in the gridview. it is working fine. i'm trying to use animation loader for specific upload column in gridview. will it possible to show the loader…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 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.
10,461 questions
asked 2024-06-07T17:12:49.2366667+00:00
Gani_tpt 2,026 Reputation points
commented 2024-06-11T08:10:48.2366667+00:00
Gani_tpt 2,026 Reputation points