26,649 questions with .NET-related tags

Sort by: Updated
1 answer

Closing the SoftInput Keyboard: User vs Programmatic

I have a Xamarin.Android app in which the user shows/hides different views using several buttons. Sometimes the soft input keyboard is open when the user clicks a button to display a different view. If the user manually closes the keyboard (using the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-06T21:34:38.427+00:00
Nathan Sokalski 4,111 Reputation points
answered 2021-07-21T08:15:17.077+00:00
Marcell Zólyomi 46 Reputation points
2 answers One of the answers was accepted by the question author.

Editing Query String Structure

Standard query string; /products.aspx?productID=1 I want /products/productname I have searched a lot but the results I have reached are generally valid for asp.net mvc. How do I provide this structure in asp.net webform?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 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.
11,199 questions
asked 2021-07-20T08:50:51.65+00:00
Ulas KAYALAR 236 Reputation points
answered 2021-07-21T07:55:51.69+00:00
Ulas KAYALAR 236 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin loops over the contents of a list view

Hallo, I have a small app in Xamarin for Andrios and IOS in c#. A list is displayed there via a list view. Itemsource is an ObservableCollection that is used to load data from a local database (SQLite). These data can be filtered by the user using…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-14T06:15:46.207+00:00
Michael Pleick 21 Reputation points
accepted 2021-07-21T07:00:55.623+00:00
Michael Pleick 21 Reputation points
1 answer One of the answers was accepted by the question author.

How do I use declarative markup for a RelativeLayout

I use plain C# code and Xamarin.CommunityToolkit.Markup for my UI layout. I am trying to embrace declarative layout but struggle sometimes with the required syntax. My latest difficulty is with a RelativeLayout. This works okay... RelativeLayout…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-20T09:32:01.14+00:00
EasyGoingPat 261 Reputation points
accepted 2021-07-21T06:56:45.083+00:00
EasyGoingPat 261 Reputation points
0 answers

How to clear cached pages in Shell?

Hi! In my Shell application I need to clear all data from pages after logout. How can I do this? How can I clear content for all flyout items? I see here a property ContentCache, I need to clear that property to recreate my page. Or do it by another…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-20T14:30:06.307+00:00
Igor Kravchenko 281 Reputation points
commented 2021-07-21T06:54:30.153+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,321 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How can I make sliding tab pages under Xamarin.Android

I have been developing a store management program for Zebra Barcode readers, and I want to make the usage more easier with slidable pages. I working with two or three pages under the same Activity and I want to slide between them with finger slide…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-06-25T06:24:03.797+00:00
Marcell Zólyomi 46 Reputation points
commented 2021-07-21T06:35:50.997+00:00
Marcell Zólyomi 46 Reputation points
1 answer

Accessing DisplayMetrics At Design Time

I have a custom control in my Xamarin.Android app that includes the following property: public bool WrapTakenString { get { return this._wraptakenstring; } set { this._wraptakenstring = value; …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-20T03:20:51.933+00:00
Nathan Sokalski 4,111 Reputation points
answered 2021-07-21T06:35:00.96+00:00
JarvanZhang 23,961 Reputation points
0 answers

Logging from .NET 5 Application Doesn't Reach Application Insights

I'm setting up a new web app with Application Insights. I've installed AI, and am seeing all the expected telemetry (server requests, failed requests, etc.) in the portal--except for logging sent through ILogger. I'm using .NET 5 and version 2.17.0…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,735 questions
asked 2021-07-13T14:59:37.117+00:00
Nathaniel Webb 1 Reputation point
commented 2021-07-21T06:02:42.46+00:00
Chao Deng-MSFT 801 Reputation points
1 answer One of the answers was accepted by the question author.

Can the DBConnection class be connected to by multiple STA threads in parallel?

When multiple STA threads try to access the DB using the DBConncetion class, all but the first one will not return a Connet function. When the program is stopped, the locked thread will get an exception saying "COM object that has been separated…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,046 questions
asked 2021-07-09T07:49:19.057+00:00
takuya 21 Reputation points
accepted 2021-07-21T05:36:36.427+00:00
takuya 21 Reputation points
0 answers

cpp_with_xamarin example runs on iOS simulator but not on iOS device.

I am trying to run the cpp_with_xamarin sample from https://github.com/xamcat/mobcat-samples as example of wrapping native libraries for use in xamarin applications. I can run the ios sample app on the iPhone Simulator without a problem but when running…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-20T02:29:38.89+00:00
AudPaul 1 Reputation point
commented 2021-07-21T05:33:19.133+00:00
Kyle Wang 5,531 Reputation points Microsoft Vendor
0 answers

add docker file support error

My IDE is Visual Studio for Mac 2019, I had create a ASP.NET Core WEB App( MVC ), i can run it correctly. But when i click the project ,and select "add docker file support", it will show error information:"Python runtimes…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,046 questions
asked 2021-07-21T03:22:52.347+00:00
炜 黄 21 Reputation points
0 answers

How to use Smooth streaming in xamain forms

Hi , I am using Media Element toolkit to MP4 play video. But my requirement is video smooth streaming with different video size(quality). I checked in Internet on the same. but didn't get proper solution. Could anyone help me on this. (For IOS and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-20T05:29:12.507+00:00
Ashwini 26 Reputation points
commented 2021-07-21T03:10:07.857+00:00
Kyle Wang 5,531 Reputation points Microsoft Vendor
0 answers

How to push a content view on top of another content view

I have a content page that hosts a top view and a bottom content view. The top view should stay fixed. Based on the users' choice, another content view should be added on top of the existing bottom view. I cannot find a push function that can achieve…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-07-14T19:14:15.473+00:00
Wei Wen 1,126 Reputation points
commented 2021-07-21T01:28:27.01+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 34,321 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Change the Glyph dinamically

Hello I have a little issue, I want to change my Glyph, based on the order of the Listview Here is my little method, to control that [AddINotifyPropertyChangedInterface] public class NotebooksVM { public…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,369 questions
asked 2021-06-26T16:58:40.107+00:00
Eduardo Gomez 3,431 Reputation points
accepted 2021-07-20T21:12:25.183+00:00
Eduardo Gomez 3,431 Reputation points
6 answers

Pass jQuery data from View to Controller and save it as many-to-many

Hi, can you help ? I have a many to many relationship. I generated controller and view for the 2 below entities (Product and Invoice) from scaffolding in asp.net 3.0 and ef core 3.1 I'm able to do CRUD from both entities. I have a requirement, in Invoice…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,735 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,566 questions
asked 2021-07-20T01:15:40.337+00:00
Lancis007 41 Reputation points
commented 2021-07-20T19:50:43.447+00:00
AgaveJoe 29,281 Reputation points
0 answers

EntityFrameworkCore 5.0.8

Team , How to execute the oracle 11g stored procedure which resides in the package using EntityFrameworkCore 5.0.8

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
770 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,046 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,186 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
770 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,046 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,186 questions
asked 2021-07-16T14:57:22.517+00:00
Anil 21 Reputation points
commented 2021-07-20T18:15:27.983+00:00
Karen Payne MVP 35,466 Reputation points
0 answers

EntityFrameworkCore 5.0.8

Team , How to execute the oracle 11g stored procedure which resides in the package using EntityFrameworkCore 5.0.8

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
770 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,046 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,186 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
770 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,046 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,186 questions
asked 2021-07-16T14:57:22.517+00:00
Anil 21 Reputation points
commented 2021-07-20T18:15:27.983+00:00
Karen Payne MVP 35,466 Reputation points
2 answers One of the answers was accepted by the question author.

ClickOnce Bootstrapper Packages for access database engine 2016/2010 for Visual Studio 2019/ 2017

Hello All, I'm trying to create Setup project for my application in Visual Studio 2019 that needs Access Database Engine 2010/2016. I tried following all the information that I could find on web but no success. I created accessdatabaseegine folder…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,917 questions
asked 2021-07-14T20:58:31.183+00:00
accepted 2021-07-20T16:53:42.493+00:00
3 answers

Can't debug asp.net core api in visual studio 2019 (No button IIS Express)

Please help me!!!! I installed visual studio 2019 community program and trying to build an api project. How can i test the result. IIS Express button not showing or tell me how to run it to see the result thank you very much

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,735 questions
asked 2021-07-18T19:09:06.88+00:00
Aekchai Glomjitjarern 1 Reputation point
answered 2021-07-20T14:47:24.29+00:00
Duane Arnold 3,216 Reputation points
1 answer

Excel Generated Through open XML programatically causing issue with styles exceeding limit 65490.

Excel Generated Through open XML programatically causing issue with styles exceeding limit 65490. Unable to Open the Generated Excel due to the breach of style limit 65490. excel Contains:170 Pages Each Page contains 640 cells.( Total will…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,917 questions
asked 2021-07-14T11:59:08.01+00:00
sravanthi 1 Reputation point
commented 2021-07-20T09:23:11.917+00:00
Daniel Zhang-MSFT 9,631 Reputation points