25,028 questions with .NET-related tags

Sort by: Updated
1 answer

ERROR: System.Xml.XmlException: 'Name cannot begin with the '<' character, hexadecimal value 0x3C

This is a MSDN question asked by Noahi23, the source is ERROR: System.Xml.XmlException: 'Name cannot begin with the '<' character, hexadecimal value 0x3C. Whenever I try to send a POST request to my API it gives me this error in my WPF application.…

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,710 questions
asked 2020-03-27T08:09:30.127+00:00
Charles He-MSFT 96 Reputation points Microsoft Employee
commented 2021-02-15T20:12:14.963+00:00
moreemo 1 Reputation point
3 answers One of the answers was accepted by the question author.

C++/CLI How to Display Ram Info in GB

private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { ManagementObjectSearcher searcher("select * from Win32_Processor"); ManagementObjectSearcher searcher1("select * from Win32_VideoController"); …

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
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 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
.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-15T16:13:14.55+00:00
Wami007 296 Reputation points
commented 2021-02-15T19:44:04.287+00:00
Wami007 296 Reputation points
1 answer

HTTP Call to SQL Database - Error 'contentReceived' does not match memory scopes

Hi There, I am using the Microsoft Bot Framework composer to make an API call via HTTP to Mockapi resource. There is an open API on the other end. The HTTP call works fine in the Browser. But when I run the bot and the HTTP call is executed, I am…

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
807 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,141 questions
asked 2021-02-14T22:29:40.137+00:00
Murali Nagaraj 21 Reputation points
answered 2021-02-15T13:58:07+00:00
Ramr-msft 17,731 Reputation points
1 answer One of the answers was accepted by the question author.

How to migrate App Service to an Azure Function?

We want to change App Service to an Azure Function but we have old apps that point to the .....azurewebsites.net url. How can we do this and preserve the current url of the app or redirect from the app service link to the new azure function endpoint.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,678 questions
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-11T15:12:48.157+00:00
a.sujeta 21 Reputation points
accepted 2021-02-15T11:06:26.4+00:00
a.sujeta 21 Reputation points
1 answer One of the answers was accepted by the question author.

something about vs2019's web service

i want create a middleware between winform and xamarin, so i must bulid a middleware by web service. i have add and setup iis , a new web application, but i can not find "web service" item on the right-key list that after right key on the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
Windows for IoT
Windows for IoT
A family of Microsoft operating systems designed for use in Internet of Things (IoT) devices.
384 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,888 questions
asked 2021-02-13T09:48:42.173+00:00
daniel zhou 21 Reputation points
accepted 2021-02-15T10:58:20.677+00:00
daniel zhou 21 Reputation points
0 answers

I would like to set the AddMicrosoftIdentityWebApp based on the request url (B2E, B2C) type to achieve authentication in Statup.cs

he code we are trying in ConfigureServices(IServiceCollection services) method in Statup.cs //Based on request type the code should pick the configuration needed…

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
.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-15T10:57:06.093+00:00
Amit Singh Rathore 0 Reputation points
5 answers One of the answers was accepted by the question author.

Using Combobox Interaction.Triggers add many seconds when changing DataContext

Would anyone have any advice as to why adding Interaction.Triggers onto my comboboxes make changing the Grids DataContext really slow? Like adds about 1 second per trigger event so with 8 comboboxes needing Interaction.Triggers it takes about 8 seconds…

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,710 questions
asked 2021-02-14T04:03:01.787+00:00
scott thomson 66 Reputation points
answered 2021-02-15T09:32:01.453+00:00
scott thomson 66 Reputation points
1 answer One of the answers was accepted by the question author.

Logging CRUD operations ASPNET Core, AspNetUsers, AspNetUserRoles

Hi, I want to log and create UI where logs of CRUD operations could be viewed. It can be which user updated what fields or columns The Users are ASPNETUSERS Can we get such logging ? I am using EF ASP.Net Core MVC Thanks, Regards.

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-12T12:47:23.217+00:00
murtaza gandhi 81 Reputation points
accepted 2021-02-15T08:38:10.153+00:00
murtaza gandhi 81 Reputation points
1 answer

I can't create a LaunchScreen.storyboard without getting a "Something went wrong" error.

I'm bringing this across from https://forums.xamarin.com/discussioncomment/426571#Comment_426571, because I still don't have a solution after two weeks. I'd love to publish this before Christmas! I code on a 64-bit acer laptop in VS 2019 which is…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2020-12-15T04:04:51.957+00:00
Grime 786 Reputation points
commented 2021-02-15T08:26:05.977+00:00
KhaiFMsia 71 Reputation points
1 answer

One or more reference(s) to type 'UIKit.UIWebView' still exists inside 'Xamarin.Forms.Platform.iOS

Hello, I'm working on a fix for our Xamarin application to prevent blocking due to UIWebView deprecation. Before the start I had tried to add --warn-on-type-ref=UIKit.UIWebView and build. So, "warning MT1503: One or more reference(s) to type…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2020-12-18T15:31:07.127+00:00
Oleksandr Savchuk 1 Reputation point
answered 2021-02-15T08:20:57.373+00:00
Oleksandr Savchuk 1 Reputation point
2 answers

I have issue with while column of datatable is false in columndef

Hi, My issue is when I set false in datatables "visible": @(User.IsInRole("Admin") ? "true" : "false") when it is false it throws error while editing the model from edit.cshtml since automatic null value…

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-12T11:43:26.477+00:00
murtaza gandhi 81 Reputation points
answered 2021-02-15T06:13:16.997+00:00
Michael Wang-MSFT 1,061 Reputation points
2 answers

TapGestureRecogniser does not work inside a ListView ItemTemplate

I have an Android 9 Xamarin Forms app (no iOS) in which I'm binding a ListView to an ObservableCollection<Comp>. Inside each Comp instance is another ObservableCollection<CompEvent> (sporting events within a competition) and everything works…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-14T00:04:56.53+00:00
MikeC 21 Reputation points
answered 2021-02-15T03:40:59.423+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer

In Xamarin,when I follow the official website tutorial, there is no AXML file in the layout folder of the new Android project I created, only XML file. Why?

When I follow the official website tutorial, there is no AXML file in the layout folder of the new Android project I created, only XML file. Why? I use VS2019

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 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-12T07:41:51.277+00:00
shibayan 1 Reputation point
answered 2021-02-15T02:37:03.52+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 72,251 Reputation points Microsoft Vendor
0 answers

Restrict remote access by mistake in credentials

Hi. Is there a way to restrict access by minutes / hour to users every time they make a mistake while typing their username and password? all this by remote access in windows. I have read that it can be restricted by ip / Mac, but wanted to find out and…

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,710 questions
asked 2021-02-12T11:32:48.823+00:00
Marco Garrido P 1 Reputation point
commented 2021-02-15T02:25:58.127+00:00
DaisyTian-1203 11,621 Reputation points
0 answers

Xamarin.Forms with WebView and xslt Transformations (Visual Studio for Mac)

I am using latest Visual Studio and Xamarin.Forms 5.x and I am trying to port my Visual C++ MFC application over to Xamarin.Forms. I am hoping to create a MacOS / iOS version. I stumbled over this rather old discussion about my question. But the link…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-14T19:20:59.483+00:00
ChuckieAJ 96 Reputation points
2 answers

HttpClient.PostAsync - System.Net.Http.Formatting exception

I am running a .NET Standard 2 project. I have added the Microsoft.AspNet.WebApi.Client (5.2.7) package. My call to HttpClient.GetAsync are working fine, but as soon as I try HttpClient.PostAsync, HttpClient.PostAsJsonAsync (or event the PutAsync…

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
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2021-02-13T11:55:39.693+00:00
Craig Muckleston 161 Reputation points
answered 2021-02-14T13:15:42.71+00:00
Duane Arnold 3,216 Reputation points
3 answers One of the answers was accepted by the question author.

Navigation.PushModalAsync() does nothing

Hello, I've a Shell-based XF app and upgraded recently from 4.6.0.847 to (currently) 5.0.0.1931. On some page, I handle a tap event like that: void OnEditClicked(System.Object sender, System.EventArgs e) { // Additional…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-11T16:55:54.177+00:00
Xavier Perseguers 121 Reputation points
accepted 2021-02-14T09:02:12.993+00:00
Xavier Perseguers 121 Reputation points
3 answers One of the answers was accepted by the question author.

Data mismatch Error

I have a query that is run to update values changed during editing of controls on a form. When the query is run I get the error message stating, "Data type mismatch in criteria expression.". This only occurs if one of the text boxes with…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,873 questions
asked 2021-01-27T01:40:18.163+00:00
Glenn Walker 251 Reputation points
accepted 2021-02-14T04:23:08.577+00:00
Glenn Walker 251 Reputation points
0 answers

Need some logic advice

This is not specifically about VB Net except that is what I am using to create the program. Trying to make a "Numbrix" puzzle. If you aren't familiar with Numbrix, it's a 9x9 grid of numbers where the requirement is simple, you must be able to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
asked 2021-01-25T01:41:12.497+00:00
Devon Nullman 21 Reputation points
commented 2021-02-14T02:30:39.463+00:00
Devon Nullman 21 Reputation points
1 answer One of the answers was accepted by the question author.

Upgraded Xamarin Forms and Essentials to latest version and now app will not build

HI all, I have a Xamarin Forms Android project that I developed a couple of years ago and it was using an older version of Xamarin Esssentials and Forms (can't remember the versions sorry) but now after updating both Xamarin.Essentials to v1.6.1 and …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,326 questions
asked 2021-02-07T05:07:18.397+00:00
MikeC 21 Reputation points
commented 2021-02-13T23:47:28.763+00:00
MikeC 21 Reputation points