24,083 questions with .NET-related tags

Sort by: Updated
0 answers

Unable to run Docker container in Azure App Service

Hello, I have this Dockerfile FROM node:18.3 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app COPY package*.json ./ RUN npm install ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true RUN apt-get update && apt-get install…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,416 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,959 questions
asked 2022-06-15T13:35:34.643+00:00
Krum Bagashev 1 Reputation point
commented 2022-06-15T14:55:34.193+00:00
Andriy Bilous 10,981 Reputation points MVP
1 answer

Wrapped Button Text Adds Extra Margin

I have a GridLayout of Buttons, one of which has text that wraps to 2 lines. However, this wrapping adds extra space above the Button, causing the Buttons to no longer be vertically aligned. If I place the Button with wrapped text inside a FrameLayout,…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-06-11T23:41:06.58+00:00
Nathan Sokalski 4,121 Reputation points
commented 2022-06-15T09:55:43.68+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,901 Reputation points Microsoft Vendor
1 answer

Error while Uninstalling VS2015 DotNetCore RC2

I'm trying to uninstall this When I hit the uninstall option in Control Panel I get this error in the log [40A8:2D18][2022-06-14T21:13:33]i371: Updating session, registration key:…

.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,126 questions
asked 2022-06-14T20:16:13.537+00:00
Ian Newborn 1 Reputation point
answered 2022-06-15T09:44:14.56+00:00
Jiachen Li-MSFT 26,751 Reputation points Microsoft Vendor
1 answer

Link(Url) preview

How to generate preview of any URL(Link) with thumbnail or another thing In Asp.net Core looks like the attached image

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-06-15T08:24:56.507+00:00
Benita Forbes 1 Reputation point
answered 2022-06-15T08:57:21.93+00:00
Sreeju Nair 11,621 Reputation points
0 answers

Redirection fails

Hi, I want to write a post filter and want to place at top of my web api method. This is my web api function. What I want that is to call through JavaScript and once I got the response from this API. After this success call, a post call will…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-06-14T07:45:00.29+00:00
mehmood tekfirst 771 Reputation points
commented 2022-06-15T08:07:25.833+00:00
mehmood tekfirst 771 Reputation points
1 answer

Report viewer create report with Parent Child tables

I am trying to create a Report viewer report using VS Report designer. I have done a lot of reading that indicated a report could be created using related tables in a dataset. There are numerous tutorials on how to create simple reports but I have yet to…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,839 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,813 questions
asked 2022-06-09T23:52:46.16+00:00
William Burke 1 Reputation point
commented 2022-06-15T07:56:20.787+00:00
Joyzhao-MSFT 15,566 Reputation points
1 answer

How do I allow web socket connections on an Azure Static Web App

We have an angular front end that is connecting to a SignalR hub and are attempting to get it running as an Azure static web, but the connections are failing. This is the error message. main.js:1 [2022-06-09T14:27:28.831Z] Error: Failed…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
120 questions
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
770 questions
asked 2022-06-09T14:35:44.76+00:00
Michael Bellmore 1 Reputation point
commented 2022-06-15T07:39:17.083+00:00
ajkuma 22,521 Reputation points Microsoft Employee
2 answers

C++/CLI and <mutex>, <thread>, <future> : fooling the compiler with #pragma managed and _M_CEE

When using C++/CLI, trying to use native C++ mutex, thread,future... will result in compilation errors like #error : <mutex> is not supported when compiling with /clr or /clr:pure There are reasons for that (I guess related to some abstract CLR…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,416 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,545 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,126 questions
asked 2022-06-08T07:28:31.123+00:00
Pierre CHATELIER 11 Reputation points
commented 2022-06-15T07:28:28.31+00:00
RLWA32 40,851 Reputation points
3 answers

controller issue

Hello, Iam passing project id using angular script "$scope.RenewalPDC.ProjectDetailId = $routeParams.Id;" but its passing 0 value in controller.. how to solve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-06-13T10:05:09.147+00:00
rashmitha r 21 Reputation points
commented 2022-06-15T07:00:38.467+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
1 answer

how to debug a reference library?

If there is a library A with my service or repository. and a web reference the library A how to debug code in A I can not do it.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-06-14T01:28:29.793+00:00
mc 3,701 Reputation points
commented 2022-06-15T06:59:05.827+00:00
Zhi Lv - MSFT 32,021 Reputation points Microsoft Vendor
1 answer

After setting SelectedIndex in wpf listview, if you move with keyboard, item selection always starts from the top.

I created a listview called mylist and applied the selectedindex in the code behind. If I run this when you have the code below, the 6th item is selected. And at this time, when the button below the keyboard is pressed, I want the 7th item to…

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,681 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,310 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
768 questions
asked 2022-06-12T15:50:16.077+00:00
JunYoungLee 161 Reputation points
commented 2022-06-15T05:48:22.993+00:00
Hui Liu-MSFT 40,786 Reputation points Microsoft Vendor
2 answers

Visual Basic & ASP.NET MVC

Is Visual Basic jet supported in ASP.NET MVC? Where I can find VB examples of Web App, because the apps "Hello World" or "Movies" or others are written with C#. I work with Visual Studio Community 2015 & 2019 Thank You…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 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,581 questions
asked 2020-11-24T10:42:17.993+00:00
Tony Baruffaldi 6 Reputation points
answered 2022-06-15T03:23:41.987+00:00
res 1 Reputation point
2 answers

How to create input field dropdown list from database in ASP.NET?

I'm using ASP.NET 4.8. I'm using the code below to show a dropdown list from database (.aspx file). What do I need to do create an input text field, that shows a dropdown list after the user types something in it? I found a tutorial with AJAX devexpress,…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 questions
asked 2022-06-07T07:16:12.02+00:00
Aleks Mavrič 1 Reputation point
commented 2022-06-15T01:20:39.713+00:00
Lan Huang-MSFT 25,876 Reputation points Microsoft Vendor
1 answer

Keep dictionary state between the methods in a same class

I have below test class, Where I am defining _cacheExecutor dictionary at class level, and the purpose is mainly to cache the results with type T and test data as keys. public class CodesAndGuidelinesTest : SchemaCache,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 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,310 questions
asked 2022-06-14T22:57:15.457+00:00
pratap chandra 1 Reputation point
commented 2022-06-14T23:37:46.77+00:00
Karen Payne MVP 35,196 Reputation points
2 answers

Create new asp.net core web application pannel doesnt show up.

Im tring to code following this youtube video from freecodecamp and the template page doesnt show up. So when I create a new project and choose Asp.Net core web app and so on, the "Create new asp.net core web application pannel" doesnt show…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2021-12-14T11:29:41.627+00:00
Andreas Jabbari 11 Reputation points
answered 2022-06-14T23:06:09.867+00:00
Camilo Restrepo Rodriguez 1 Reputation point
2 answers One of the answers was accepted by the question author.

How to run android libraries on a mac.

I am developing an application for Android and iOS from a MAC but when I call the library Android.Content.Pm I get an error saying that this library does not exist. How can I correct it?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
asked 2022-03-18T18:22:19.933+00:00
kevin david 161 Reputation points
accepted 2022-06-14T22:36:34.89+00:00
kevin david 161 Reputation points
1 answer

OleDb connection to Azure SQL Server using MFA - error DB_SEC_E_AUTH_FAILED "User option must be specified, if Authentication option is 'ActiveDirectoryInteractive'. "

We have a utility app written in C++ (MFC/ATL) which connects to SQL Server databases to perform various functionality. It connects via ODBC using the CDatabase::OpenEx method with DSN for the particular database passed in the connection string. …

Azure SQL Database
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,416 questions
asked 2022-06-10T08:34:48.933+00:00
Bill Wallace 1 Reputation point
commented 2022-06-14T21:46:57.473+00:00
Oury Ba-MSFT 16,636 Reputation points Microsoft Employee
1 answer

How to upload a image in javascript?

I am using abp vnext and there is a DTO in the api. const fd = new FormData(); fd.append("file", document.getElementById('file1').files[0]); $.ajax({ url: '/api/app/merchant/image?Name=s', …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-06-14T08:49:50.893+00:00
mc 3,701 Reputation points
answered 2022-06-14T19:49:19.02+00:00
Bruce (SqlWork.com) 56,931 Reputation points
1 answer

Already logon. Then, must prevent same User Id being used to login

Hi. I'm not using Identity. I create my own Login Authentication So far, I can Login using below private async Task SignInAsync(string UserId, List<string> Roles) { var claims = new List<Claim> {…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,208 questions
asked 2022-06-14T11:21:38.32+00:00
Jerry Lipan 916 Reputation points
answered 2022-06-14T18:43:00.077+00:00
Bruce (SqlWork.com) 56,931 Reputation points
1 answer

CosmosDB - SPARK OLTP Connector 3 Cross Partition Query

Hi Dose cosmosdb spark 3 support cross partition query. If yes; how can I enable. My below code is not return all data. Can you please help on this. https://twitter.com/ImAbhishekTomar/status/1531904079085326337

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,416 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,455 questions
asked 2022-06-01T18:32:51.87+00:00
Abhishek Tomar 21 Reputation points
commented 2022-06-14T17:48:16.237+00:00
GeethaThatipatri-MSFT 27,722 Reputation points Microsoft Employee