How to run PowerShell with admin right
Hi, I need to run PowerShell with admin rights to get permission to run a script in C# code. If there is a solution please leave a comment, many thanks.
.NET
C#
PowerShell
How to use encrypted DB connectionString at DataSet.xsd?
Hello. I'm want use DataSet.xsd in .Net Framework 4.5 c# winform project with encrypted connection string. I execute below adding TableAdapter in DataSet from Designer view connecting TableAdapter with db using by ConnectionString ConnectionString…
C#

How to fix Add-Migration problem?
Hi, I am trying to add another entity to the database in my e-commerce solution which includes client and admin projects using Blazor WASM and Server, Asp.Net Core API, and data access projects. However, I am getting an error message as shown below: How…
Entity Framework Core
ASP.NET Core
Blazor
C#

Visual Studio find text in code editor auto jumps from the current line to another one
Hello, Does someone knows how to fix an annoying behaviour in the code editor of Visual Studio.? I have a .cs file with 10 000 lines of code. I am positioned within the file to see the lines from 920 to 950 I am trying to find a specific text…
Visual Studio
C#
Migrate Azure App Service to use Graph API instead of AAD Graph api
Hi Team, I'm in a process of Migrating our Azure App Service application to use graph api instead of AAD Graph api. I followed the steps which is mentioned in the…
C#
Is it possible to access Exchange Online from an Azure Function App using Managed Identity instead of a client secret?
Hi Microsoft Team, I currently have a Function App that accesses Exchange Online services using a Service Principal (client ID + secret) for authentication. I’d like to eliminate the use of client secrets for improved security and manageability. Is there…
C#
Azure OpenAI Batch Job (GPT-4o-mini and GPT-4o) gets status Failed with no errors in large requests
I'm creating batch jobs. I am using gpt-4o and gpt-4o-mini with Global Batch. The service version is 2024-10-21. Everything works fine if I send the JSONL file with a maximum of 540 lines. However, when I try to send one with 1,000 lines using the same…
C#
Print Report Without Preview
I using visual studio 2022 with MVC NET 8 and C# , JavaScript language and Microsoft reporting service 2016. I want to print an invoice without displaying the report based on its type, for example: cash payment or home delivery. Both invoices have…
C#
I need help with SQL table
Can you write some basic SQL code for me pleasesfsdfsdf?
C#

Printing a Local Report without Preview
dear all I using visual studio 2022 with MVC NET 8 and C# language and Microsoft reporting service 2016. I want to print an invoice without displaying the report based on its type, for example: cash payment or home delivery. Both invoices have different…
C#
c# error when connect to mysql "Object cannot be cast from DBNull to other types" (mariadb 10.3)
Object cannot be cast from DBNull to other types" (mariadb 10.3)
Azure Database for MariaDB
Azure Database for MySQL
C#

Unable to send SMS
Hello, I have purchased two phone numbers to send SMS to our SaaS platform's subscribers in America region. Currently, they are showing 'Verification in progress'. We need help expedite the verification process since it is business critical.
C#
Unable to share file sharepoint site using graph api to external user using client credentials
I have a multitenant application i have followed the steps mentioned in the below https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-client-creds-grant-flow created the app registration in tenant a with the follow app permissions Read…
C#
Nest.js troubleshooting
I need some basic frontend to this code in nest.js my backend looks like this: nestjs controller: @Controller('authors') export class AuthorsController { constructor( private readonly authorsService: AuthorsService ) {} @Get() getAuthors() { …
C#
Winforms adding customers
I need to help with winforms adding list my main form looks like this public partial class JobOfferDemandGridForm : Form { public BindingList<JobOfferDemand> Demands { get; set; } /// <summary> /// Konstruktor formuláře po…
C#
Can you make for me Graph in GDI
I need help with making some basic graphs in GDI for winforms
C#
Why ins'nt C# 7.0.0 not recognized ?
I just installed the 7.0.0 runtime for the tutorial about razor pages cause it's the required version according to the terminal "dotnet watch dotnet watch 🔥 Hot reload enabled. For a list of supported edits, see…
C#
Microsoft VBE interop version 16
I got to know that Microsoft.Office.Interop package is renamed to MSOffice.Interop for version 16 office applications. I am trying to read macros from excel file and see that I would need Microsoft.Vbe.Interop but it's latest version is 15 which results…
C#
File Download Issue in WebView2 New Windows After Recent Edge Updates
Dear Microsoft WebView2 Team, I am developing a desktop application using the WebView2 Runtime, where I embed a browser window within the application. Following recent Microsoft Edge updates, I have encountered an issue related to file downloads in newly…
C#
413 content to large for .net core
I have an API endpoint that accepts a multipart/form-data request containing 10 files along with some additional form fields. This works perfectly in my local development environment where I’ve configured Kestrel to allow unlimited request body size…
C#
