Microsoft Q&A

.NET

15,165 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

15,165 questions with .NET-related tags

Sort by: Updated
1 answer

Azure functions SSL issue with Cosmos DB in .net 6 ?

Hello Team,  I am facing one issue the new .net version 6 and azure function v4. Could you please help me with this? I have one azure function application which uses Cosmos DB. Recently I have upgraded from .net core v3.0.1 to .net 6 and…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,991 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,049 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
.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.
996 questions
asked 2022-07-28T11:04:09.467+00:00
Thirupathi Janga 1 Reputation point
accepted 2023-05-29T04:12:46.7066667+00:00
Thirupathi Janga 1 Reputation point
0 answers

Blazor WASM Lasy loading DI

Hello. For DI with LAZY LOADING I need to call my service. BUT how to pass the expected ILogger ? public class LazyLoadedServices { private readonly IServiceProvider _services; public LazyLoadedServices(IServiceProvider services) { …

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
965 questions
asked 2023-05-29T04:01:25.1633333+00:00
prof cegep 41 Reputation points
1 answer

Exception when trying to save file stream in local directory.

Hi, I got this exception when trying to download file and keep it in my local folder. The input is stream and the expected output: is file. at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access,…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-28T12:40:18.6266667+00:00
דני שטרית 761 Reputation points
edited the question 2023-05-29T03:59:05.6+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 19,966 Reputation points Microsoft Vendor
1 answer

Colors are not working in maui release mode

I have migrated the Xamarin forms app to .NET MAUI. In Debug mode, app works fine but not in release mode.(Android API 33). Color, Text Color, Background Color etc, are not working in MAUI release mode. I have used/binded these properties through…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-26T09:03:18.01+00:00
Satya 40 Reputation points
answered 2023-05-29T03:51:24.54+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 47,446 Reputation points Microsoft Vendor
1 answer

net maui how to create collection view as menu and carouselview as content working like tabs ?

net maui how to create collection view menu and carouselview content working like tabs ? Platform Android and Ios

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-17T12:11:59.8233333+00:00
Sami 261 Reputation points
commented 2023-05-29T03:51:07.8433333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 19,966 Reputation points Microsoft Vendor
2 answers

how to remove \ in string?

how to remove the \ in string? there is string: {\"id\":1,\"value\":\"max\"} how to remove the \ but keep the "? {"id":1,"value":"max"} and also how to get the…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
504 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,474 questions
.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.
996 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
asked 2023-05-28T05:57:48.0966667+00:00
mc 1,921 Reputation points
edited an answer 2023-05-29T03:24:46.53+00:00
Jerry Fu - MSFT 391 Reputation points Microsoft Vendor
4 answers

ASP.NET MVC CORE POST GRES LOGIN PAGE

I completed a mini project in ASP.NET MVC CORE PROSGRE, I want to deploy the same only login page is pending. I want to create a simple login page , as below. Please suggest github link here https://github.com/KalyanAllam/StudentInformationPostgres …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
asked 2023-05-26T10:45:25.78+00:00
KALYANA ALLAM 141 Reputation points
answered 2023-05-29T03:04:36.13+00:00
Zhi Lv - MSFT 24,081 Reputation points Microsoft Vendor
1 answer

How to disable screen closure via X at top

So, I have a WPF/Blazor hybrid with a second window for information. If the second window is closed off with the X in the top corner, it leaves the program hanging in the background, which is not good for system resources. In order to ensure that the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
asked 2023-05-28T09:05:00.0533333+00:00
Nigel 226 Reputation points
answered 2023-05-29T02:56:26.83+00:00
Jiale Xue - MSFT 3,766 Reputation points Microsoft Vendor
0 answers

Maui android scroll view orientation change not consistent

Hello all. changing scrollview orientation is not consistent and understandable. because in this example it works when changed to vertical but not changed for neither and according to an answer I got here to wrap in a stacklayout it's working for this…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-23T08:10:32.5+00:00
Haviv Elbsz 786 Reputation points
commented 2023-05-29T02:47:23.9466667+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 0 Reputation points Microsoft Vendor
1 answer

angular Cors Response to preflight request

my system is angular client side and .net core backend. i'm trying to migrate the authentication process to azure AD to follow my corporate's SSO. after enabling Azure AD on client side using MSAL and on the backend following openID. from the client side…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,635 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,122 questions
asked 2023-05-28T15:41:34.7+00:00
Tarek, Taher 0 Reputation points
edited a comment 2023-05-29T02:01:53.4066667+00:00
Bruce (SqlWork.com) 35,416 Reputation points
1 answer

Carousel view setting default position not working in maui

Carousel view setting default position not scrolling to item on page load in maui. After data is loaded to carousel view, updating position not working. CarouselView.Position = index;

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-22T06:10:51.5466667+00:00
Satya 40 Reputation points
commented 2023-05-29T01:50:15.7433333+00:00
Liqun Shen (Shanghai Wicresoft Co Ltd) 0 Reputation points Microsoft Vendor
0 answers

why this Storyboard in DataTrigger introduce the runtime exception?

I am trying to complish a Custom Control which has a DataTrigger with animation in my project, but I always hit a InvalidOperationException failure. So I abstract the logic into this repo . I found the same animation works well in the EventTrigger, but…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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,361 questions
asked 2023-05-29T00:59:20.6633333+00:00
William Liu 126 Reputation points
0 answers

How to generate a report from ListView on WPF?

Hello ! I want to generate an Listview, based on another Listview, by moving items from first Listview to the second one and generate a report based on my second ListView and Sum the price. My first Listview is something like this: [id] [product] …

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,361 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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,153 questions
asked 2023-05-28T21:29:58.0733333+00:00
B M-A 241 Reputation points
edited the question 2023-05-28T21:31:52.17+00:00
B M-A 241 Reputation points
1 answer One of the answers was accepted by the question author.

WCF Service certificate config for endpoint

Hello! I have a wcf service configured, that it is working fine. I observed in wcf configuration at Services->Endpoints->Identity ( using configuration tool) at CertificateReference Properties I observed some properties/values defined, which appear…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
284 questions
asked 2023-04-06T16:19:34.23+00:00
B M-A 241 Reputation points
accepted 2023-05-28T21:14:12.5133333+00:00
B M-A 241 Reputation points
1 answer

app center support for blazor apps

Will app center ever support blazor server/wasm apps?

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
965 questions
asked 2023-05-27T10:58:03.7933333+00:00
JohnHunter-7034 0 Reputation points
answered 2023-05-28T18:28:47.61+00:00
Bruce (SqlWork.com) 35,416 Reputation points
0 answers

Create database from SQL script from .NET 6 WinForm application

Hi All, We recently started working on a .NET 6 WinForm application which will be deployed locally on the client machine. This application will depend on the SQL database for persisting data. The SQL instance will be already available on the machine…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,459 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 questions
asked 2023-05-28T18:25:07.2533333+00:00
Wadiwala, Rohan 0 Reputation points
2 answers One of the answers was accepted by the question author.

Restart .Net Maui application through code.

Is it possible to make your .NET MAUI application automatically restart when you press a button, I have a bunch of settings (including localization, it almost impossible to keep updating them since there are so many lines of text I have to update. I…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2022-09-20T14:10:11.407+00:00
Mielesplayz 281 Reputation points
commented 2023-05-28T16:40:35.0766667+00:00
Chathura Wijesinghe 0 Reputation points
0 answers

How do i fix errors when targeting net7.0 tfm when using handlers in maui?

Here is the link to the sample project: https://github.com/veldfolds/VideoDemos.git

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,140 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,133 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,153 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
26,846 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-28T15:19:14.6566667+00:00
Adrian Kuboka 1 Reputation point
commented 2023-05-28T16:34:59.4366667+00:00
0 answers

PLEASE I AM DESPERATE FOR ASSISTANCE! Especially things like: #adminaccount #remoteaccess #windows7 #rpivacyandsecurity #apppool

Hello everyone! . I am a total noob, so I appreciate any feedback! i had a dell laptop that was too old to be repaired, but a "friend" of mine who is good at computers, offered to fix it and give me a basic computer to use temporary while he…

.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.
40 questions
asked 2023-05-28T14:32:59.93+00:00
Stop_spying_plz_k_thx_bye 0 Reputation points
commented 2023-05-28T14:43:56.8333333+00:00
Stop_spying_plz_k_thx_bye 0 Reputation points
1 answer One of the answers was accepted by the question author.

Inner view for folder and option to more deeper view

Hi, Assume you have this view. When I press on Type column cell folder i want to change view using the our api to show its files and folders. with option to go back. and with option to go more deeper. I want to be in same view and show hide the inner or…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,386 questions
asked 2023-05-17T14:57:18.56+00:00
דני שטרית 761 Reputation points
accepted 2023-05-28T14:09:29.31+00:00
דני שטרית 761 Reputation points