26,311 questions with .NET-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Array pointer to numbers in C#

This may sound strange, but can users assign an array pointer to a number; mainly an integer; If it can be, then would users provide me some examples? For example: arr[0]=45; arr[1]=18; arr[2]=7; arr[3]=60; arr[4]=61; arr[5]=10; …

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,906 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,091 questions
asked 2021-01-27T19:29:59.437+00:00
JohnCTX 636 Reputation points
accepted 2021-01-28T12:58:38.997+00:00
JohnCTX 636 Reputation points
2 answers

Failed to resolve Android.Gms.Common.Zzc in Release

I have a problem when I build this app in RELEASE mode only. In debug it works no problem, but in release I get this build error and I can't figure out what it could be.. Any idea? Severity Code Description Project File Line Suppression State …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2021-01-26T20:50:02.903+00:00
Stesvis 1,041 Reputation points
answered 2021-01-28T11:36:37.31+00:00
Simon Wainwright 1 Reputation point
2 answers

How can I access a specific collectionview child? In this case, the label “DataCadastroLabel”

I want to change the value of VerticalOptions. I can't directly access this label, even if I pass its name DataCadastroLabel. These layout changes are only to adapt some components to the device's landscape mode XAML <CollectionView…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 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,091 questions
asked 2021-01-27T16:24:12.817+00:00
answered 2021-01-28T10:16:59.763+00:00
JessieZhang-MSFT 7,711 Reputation points Microsoft Vendor
1 answer

how to check if the tab is closed in asp.net

i want know who connected/disconnected to my web app i created a table in database that update if a user connected but i'am stuck in if is closed tab i want update it to disconnected please help

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,533 questions
asked 2021-01-26T15:57:44.02+00:00
HOUSSEM MAHJOUBI 286 Reputation points
commented 2021-01-28T09:41:02.167+00:00
Yijing Sun-MSFT 7,086 Reputation points
0 answers

How to add permission to com.sec.android.provider.badge.BadgeProvider uri content://com.sec.badge/apps in Xamarin Forms

Am getting below error on my Samsung phone running android 10. i have been try to fix this for days now and no luck. I have added <uses-permission android:name="com.sec.android.provider.badge.permission.WRITE" /> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2021-01-23T15:21:45.293+00:00
Sylvester Eze 1 Reputation point
commented 2021-01-28T09:17:38.64+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer

Update panel is not working by CSP

Update panel is not working if content security policy is self. This is in asp.net classic please suggest. Note:I am not prefer to put unsafe-inline or unsafe-eval

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,533 questions
asked 2021-01-28T04:11:46.29+00:00
Revathi M 1 Reputation point
answered 2021-01-28T08:38:34.56+00:00
Yijing Sun-MSFT 7,086 Reputation points
1 answer

Xamarin Forms UWP. Nuget Package Downgrade whilst building

I am creating A UWP version of a Xamarin App from a previously successfully deployed XF Android version of the App (Simple? It seems not!) and I seem to be stuck in an interminable loop of updates and errors which I cannot resolve. Before the detail…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,964 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,964 questions
asked 2021-01-27T10:20:07.273+00:00
Matthew Robb 21 Reputation points
commented 2021-01-28T07:22:24.683+00:00
JarvanZhang 23,961 Reputation points
1 answer

Xamarin Forms UWP. Nuget Package Downgrade whilst building

I am creating A UWP version of a Xamarin App from a previously successfully deployed XF Android version of the App (Simple? It seems not!) and I seem to be stuck in an interminable loop of updates and errors which I cannot resolve. Before the detail…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,964 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,964 questions
asked 2021-01-27T10:20:07.273+00:00
Matthew Robb 21 Reputation points
commented 2021-01-28T07:22:24.683+00:00
JarvanZhang 23,961 Reputation points
0 answers

Runnin SSRS Report from Razor Page

I have created a Razor Page containing a form which will be filled by user & then user will try to generate report from SSRS. I have two questions: How can I pass the parameters to SSRS report? How can I save generated report (in Excel) in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,665 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,949 questions
asked 2021-01-27T08:39:29.15+00:00
Addy2021 1 Reputation point
commented 2021-01-28T07:22:12.42+00:00
Addy2021 1 Reputation point
0 answers

I want to know how to avoid filters and blocks. Thank you!

Thanks.hgfntftgfc cgcimhfkuymg

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,795 questions
asked 2021-01-27T13:41:27.06+00:00
Mordy 1 Reputation point
commented 2021-01-28T06:06:23.63+00:00
DaisyTian-1203 11,626 Reputation points
2 answers

Can .Net Core MVC application be deployed on Windows Server 2008

Hi, There is .Net Core MVC Application and wanted to deploy that to Windows Server 2008. Can I know if that's possible? If its not possible what are all the alternatives. Thanks, Ramya

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,665 questions
asked 2021-01-26T16:21:50.887+00:00
Ramya Gollapudi 1 Reputation point
commented 2021-01-28T06:05:10.527+00:00
Sam Wu-MSFT 7,536 Reputation points Microsoft Vendor
2 answers

IIS App Domain restarting unexpectedly

We have handler based web application hosted on IIS. It is "HttpHandler" based routing application. The handlers receive approximtalet two to three thousand requests per second to serve data. The IIS App_domain getting restarted unexpectedly…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,665 questions
asked 2020-12-14T13:05:24.82+00:00
Venkat idarts 6 Reputation points
answered 2021-01-28T05:48:35.127+00:00
Aniruddha Mukherjee 1 Reputation point
0 answers

SetAccessControl() issues this: Attempted to Perform An Unauthorized Operation

I am a guy who designs and codes programs for Windows 10 desktops. I am puzzled by the error message. How do I work around the complaint from Microsoft's software? How can I make my code authorized? public static void…

.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,177 questions
asked 2021-01-27T22:52:48.03+00:00
MARK ROCKMAN 1 Reputation point
commented 2021-01-28T05:42:10.887+00:00
Jerry Cai-MSFT 991 Reputation points
2 answers

Asynchronous programming in calling a function which read DB

From the main form, the SettingForm is loaded by clicking a toolbar button. In the SettingForm_load event, the setting data is read by calling the function(ReadData) which read data from database. After that, display the setting data(DisplayData) on…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,906 questions
asked 2021-01-27T04:00:54.853+00:00
JeffinAtl 161 Reputation points
commented 2021-01-28T05:29:27.35+00:00
JeffinAtl 161 Reputation points
1 answer

How to apply different header and footer styles for different group levels?

Here's the output of a sample app with multilevel grouping: Here's the link of the sample app. In that I've a DataTrigger for styling headers and footers which are not BottomLevel and as a result same style is applied to all those levels. What I…

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,795 questions
asked 2021-01-27T03:36:46.01+00:00
Emon Haque 3,176 Reputation points
answered 2021-01-28T05:07:35.41+00:00
Emon Haque 3,176 Reputation points
2 answers

Improve CollectionView Performance

We have a landing page that has this layout: When you click on one of the section buttons, the ObservableCollection in the ViewModel is set to another list as so: private async void processtableOfContentsListView_ItemTapped(object sender,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2021-01-27T15:02:30.253+00:00
Fink, Jacob 1 Reputation point
answered 2021-01-28T03:49:24.203+00:00
mc 4,796 Reputation points
4 answers

"Invalid file path" error

Hi there, I added a "icons1.ttf" file under \Android\Resources\Fonts directory and VS 2019 keeps on giving the error message : "invalid file path 'S:\Ulvi\Apps\samples\Mobile1\Mobile1.Android\obj\Debug\90\res\fonts\icons1.ttf'. And it…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2021-01-27T21:56:01.657+00:00
AUU 1 Reputation point
answered 2021-01-28T03:47:30.327+00:00
AUU 1 Reputation point
1 answer

Accessing / Downloading certificate from Xamarin.University

Hi there I know, Xamarin.University has gone for quite a while but I just wonder if there is a way to download or access my certificate I did there once ago? Mistakenly I forgot to download it back then. Please let me know. Thanks, Rafael

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2021-01-25T12:22:33.62+00:00
Rafael Stalder 1 Reputation point
commented 2021-01-28T02:16:49.137+00:00
JessieZhang-MSFT 7,711 Reputation points Microsoft Vendor
1 answer

How can I utilize compiled binding inside Application.Resources for say a StyleTrigger of type DataTrigger bound to a feild in the ViewModel?

For example, If I have this Style block inside my Application.Resources. and lets say inside the contentview where I have the ViewModel binded and DataType set (x:DataType"ViewModels:MyViewModel"), let's say I have a …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,366 questions
asked 2021-01-26T21:29:49.247+00:00
Tyler Tucker 1 Reputation point
commented 2021-01-28T01:33:34.697+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 77,181 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How does one keep DirectoryInfo's Constructor from always prefixing the app's path in it.

I hope this is the right forum. I am attempting to write a .net Core application, and I cannot seem to get ahold of a particular directory. Every time I try to create a DirectoryInfo object, it appends whatever I pass in as the parameter to the present…

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,091 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,177 questions
asked 2021-01-27T16:56:14.85+00:00
Joe 96 Reputation points
accepted 2021-01-27T23:39:22.447+00:00
Joe 96 Reputation points