25,028 questions with .NET-related tags

Sort by: Updated
0 answers

work with resource files by ResourceManager in .net Core 5 MVC

Hi there, I wanna work with resource file by this code in .net Core 5 MVC: rm = new ResourceManager("Resources.Texts", System.Reflection.Assembly.Load("Resources")); ci = Thread.CurrentThread.CurrentCulture; rm.GetString(name,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2021-02-19T11:55:15.533+00:00
Hossein Dabbaghan 21 Reputation points
commented 2021-02-24T06:52:15.233+00:00
Yiyi You - MSFT 521 Reputation points
0 answers

Require a Microsoft.Web.Infrastructure.dll with sha256 signtures

Hi, all, We have an MVC project with Microsoft.Web.Infrastructure.dll which has sha1 signatures. For some security requirements, we need a sha256 signed version of this assembly. Unfortunately, this assembly hasn't been updated since 2011. Where can I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2021-02-24T06:42:45.993+00:00
Jimmy Tang (jtang1) 1 Reputation point
2 answers One of the answers was accepted by the question author.

Products with different idioms inside database

I need to have a website that will sell some products. However, these products need to be translated into 5 different idioms (English, Spanish, Italian, French, German) What's the best way to do that? a) Have 5 different columns in a table (id, product…

.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,141 questions
asked 2021-02-24T01:54:30.94+00:00
ANB 181 Reputation points
answered 2021-02-24T03:48:54.913+00:00
ANB 181 Reputation points
2 answers

How to update and persist a settings value

I want to change a string value in the project settings at run time in such a way that it will persist till the next execution. It seems to be impossible. Is that correct?

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 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,648 questions
asked 2021-02-23T01:26:53.567+00:00
Marc Graham 21 Reputation points
commented 2021-02-24T03:19:32.837+00:00
Daniel Zhang-MSFT 9,621 Reputation points
0 answers

Structure Table use Sqlite net pcl and LINQ

How do I make the Attendance table structure by joining the table as shown above? Nb. I have 2 class. program and student, I like joined table in Absensi class but I don't know how to make it. because Date from Program class and Name…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-21T19:33:43.323+00:00
gembel_abadi 41 Reputation points
commented 2021-02-24T02:46:01.363+00:00
Nicole Lu-MSFT 96 Reputation points
1 answer

Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1)

I just created a sample Project and trying to do archive for publishing. But unfortunately i am getting error like this. warning : Xamarin.Forms recommends TargetPlatformMinVersion >= 10.0.14393.0 (current project is -1). The below one is my…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-22T20:21:20.847+00:00
Anonymous
commented 2021-02-24T01:50:14.597+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
1 answer

Migrating a Self-Hosting SignalR Winforms app to .Net Core

Hello all, I have been tasked with migrating a Winforms project from .NET Framework to .NET 5. While doing so I have ran into some problems that I do not know the answer too. I have a Winforms application that self hosts a SignalR hub and communicates…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
asked 2021-02-23T22:06:44.26+00:00
Ryan Daley 1 Reputation point
answered 2021-02-24T01:37:37.66+00:00
Daniel Zhang-MSFT 9,621 Reputation points
1 answer One of the answers was accepted by the question author.

How to force a single page to be displayed in landscape mode?

Hello, I am an amateur developer working on my first Xamarin application. In my situation, I have a page that contains a video and two buttons that I'd like to lock in landscape mode, but I don't want the other pages to also be locked in landscape as…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-22T23:47:01.003+00:00
Josh 21 Reputation points
commented 2021-02-23T23:30:46.203+00:00
Josh 21 Reputation points
0 answers

What is the native control for WebView on macOS in Xamarin Forms?

I see: https://learn.microsoft.com/en-gb/xamarin/xamarin-forms/app-fundamentals/custom-renderer/renderers But it mentions iOS and not macOS. I simply want ability to print the web view. On macOS I can simply click the web view to give it focus and then…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-23T20:54:51.247+00:00
ChuckieAJ 96 Reputation points
1 answer

ADFS Single Sign On with ReactJS (Frontend) /.Net Core Web API (Backend)

We are having react app as frontend application and .NET Core Web API as Back end application. Our client requirement is to integrate ADFS SSO. Our Client is already having On-Premises ADFS running in their windows server 2016. After some googling I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,226 questions
asked 2021-02-23T06:12:22.687+00:00
Vignesh Thiruvirkolam 1 Reputation point
answered 2021-02-23T15:46:15.127+00:00
Pierre Audonnet - MSFT 10,171 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

xamarin.forms encrypt sqlite db file

I'm new to this platform, and I hop is there any way to encrypt the SQLite database; I search on the internet but didn't found helpful results. I found this blog https://www.bricelam.net/2016/06/13/sqlite-encryption.html but I don't know how to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 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,361 questions
asked 2021-02-23T14:07:51.31+00:00
drdmohssine 26 Reputation points
accepted 2021-02-23T15:07:22.493+00:00
drdmohssine 26 Reputation points
3 answers

Error 26: issues connecting app with database

Hello, I'm getting error 26 when my app needs to connet to the database. My app is up in Azure, as well as my database. Query in my database runs fine. My app is in ASP.NET VB.NET and the database is in SQL server. Azure has no problem showing…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,668 questions
asked 2021-01-26T03:30:15.23+00:00
griselda rios 6 Reputation points
commented 2021-02-23T14:46:08.503+00:00
griselda rios 6 Reputation points
2 answers One of the answers was accepted by the question author.

Switching Tab in TabbedPage with five tabs or more

Hello I have a project where i have a TabbedPage with seven tabs and i want to switch tab from one tab to another using code so in my tab i have this: var masterPage = this.Parent as TabbedPage; masterPage.CurrentPage =…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-23T09:50:42.997+00:00
Mattias Nilsson 21 Reputation points
accepted 2021-02-23T13:50:55.187+00:00
Mattias Nilsson 21 Reputation points
0 answers

Uploading Android apk into play store

I'm trying to upload app into playstore, getting this error: Your app currently targets API level 28 and must target at least API level 29 to ensure that it is built on the latest APIs optimised for security and performance. Change your app's target…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-23T10:19:37.533+00:00
imran jan 1 Reputation point
commented 2021-02-23T13:46:22.313+00:00
JarvanZhang 23,951 Reputation points
1 answer

CollectionView Auto Height based on its content

I tried with below code and by setting static height as 95 to the inner collectionview datatemplpate Grid. But i need to set the grid height dynamically. Any help is appritiated. ViewModel: foreach (var header in HeaderListData) { …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-23T07:17:47.637+00:00
Gopi Vissa 1 Reputation point
commented 2021-02-23T13:26:04.64+00:00
JarvanZhang 23,951 Reputation points
0 answers

netcore for linux FileInfo obj cannot get "****Time"

LastWriteTime LastWriteTimeUtc CreationTime CreationTimeUtc all result -------> 1/1/1601 year

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
asked 2021-02-23T12:28:35.237+00:00
丶 你与时光 1 Reputation point
0 answers

Binding with a 3rd party library that uses xcframework

The library uses xcframework. Besides not having reliable instructions on how to proceed with binding when having this type of package, I'm also unsure if I should be following the Swift binding instructions or the Objective C instructions for binding.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-15T19:05:58.34+00:00
Shay 1 Reputation point
commented 2021-02-23T10:04:18.933+00:00
Junior Jiang-MSFT 11 Reputation points
1 answer

How to open Console App from MVC web application

I have deployed MVC application in IIS, and from this MVC application i want to open console app. so that is not possible due to IIS security . Now i have create one package installer add added console application exe in Application and decalared…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2021-02-19T07:15:21.283+00:00
kailash solanki 1 Reputation point
commented 2021-02-23T09:38:04.73+00:00
kailash solanki 1 Reputation point
1 answer

Emails in the drop folder

So we have a couple of email enabled sharepoint libraries. The libraries have an email address e.g. something@Anonymous .domain. The externally advertised email would be something@Anonymous and the Exchange connector would route the email…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,900 questions
asked 2021-02-17T23:07:12.777+00:00
Jay Paterson 96 Reputation points
commented 2021-02-23T09:13:18.283+00:00
Wendy Li_MSFT 1,711 Reputation points Microsoft Vendor
1 answer

Include icon with DisplayPromptAsync

Is it possible to add support for including an image when using DisplayPromptAsync? I small image like on all the popups we already get from the Mac?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-21T18:22:02.707+00:00
ChuckieAJ 96 Reputation points
commented 2021-02-23T09:09:33.58+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor