Microsoft Q&A

.NET

13,919 questions

Microsoft Technologies based on the .NET software framework.

Browse all .NET tags

13,919 questions with .NET-related tags

Sort by: Updated
0 answers

Replacing reduced quality images with original quality images in Word to Filtered HTML conversion

I am creating a Word to HTML converter using Microsoft.Office.Interop.Word by saving each input Word document as Filtered HTML. But I am seeing a loss of image quality in the generated Filtered HTML as compared to the original embedded images. Following…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
490 questions
.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.
978 questions
asked 2021-02-11T04:01:16.803+00:00
Jayashri V 1 Reputation point
commented 2021-02-11T08:30:10.697+00:00
Emily Hua-MSFT 23,616 Reputation points Microsoft Vendor
0 answers

How to handle numbers in other languages?

Hi, In iOS it writes the numbers in Arabic (hindi) and English formats which is fine for typing but it creates a major problem in development. For example, hen the user sign in to my app using 0501234567 using English keyboard it will allow him…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-02-09T20:23:51.76+00:00
jrahma 111 Reputation points
commented 2021-02-11T06:19:47.67+00:00
1 answer

Loss in image quality while saving Word document as Filtered Web Page?

I am writing a Word to HTML converter. I am using the approach of saving Word file as Filtered HTML to carry out the conversion. I have automated this process using Microsoft.Office.Interop.Word for every Word document input that has to be converted.…

.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.
978 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
490 questions
Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
790 questions
asked 2021-02-10T16:54:18.937+00:00
Jayashri V 1 Reputation point
answered 2021-02-11T05:52:25.653+00:00
Daniel Zhang-MSFT 9,476 Reputation points
1 answer

UDP receive in asp.net web application SignalR

I want to receive a realtime data in a web application and display that realtime data in web form. I have heard about the signalR. I tried to put UDP receive codes as shown below in the hub class. But it gives error . Please suggest any solution so that…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
asked 2021-02-10T17:42:34.933+00:00
cdeo 1 Reputation point
answered 2021-02-11T05:49:25.74+00:00
Michael Wang-MSFT 1,046 Reputation points
1 answer

Enable MaterialEditorRenderer (Copy, Cut and Selection) of Multiline Text

Hello, I am using Xamarin Forms to render an Editor that allows for multiline text. However, when I long press in the Editor box when it already has more than 1 line of text, the menu is not showing up to select/cut/copy the text. How do I enable this…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-02-10T17:51:44.837+00:00
Tasi Mals 1 Reputation point
answered 2021-02-11T02:50:55.667+00:00
0 answers

Application Insights tracing not working for asp.net project

App Insights is not working in one of project. It works in the MVC project of that solution but it doesn't work in the older aspx project. could you please help me. I updated the sdk to use 2.16 which works in the MVC but the same is not working in the…

ASP.NET Web Forms
ASP.NET Web Forms
A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.
458 questions
Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
1,922 questions
asked 2021-01-12T08:38:25.72+00:00
meenakshi sekar 1 Reputation point
commented 2021-02-10T22:56:11.68+00:00
olufemia-MSFT 2,781 Reputation points
1 answer One of the answers was accepted by the question author.

Download html which also have hyperlinks which points to other html to download as well and go deep to download

Hi there, How would you do this? Point to a start HTML main webpage, download this main and then retrieve all the links and download the sub html pages and then all the subpages retrieved do the same thing and get the links and then also download…

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,497 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,315 questions
asked 2021-02-07T16:26:28.087+00:00
nellie 126 Reputation points
accepted 2021-02-10T22:26:48.153+00:00
nellie 126 Reputation points
1 answer One of the answers was accepted by the question author.

Xamarin Forms and SkiaSharp, implementing moving cursor on bitmap

I am writing a Xamarin Forms app that loads a bitmap from an embedded resource and uses it as background for a moving cursor. I use a typical event handler for painting the bitmap: private void OnCanvasViewPaintSurface(object sender,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-02-08T17:37:27.06+00:00
Nils Kullendorff 21 Reputation points
accepted 2021-02-10T19:57:53.4+00:00
Nils Kullendorff 21 Reputation points
1 answer One of the answers was accepted by the question author.

Convert aspx file

I am looking for a solution to convert this code below. To have better readability of the text. File .aspx : <mso:PublishingPageContent msdt:dt="string"><strong>Lier votre n° de mobile à votre espace…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,315 questions
asked 2021-02-10T09:30:19.517+00:00
Ribeaud Lucas 21 Reputation points
accepted 2021-02-10T16:36:41.587+00:00
Ribeaud Lucas 21 Reputation points
4 answers One of the answers was accepted by the question author.

how to customize colorAccent when changing the theme

Hello, I am developing an application under xamarin.forms I am using AppThemeBinding to apply colors suitable for light or dark theme: App.xaml <Style TargetType="NavigationPage"> …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-01-22T16:58:28.083+00:00
delaio 306 Reputation points
accepted 2021-02-10T16:23:17.847+00:00
delaio 306 Reputation points
1 answer

Removing Extra Space From An Expander

I have an Expander from the Xamarin Community Toolkit. After tapping the Header, it expands to the following: This is ALMOST what I want. Notice the extra space below the Button(s). This is caused by something with the layout & rendering…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-02-09T16:31:25.587+00:00
Nathan Sokalski 4,051 Reputation points
answered 2021-02-10T16:18:53.37+00:00
Nathan Sokalski 4,051 Reputation points
0 answers

Getting error "Provider must implement the class 'System.Web.SessionState.SessionStateStoreProviderBase'." while configuring the Redis server to web config in windows server.

Hi , I have downloaded the REDIS server msi "Redis-x64-5.0.10.msi" from this link "https://github.com/tporadowski/redis/releases" and after installing the REDIS server , now trying to configuring the redis server for session state…

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
25,298 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,315 questions
asked 2021-02-10T13:01:42.427+00:00
Lata Rajput 11 Reputation points
0 answers

.Net Core SignalR 1.1.0 (GET /hub) call showing performance issue in Application Insights (AI).

.Net Core SignalR 1.1.0 (GET /hub) call showing performance issue in Application Insights (AI). Min time - 19 sec, Max time - 1.2 hours When client calls SignalR hub Send method (Hub method which broadcast messages to all connected clients), SignalR…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
asked 2021-02-10T11:18:10.977+00:00
Shailesh 6 Reputation points
1 answer

How to draw an arc in Xamarin.Forms (without Skia)?

Hey guyz. I am trying to build an arc like this one for a circular progress bar but i can't get how the ArcSegment works. Here is what i want to achieve - Here is my code so far - <Grid HorizontalOptions="Center"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-02-08T14:09:07.513+00:00
Mr. Onion 16 Reputation points
commented 2021-02-10T10:28:21.773+00:00
Mr. Onion 16 Reputation points
0 answers

HTTP pipelining on WCF

I would like to enable HTTP 1.1 pipelining on WCF. My understanding is that the pipelining is managed in http.sys and the application do not need to care it. However I need to configure the concurrency model by defining ServiceThrottlingBehavior. Is this…

Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
272 questions
asked 2021-02-04T06:22:32.593+00:00
Nakagawa, Takashi 1 Reputation point
commented 2021-02-10T08:27:43.82+00:00
Peng Ding-MSFT 91 Reputation points
1 answer

Enumerating Child Windows

Hi Im struggling to enumerate through the child windows of the parent application, i have looked but cant find anything that doesnt give me 'PinvokeStackImbalance' issue. Looking up the issue, i couldnt find an answer that i understood.... Here is…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
490 questions
asked 2021-02-09T16:02:25.01+00:00
NachitoMax 406 Reputation points
commented 2021-02-10T07:10:49.787+00:00
valdom 16 Reputation points
4 answers One of the answers was accepted by the question author.

Runtime error

error: 50 - Local Database Runtime error occurred. Cannot create an automatic instance. I am getting this type of eror.Can you suggest any solution?

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,497 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
718 questions
asked 2021-02-03T14:22:59.45+00:00
Rafaiya Rushdha Oishi 21 Reputation points
commented 2021-02-10T06:00:16.653+00:00
Rafaiya Rushdha Oishi 21 Reputation points
2 answers

[Android] TextTransform on Button not working?

Hello, I can't seem to be able to get the TextTransform property to work on Buttons in Android. The text always shows uppercase no matter what. If I set this in the android project the buttons text is always the same as entered in the Text…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
asked 2021-02-07T05:12:40.727+00:00
Stesvis 1,036 Reputation points
commented 2021-02-10T02:27:09.753+00:00
1 answer One of the answers was accepted by the question author.

Can I create an overloaded function call for an interface I created?

I'm trying to make a free version of my app. The app saves records to a database, and I have Repository classes for all of the tables of data. In the free version I want to limit the number of records that can be saved/retrieved. The easiest way I can…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 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.
9,035 questions
asked 2021-02-07T21:02:27.87+00:00
Jesse Knott 666 Reputation points
accepted 2021-02-09T23:39:45.133+00:00
Jesse Knott 666 Reputation points
4 answers One of the answers was accepted by the question author.

Elseif statement

Good evening, Is someone able to tell me why this elseif statement isn't correct please? If Environment.MachineName = "file001" Then lblHostname.Text = "Fileserver 1" Elseif Environment.MachineName =…

.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
490 questions
asked 2021-02-02T21:33:10.14+00:00
Simon Scott 281 Reputation points
commented 2021-02-09T20:15:27.143+00:00
Simon Scott 281 Reputation points