Microsoft Q&A

ASP.NET

1,175 questions

A set of technologies in the .NET Framework for building web applications and XML web services.

Browse all .NET tags

195 questions with ASP.NET tags

Sort by: Updated
0 answers

unable to upload

unable to upload a large file in one drive by using the below code can any body tell what is wrong in the below code . Please help [HttpPost] [Route("Uploadlargefile")] public async Task<string>…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
35 questions
asked 2023-01-28T13:07:11.22+00:00
Pradyut Sinha 11 Reputation points
edited the question 2023-01-30T01:40:07.7533333+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
0 answers

Upload a File One drive using MS Graph API in C#

when I am Uploading a File using Onedrive MS graph API in C# the file get Uploaded but every time i got a mail to that one drive account. I have set all notifications off from the one drive settings but still i am getting an email on every time file…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
559 questions
asked 2023-01-26T18:56:59.4+00:00
Pradyut Sinha 11 Reputation points
commented 2023-01-27T07:37:34.7333333+00:00
Zehui Yao_MSFT 3,346 Reputation points Microsoft Employee
0 answers

How Do I Return ContentDisposition.FileName -PDF from a Method To be Attached to MailMessage

Kindly show me how to achieve this. I have a method SendRenewalNotification() that sends Policy Renewal Notification to Clients. This Method calls another Method called PolicyScheduleGenerator() that Generates PDFs to be attached to MailMessage. …

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
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.
391 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.
143 questions
asked 2023-01-23T18:03:39.4366667+00:00
abiodunajai 146 Reputation points
edited the question 2023-01-23T18:21:35.97+00:00
abiodunajai 146 Reputation points
0 answers

can i make a website with asp .NET on which i can embed different free tools made on JavaScript?

I want a website like this one: https://ahbtools.com but the question is can I embed different tools made in JavaScript on an asp .NET? if yes how? anyone knows the solution provide me a link or some explanation. thanks.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
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.
391 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
443 questions
asked 2023-01-15T20:26:51.8733333+00:00
danielgomez 0 Reputation points
edited the question 2023-01-20T02:40:15.2266667+00:00
TP 10,511 Reputation points
0 answers

asp.net c# news and details

hello everyone, I have a news page on my website, but when I add news, the image title and text appear. How can I add news as seen in the example I would appreciate your help

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 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.
6,922 questions
asked 2023-01-18T08:05:26.5866667+00:00
kadir koçaslan 0 Reputation points
commented 2023-01-19T09:43:12.2766667+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
0 answers

Formatting of aspx files broken?

Using Visual Studio 2022 17.4.4 When formatting aspx files with visual studio, it puts the { at the "f" in "if" instead of under the i and the placement of } seem to be just random. How do I make make it align the {} with the…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,398 questions
asked 2023-01-17T10:50:30.5766667+00:00
Endasil 11 Reputation points
edited a comment 2023-01-18T03:23:51.2066667+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
0 answers

How to setup regional Vnet integration between new ASP.NET 4.8 Azure Service V3 and Azure SQL Managed Instance?

I just created a simple ASP.NET Web Forms app to Azure Service - Premium V3 plan. This app runs fine as long it does not access our database in SQL Managed Instance (MI). When trying to access the database (a simple SQL SELECT statement 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.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Azure SQL Database
Azure App Service Static Web Apps
asked 2023-01-17T16:04:18.37+00:00
Jan J. Vopalensky 0 Reputation points
edited the question 2023-01-17T16:31:58.2033333+00:00
Jan J. Vopalensky 0 Reputation points
0 answers

Cards Overlay effect in asp.net web page

Hello, Please how can create two situations where 3 or 4 cards overlay each other just as shown in the below images ? In the first image the cards overlay each other horizontally. While in the second image the cards overlay each other vertically. Then…

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.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-15T10:14:04.3066667+00:00
Donald Symmons 941 Reputation points
edited the question 2023-01-16T02:25:06.85+00:00
Tianyu Sun-MSFT 12,846 Reputation points Microsoft Employee
0 answers

AspNet Precompilation failure !

We started getting compilation failure which precompiling our webrole files. Is there anyway to debug this issue. We see there was similar question asked in past without any resolution:…

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.
391 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
367 questions
asked 2023-01-12T23:40:50.1666667+00:00
Kapil Dole 0 Reputation points
edited the question 2023-01-13T07:22:25.6266667+00:00
VenkateshDodda-MSFT 6,181 Reputation points Microsoft Employee
0 answers

.Net CLR version to use

Hi, Which .Net CLR version is better to use on the latest Windows server like 2016, 2019 and 2022? Can you share with the details to upgrade it to the relevant version?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
asked 2023-01-06T09:01:11.44+00:00
Peter_1985 1,831 Reputation points
commented 2023-01-09T05:21:01.66+00:00
Zhi Lv - MSFT 18,461 Reputation points Microsoft Employee
0 answers

ASP.Net 4.7.2 application - IIS 10 - Forms authentication - Logging out intermittently with Event code - 4007 (URL authorization failed for the request)

We are facing intermittent logout issue(all logged in users redirects to application warning page) sometimes after 3 mins of browsing or sometimes user can able to browse for 10-15 minutes before automatically log out, In event viewer application logs,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Internet Information Services
asked 2023-01-04T13:47:01.733+00:00
Satish Karambalkar 1 Reputation point
commented 2023-01-05T03:00:12.857+00:00
Yurong Dai-MSFT 1,041 Reputation points Microsoft Employee
0 answers

how to permanently delete photos [with photo name] from telegram using api in asp.net c#

I am looking to delete a photo(test.png, permanently from telegram) sent by my bot using telegram API and I'm able to deleting the photo(message) using deleteMessage so if I use the same photo with the same name (photo ex :- test.png) and modifying that…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2023-01-02T07:34:04.103+00:00
Ashok Kumar 121 Reputation points
0 answers

How to resolve NuGet.targets(128,5): error : Value cannot be null. (Parameter 'folderName')?

I am getting this error when it is running the command dotnet restore *.sln INFO: Executing command: /bin/sh -c dotnet restore *.sln --configfile /home/jenkins/workspace/Genesis_dev/Backend/afn-genesis-dotnetbase/develop@tmp …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-22T20:00:34.867+00:00
Gerald 1 Reputation point
0 answers

Special Character does not displays in gridview

I have asp.net grid view which binds data from xml file but in the grid i am unable to see the special character which is present in the xml file. The actual value e.g. 4-­-0444 got modified to 4-­0444 due to html encoding. Is there any way to stop…

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.
6,922 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-22T00:21:04.277+00:00
aditya mukherjee 1 Reputation point
commented 2022-12-22T15:21:30.363+00:00
aditya mukherjee 1 Reputation point
0 answers

The webpage at https://xxx/xxx/aspx might be temporarity down or it may have moved permanently to a new web address

Hello, who can give me the solutions Occur following problem after visiting the webpage at https://xxx/xxx.aspx: the website is normal without import data by xlsx, and wait several hours, the function of import data by xlsx is normal, The…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-12T08:24:52.057+00:00
Shou, Sheng Xian 1 Reputation point
commented 2022-12-13T07:13:50.823+00:00
XuDong Peng-MSFT 4,571 Reputation points Microsoft Employee
0 answers

On-Prem and LDAP Autnetication

If I use on-prem AD for authenticating users using LDAP then is it correct to say I'm using On-Prem for authentication?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,531 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
582 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-12T00:23:41.893+00:00
Joe Green 141 Reputation points
0 answers

Can an anti-virus or windows defender prevent some files from being published to the web?

Hello Community, When publishing a website from Visual Studio, is it possible for windows defender, and/or any other anti-virus to prevent some DLL files to be published to the web, alongside web.config, aspx and aspx.cs files?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
601 questions
asked 2022-12-09T13:14:56.87+00:00
Donald Symmons 941 Reputation points
commented 2022-12-10T21:47:00.38+00:00
Donald Symmons 941 Reputation points
0 answers

Can ASP.NET Core Identification & Authorization map to Active Directory?

Hi all; Reading this it looks like the ASP.NET Core I&A system can not use ActiveDirectory. And that same page says for the API part of the web service, that should use ActiveDirectory. Since I don't want users to have to create 2 logins, is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-10T14:00:24.17+00:00
David Thielen 401 Reputation points
0 answers

ASP.NET Roles and Membership - Migrating SHA1 to SHA2

Hi, I have a ASP.NET web forms application that was originally developed in .NET 2.0 but was migrated to .NET4.7.2(just the framework) , its still using ASP.NET 2.0 roles and membership authentication scheme with SHA1 hashing algorithm. I am…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
asked 2022-12-07T13:55:01.13+00:00
Amjad Akhtar 1 Reputation point
commented 2022-12-08T06:58:59.35+00:00
Lan Huang-MSFT 8,876 Reputation points Microsoft Employee
0 answers

Where does each packages.config file and packages belong in httpdocs folder? folder

When uploading files and folders to windows hosting, where do I upload Packages.configuration file and Packages folder

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,175 questions
Windows DHCP
Windows DHCP
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.DHCP: Dynamic Host Configuration Protocol (DHCP). A communications protocol that lets network administrators manage centrally and automate the assignment of Internet Protocol (IP) addresses in an organization's network.
925 questions
asked 2022-12-07T15:59:43.77+00:00
Donald Symmons 941 Reputation points
commented 2022-12-07T20:59:08.457+00:00
AgaveJoe 17,021 Reputation points