Microsoft Q&A

.NET

14,076 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

14,076 questions with .NET-related tags

Sort by: Updated
1 answer

What is the best way to store an appointment time?

I need to save scheduled datetime appointments with the time set by timezone. What is the best data type to use to save this in a database?

.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.
982 questions
asked 2023-03-29T15:36:29.7533333+00:00
David Thielen 691 Reputation points
edited an answer 2023-03-29T15:46:21.6066667+00:00
David Thielen 691 Reputation points
0 answers

Recognize .NET MAUI Image loading failure

I'm using the .NET MAUI Image control to display images stored on disk. In rare cases an image file can be damaged, so the image cannot be loaded into the Image control. If this happens, I see an exception in the…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,096 questions
asked 2023-03-29T15:46:17.7933333+00:00
Frank16384 0 Reputation points
1 answer

html css mobile

<section class="kaydirma"> <div class="swiper mySwiper container"> <div class="swiper-wrapper content"> <div class="swiper-slide card"> …

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.
7,596 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,327 questions
asked 2023-03-29T12:55:00.27+00:00
kadir koçaslan 40 Reputation points
edited a comment 2023-03-29T15:31:14.9+00:00
Karen Payne MVP 30,216 Reputation points
2 answers

ASP.NET Design Template with Bootstrap

I am developing many web application using ASP.NET. For that, i used Ajax,CSS,HTML,etc. We were not used in depth Bootstrap and other technologies with ASP.NET. I have the requirement and want to develop .NET Web application with Rich and user friendly…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,846 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,327 questions
asked 2023-03-29T06:04:25.7566667+00:00
Gani_tpt 1,261 Reputation points
answered 2023-03-29T15:14:56.5066667+00:00
Bruce (SqlWork.com) 31,651 Reputation points
1 answer

Restore punctuation to unstructured text using C#

Hi, I am looking to restore or add punctuation properly in unstructured text using C# or ML.Net. I found option available in python called "rpunct". But I want to implement it in .net core Web API project. The "rpunct" is working as…

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.
7,596 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
897 questions
asked 2023-03-07T07:56:26.4833333+00:00
Thamotharan 21 Reputation points
answered 2023-03-29T15:09:16.3733333+00:00
Bruce (SqlWork.com) 31,651 Reputation points
0 answers

How to Open Files on Xamarin Android Using FilePicker

using Xamarin.Essentials; (at the top of the file) async Task<FileResult> PickAndShow(PickOptions options) { try { var result = await FilePicker.PickAsync(options); if (result != null) { string Text…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,930 questions
asked 2023-03-21T13:53:33.71+00:00
Ronald GANS 136 Reputation points
edited a comment 2023-03-29T14:51:59.48+00:00
Ronald GANS 136 Reputation points
0 answers

textbox cursor at top

i have this code to move to bottom of textbox It does not work //move carat to end of text textBox1.Select(textBox1.Text.Length, 0); textBox1.Focus(); textBox1.ScrollToCaret();

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,846 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
897 questions
asked 2023-03-29T14:46:12.71+00:00
Jordan Halgunseth 1 Reputation point
1 answer One of the answers was accepted by the question author.

passing data from view model not working

Hello , I have this text field <Border BindingContext="{Binding Source={RelativeSource TemplatedParent}}" StrokeThickness="0" StrokeShape="RoundRectangle 10"> …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,096 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.
7,596 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.
602 questions
asked 2023-03-28T23:18:53.59+00:00
ahmed omar 101 Reputation points
accepted 2023-03-29T14:36:49.1433333+00:00
ahmed omar 101 Reputation points
0 answers

Xamarin.Android.Bindings.targets was not found

when running the following command on a xamarin.android class library project dotnet pack --configuration Release I am facing following issue MSBuild version 17.3.0+92e077650 for .NET…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,930 questions
asked 2023-03-29T14:34:43.4766667+00:00
Faizan Haider 0 Reputation points
1 answer

Conditional MainPage in AppShell

Hi, I have the below in my AppShell <?xml version="1.0" encoding="utf-8" ?> <Shell x:Class="MyApp.Mobile.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,096 questions
asked 2023-03-29T14:05:55.4833333+00:00
Jassim Al Rahma 1,166 Reputation points
edited an answer 2023-03-29T14:23:03.1166667+00:00
betalyte 0 Reputation points
3 answers

Invoking azure functions server SignalR group functions from ASP.NET Core Client

I am trying to invoke azure functions server SignalR group functions from an ASP.NET Core client. The server side code that I am trying to invoke via an ASP.NET Core client can be found in this article. I have not found a single reference of a C#…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,846 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
81 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
2,797 questions
asked 2023-02-22T11:00:39.4466667+00:00
Bubba Jones 151 Reputation points
commented 2023-03-29T14:13:17.3466667+00:00
MuthuKumaranMurugaachari-MSFT 8,721 Reputation points
1 answer One of the answers was accepted by the question author.

How to use a auto ml pickle file from azure studio in a c# .NET api?

Hello to all, I am currently working on a Machine Learning project, I have launched the auto ML of Microsoft Azure Studio on my data and I have downloaded the best model in a folder with the appropriate Pickle file. However I would like to use this…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
897 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.
241 questions
asked 2023-03-29T08:53:34.17+00:00
AMROUN Lysa 81 Reputation points
commented 2023-03-29T13:54:52.34+00:00
AMROUN Lysa 81 Reputation points
1 answer One of the answers was accepted by the question author.

Show Pop Up for entering Data

Hi Friends. I want to show a Modal Pop Up to get data from the user. Is there a base class for a Pop Up View and Can I use a RelayCommand to display the Pop up? Thanks !!!!

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.
602 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,096 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.
7,596 questions
asked 2023-03-28T20:06:05.7666667+00:00
Ronald Rex 631 Reputation points
accepted 2023-03-29T13:47:07.51+00:00
Ronald Rex 631 Reputation points
0 answers

Maui kernelbase error when installed on client

Hi, I have made a Maui application and has signed it and it is installing on the client. But when opening I dont get any response and the following is shown in the event viewer. Faulting application name: FlexViewer.exe, version: 1.0.0.0, time…

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,096 questions
asked 2022-09-02T10:29:53.607+00:00
Mads S. Christiansen 1 Reputation point
commented 2023-03-29T13:45:02.33+00:00
Arsenio Benitez 0 Reputation points
0 answers

How do I dynamically replace value in razor syntax based on selectedIndex in dropdown

I have an CSHTML View that has a dropdownlist. In the OnChange event I'm calling reportchange(this) which calls my function reportchange. How can I dynamically use the selectedIndex, this code doesn't work because the Razor code errors out with the…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
741 questions
asked 2023-03-29T13:33:39.8466667+00:00
Bill Mickey 0 Reputation points
1 answer

Visual Studio Code C# MVC Application - How to view Marked up HTML Code as if hard coded in an HTML Page...

Attempting to do code behind in a Visual Studio Code Application when I have done my own HTML Markup code in a routine in the C# code: . . . @ViewData["abc"] = "<br/>Message<br/Message2<br/>Message3"; …

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
741 questions
asked 2023-03-28T23:21:40.2433333+00:00
BillNew 26 Reputation points
answered 2023-03-29T13:32:58.5+00:00
BillNew 26 Reputation points
0 answers

How can I figure out what nuget package is throwing an error about Xamarin.Android.Support.v4 no longer supported?

I have an old Xamarin.Forms app for iOS and Android that I am trying to upgrade to work on the latest Android OS. When I build I get these errors: …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,930 questions
asked 2023-03-27T21:22:32.47+00:00
Tony Pitman 21 Reputation points
commented 2023-03-29T13:20:04.99+00:00
Tony Pitman 21 Reputation points
0 answers

Entry field control is covered by keyboard

Hello, I have a view with 4 Entry controls, when I try to type inside the control, the keyboard will cover the Entry field. is there any way to shift up the control to be above the keyboard?

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
1,096 questions
asked 2023-03-29T13:11:02.2266667+00:00
ahmed omar 101 Reputation points
1 answer

How to restrict scrolling and panning with single finger and enable with two fingers in UWP ScrollViewer using touch screen?

Hi, In an UWP application, I am having a ScrollViewer in the XAML which contains a StackPanel as Content. In that StackPanel there are some images. XAML: <Grid> <ScrollViewer x:Name="scrollView"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,930 questions
Universal Windows Platform (UWP)
asked 2023-03-27T06:02:13.86+00:00
Imman Kumar 6 Reputation points
commented 2023-03-29T13:01:08.3866667+00:00
Imman Kumar 6 Reputation points
0 answers

Error Package Microsoft.Owin 4.2.2 is not compatible with xamarinios10 (Xamarin.iOS,Version=v1.0)

Hello, I have a problem adding packages via Nuget Manager in my Xamarin project. I am working on a MacBook with Visual Studio 2022. Among other things, I want to add the packages Microsoft.OWIN and OWIN.Security.Keycloak to my project for iOS. Both on a…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,930 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
39 questions
asked 2023-03-29T12:57:16.34+00:00
MB-1826 0 Reputation points