24,483 questions with .NET-related tags

Sort by: Updated
0 answers

Gridview row.cells Unable to cast checkbox as textbox

I have this Gridview where I'm updating a SQL table. Everything works fine until I come across a column that has checkboxes. I'm getting an error message stating unable to cast/convert checkbox to textbox. Here are the lines in question. Dim columnValue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,514 questions
asked 2024-06-12T13:33:51.9166667+00:00
Hutty 0 Reputation points
1 answer

.net maui grouping data binding not working, displays blank lines.

My listview does not bind correctly, I'm getting blank lines. ( I'm missing something in the code) (in debug) the for each loop show there is data in the Items object but it does not show up in the listview. Xaml <?xml version="1.0"…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-05-30T12:51:24.5833333+00:00
tim 140 Reputation points
edited a comment 2024-06-12T13:06:03.3+00:00
tim 140 Reputation points
0 answers

How to select multiples images on iOS using .NET MAUI

I'm using .NET MAUI and I want to select multiple images in iOS gallery (photos folder). I tried 2 libraries to do so. The first one is FilePicker, here is the implementation public class PicturePickerImpl : IPicturePicker { async public…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-06-12T12:51:17.79+00:00
Wyllis Monteiro 21 Reputation points
1 answer

Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring nuget packages in VS 2022.

Hi All, I am getting the error "Unable to load the service index for source https://api.nuget.org/v3/index.json while restoring Nuget packages in VS 2022. I have tried to delete Nuget config file as well but it did not help. Can anyone please…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,514 questions
asked 2024-06-11T10:51:54.7633333+00:00
Munjal, Kanha (Gurugram) 0 Reputation points
commented 2024-06-12T12:49:36.11+00:00
Munjal, Kanha (Gurugram) 0 Reputation points
0 answers

how to write ios without storyboard?

related https://learn.microsoft.com/en-us/answers/questions/1693595/how-to-write-code-in-cs-file-in-xamarin-ios write in cs file.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-06-12T12:43:50.4366667+00:00
mc 3,806 Reputation points
1 answer One of the answers was accepted by the question author.

how to write code in cs file in xamarin.ios?

I create xamarin.ios. there is tabbed application in the default file. there is Main.storyboard some of it code is : <rect key="frame" x="0.0" y="0.0" width="600" height="600"/> <autoresizingMask…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,311 questions
asked 2024-06-10T07:25:54.96+00:00
mc 3,806 Reputation points
accepted 2024-06-12T12:42:31.8933333+00:00
mc 3,806 Reputation points
2 answers

Gridview ID problem

Hello, I have two gridviews set up. Both of them use the default scrolling buttons. In one gridview if you look at the properties of the scroll > buttons the ID property is missing like this: <input type="image"…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 questions
asked 2024-06-06T17:56:28.6366667+00:00
Wheeler, Lee 0 Reputation points
commented 2024-06-12T12:40:26.5066667+00:00
Wheeler, Lee 0 Reputation points
1 answer One of the answers was accepted by the question author.

When device is locked/using another app, if Navigation occurs it will fail and leave a blank page.

In android, if the user decides to lock their device, the app shows blank page if the navigation happens during this period. In my scenario we are popping the page. I am using .net 8 Please let me know if you need any other details. thanks in advance.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-06-05T12:14:30.1033333+00:00
Keerthana Krishna 60 Reputation points
accepted 2024-06-12T12:11:36.03+00:00
Keerthana Krishna 60 Reputation points
1 answer

Seeking Alternatives to UIMenuController for Text Input Field Customization

I'm currently working on migrating a Xamarin.Forms project to MAUI, where I need to customize the behavior of text input fields, especially on iOS. Previously, in Xamarin.Forms, I utilized UIMenuController to manage options like copy, paste, and cut.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,514 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-05-17T06:20:56.7333333+00:00
Omkar Pawar 0 Reputation points
commented 2024-06-12T12:01:05.72+00:00
Victoria 0 Reputation points
0 answers

Azure B2C / .NET - Handling a failed MFA verification flow

I have a WPF application with the following client code to fetch a token from Azure B2C endpoint: public static async Task<AuthenticationResult> AcquireTokenAsync(this IPublicClientApplication publicClientApp) { try { var accounts =…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,514 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,031 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,046 questions
asked 2024-06-12T05:50:33.9466667+00:00
Giedrius Stasiulis 0 Reputation points
edited the question 2024-06-12T12:00:28.5033333+00:00
Giedrius Stasiulis 0 Reputation points
0 answers

How to block same value section on for each loop in XSLT 1

Hi Team, Currently we have a created xslt map with foreach to block looping using single value(PartNumbers) - <PartNumbers>099-923-G</PartNumbers>, in the below example same partnumber(Consideration value) repeating on both…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,514 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,923 questions
asked 2024-06-12T11:27:54.77+00:00
Mahesh Madhusanka 176 Reputation points
edited the question 2024-06-12T11:52:00.9933333+00:00
Mahesh Madhusanka 176 Reputation points
2 answers

How to restart the service when time is reach only once a day

Hi, in continue to https://learn.microsoft.com/en-us/answers/questions/1663229/service-monitor how to restart the service when time is reach only once a day ? protected override async Task ExecuteAsync(CancellationToken stoppingToken) { while…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,514 questions
asked 2024-06-06T10:23:27.6266667+00:00
Dani_S 3,046 Reputation points
commented 2024-06-12T11:42:41.56+00:00
Dani_S 3,046 Reputation points
2 answers One of the answers was accepted by the question author.

URL Rewrite rule not working Http to Https Redirect IIS 10 - Asp.Net Framework 4.8 - aspx - Web Forms

Using URL rewrite module 2.1 in IIS 10 is not working as expected. Here is my requirement I have several web applications running under "Default Web Site". One of them is "WebAppDemo" The Default Web Site has bindings as in the…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 questions
asked 2024-06-07T19:10:18.9433333+00:00
techthiru 40 Reputation points
edited a comment 2024-06-12T11:33:34.28+00:00
AgaveJoe 26,671 Reputation points
1 answer

Combine 2 Solutions in to 1

I have 2 separate MVC applications (Project1.sln, Project2.sln) using Entity Framework in VS 2019. Both applications work fine if the project/solution is loaded separately. When I add Project2 in Project1, I get a long list of errors. What's the best way…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 questions
asked 2024-06-12T05:31:39.46+00:00
Malam Malam 161 Reputation points
commented 2024-06-12T11:32:04.89+00:00
AgaveJoe 26,671 Reputation points
0 answers

The type initializer for 'Microsoft.Data.SqlClient.SqlAuthenticationProviderManager' threw an exception.

Getting error while connecting db with .net core Application

Azure SQL Database
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
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,039 questions
asked 2024-06-12T10:32:54.79+00:00
Sagar Lugade 0 Reputation points
commented 2024-06-12T11:09:43.39+00:00
ShaktiSingh-MSFT 14,166 Reputation points Microsoft Employee
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,514 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,458 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

why can not connect to ios Simulator?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-06-12T03:35:06.8366667+00:00
mc 3,806 Reputation points
answered 2024-06-12T09:50:37.9333333+00:00
MD. MAKSUDUL ISLAM RABBI 0 Reputation points
2 answers

What does this setting do in IIS - Ssl Settings - Require SSL ?

I would like to understand the effect of this setting in IIS  What happens when this check box named "Require SSL" is checked? Does this enable https: protocol on a http site? such that the website can be browsed with https: in the URL? Does…

Internet Information Services
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,358 questions
asked 2024-06-05T13:24:46.4533333+00:00
THIRUNARAYANAN SOWRIRAJAN 0 Reputation points
commented 2024-06-12T09:38:02.6066667+00:00
Sam Wu-MSFT 7,126 Reputation points Microsoft Vendor
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,039 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,458 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
0 answers

The color of hamburger icon in FlyoutPage always be changed to the white in Maui.

My project is using FlyputPage as follows: <FlyoutPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,043 questions
asked 2024-06-12T08:57:33.9666667+00:00
Junior Jiang 6 Reputation points
edited the question 2024-06-12T09:00:20.1366667+00:00
Junior Jiang 6 Reputation points