7,876 questions with ASP.NET-related tags

Sort by: Updated
0 answers

Visual Studio Angular template will not publish correctly

When trying to publish an Angular project the wwwroot folder does not get created and published. This happens with a completely new unmodified project using the template "Angular and ASP.NET core". I'm on Visual Studio 17.13.2. I've tried…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
40 questions
asked 2025-03-09T12:37:30.3666667+00:00
Gareth Walker 26 Reputation points
2 answers

Unicode and ASCII may not be encoding correctly

Hi, I am using visual studio 2022 to host a .NET 8 MVC web application project. I am trying to read a text file and write it to another text file.    This is the code I am using: string wdata = System.IO.File.ReadAllText(file);            // This is the…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
40 questions
asked 2025-03-06T22:35:01.11+00:00
iqworks Information Quality Works 316 Reputation points
commented 2025-03-09T10:13:42.0466667+00:00
AgaveJoe 29,866 Reputation points
1 answer

Angular, ASP.NET CORE, SQL SERVER, API and DB hosted on Azure 500 error

Hi, I have my ASP.NET CORE hosted on Azure, the SQLServer DB is also hosted on Azure. Before deploying the Angular front end I decided to test it to see if it would hit the deployed backend and database. I was getting a CORS error but, now that I have…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
40 questions
asked 2025-03-06T03:07:25.9466667+00:00
hpbcrowe 31 Reputation points
answered 2025-03-08T20:56:23.3333333+00:00
Bruce (SqlWork.com) 72,026 Reputation points
2 answers

how to set date format in eval asp.net

Hello this is my date eval <%#Eval("Date", "{0:dd/MMM/yyyy}")%> when i convert to excel i want excel filter to be look like this so what to change my eval so that it can look like as below

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.
393 questions
asked 2025-02-25T08:36:02.3033333+00:00
RAVI 1,056 Reputation points
edited a comment 2025-03-08T11:39:16.8133333+00:00
AgaveJoe 29,866 Reputation points
4 answers One of the answers was accepted by the question author.

problem of aspnetcore-browser-refresh.js connection failed.

The version of my browser is Chrome 98.0.4758.102(The newest version of Chrome). Every time I debug my asp.net 6 projects with VS 2022(The newest version of VS 2022), the browser always reports the error as below: This problem occurs even I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
asked 2022-02-18T03:34:15+00:00
melon NG 291 Reputation points
answered 2025-03-07T21:09:35.6033333+00:00
Werner Van Aswegen 0 Reputation points
1 answer

httpcontext Class giving path as /:undefined in Asp.Net Core Web API Project

We have an Web API (.Net Core) application installed in Test and PROD server, we are logging incoming request paths, using httpcontext Class. But this class is giving path as /:undefined, sometimes as…

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.
393 questions
asked 2025-03-07T11:12:27.09+00:00
Ali basha Syed 20 Reputation points
answered 2025-03-07T16:48:28.61+00:00
Bruce (SqlWork.com) 72,026 Reputation points
1 answer

Facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python

Hello, We are facing an issue with cookieless Forms Authentication in an ASP.NET sub-application that is integrated with a main application built in Python. The main application (Python) and sub-application (ASP.NET) work together.The ASP.NET…

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
40 questions
asked 2025-02-21T05:57:30.9833333+00:00
Akshayaa Kalyanavenkatesh 20 Reputation points
commented 2025-03-07T13:40:49.9933333+00:00
Akshayaa Kalyanavenkatesh 20 Reputation points
1 answer

https://onedrive.live.com/embed iframe shows to much space around the document

Hi, I am glad to see a way to show my formatted MS word docs inside of my web pages. But Onedrive shows to much space around the document when I display it in a iframe.     I am not sure about the CSS I need to close the space here.   Or maybe there are…

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.
393 questions
asked 2025-02-27T02:08:02.0233333+00:00
iqworks Information Quality Works 316 Reputation points
commented 2025-03-07T08:14:32.8533333+00:00
XuDong Peng-MSFT 11,656 Reputation points Microsoft External Staff
2 answers

Which IIS Host Module should I use for .Net 8 Core Web Api?

I have .Net Web Api that has been running for some time on client Windows 2022 Sever under IIS10. It uses AspNetCoreModuleV2 host module. Now client has uninstalled ASP NET Core 2.2 Host bundle that provided AspNetCoreModuleV2 due to End Of Life…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
asked 2023-12-21T01:06:47.42+00:00
Shastri, Shrinivas 0 Reputation points
commented 2025-03-07T06:50:10.1333333+00:00
Balraj J 0 Reputation points
1 answer One of the answers was accepted by the question author.

I cant see a component which i added as MyButton.razor

I added a component like this: Right-click on pages>add > razor component and this the code: @page "/MyPage" <h3>My Page</h3> <p role="status">Current Time: @currentTime</p> <button class="btn…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
asked 2025-02-03T15:30:22.7266667+00:00
Nafim 25 Reputation points
edited the question 2025-03-07T05:37:14.51+00:00
Zhi Lv - MSFT 33,151 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

I have a question about server side rendering of Blazor web app.

Hi, I am a GUI application developer. Our company is using Blazor web app. We are enthusiastic about using the attractive framework you provide and would like to ask some question. Does the code block (@code) created in the .razor file work by creating…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
asked 2025-02-20T00:59:01.8933333+00:00
john yoon 20 Reputation points
edited the question 2025-03-07T05:34:04.29+00:00
Zhi Lv - MSFT 33,151 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

Why are the tags related to ASP.NET and C# not shown?

Why are the tags related to ASP.NET and C# not shown? Result:

ASP.NET Core Training
ASP.NET Core Training
ASP.NET Core: A set of technologies in the .NET Framework for building web applications and XML web services.Training: Instruction to develop new skills.
40 questions
asked 2025-03-06T03:33:19.4933333+00:00
SurferOnWww 3,906 Reputation points
commented 2025-03-07T04:01:44.3433333+00:00
Pradeep M 6,325 Reputation points Microsoft External Staff
1 answer

OAuth implementation in web api

Hi Community members, How can I create oauth in web api where validation is not in cloud

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.
393 questions
asked 2025-03-06T15:38:41.3166667+00:00
90036475 0 Reputation points
commented 2025-03-07T03:46:30.2266667+00:00
XuDong Peng-MSFT 11,656 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

aspx how to to format a column as Currency

i am working on aspx page it is connected to sql my code is vb.net in a GridView column payment how can i format in code this column as Currency Thanks in advence

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.
393 questions
asked 2025-03-04T20:46:22.15+00:00
Simon 426 Reputation points
accepted 2025-03-06T13:48:30.8266667+00:00
Simon 426 Reputation points
2 answers One of the answers was accepted by the question author.

to use Tag like windows desktop software

i am working on a aspx page translet a windows desktop ssoftware using vb.net is it posible to use use tag like in like in windows desktop software by design the aspx page <asp:TextBox ID="Txt1_0"…

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.
393 questions
asked 2025-03-05T19:41:04.2233333+00:00
Simon 426 Reputation points
answered 2025-03-06T13:41:44.36+00:00
Simon 426 Reputation points
5 answers One of the answers was accepted by the question author.

export a gridview to a pdf or to excel file

in aspx page and i am using vb.net how can i export a gridview to a PDF or to Excel file thamks in advence

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.
393 questions
asked 2025-03-02T22:48:26.4466667+00:00
Simon 426 Reputation points
commented 2025-03-06T13:28:36.7033333+00:00
Simon 426 Reputation points
0 answers

How to fix "Operation is not valid due to the current state of the object."

When I use aspnet-codegenerator I get this error even though I could use it normally before. How can I fix it? Thank you everyone !!

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.
393 questions
asked 2025-03-01T01:10:34.3433333+00:00
Dũng Tiến 0 Reputation points
commented 2025-03-06T02:15:44.4266667+00:00
XuDong Peng-MSFT 11,656 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

How to invalidate ".AspNet.Cookies" cookie on logout?

I have a .net application deployed to Azure. A penetration test finding called "Session Not Invalidated After Logout" is found. When an API Get request is sent along with .AspNet.Cookies while user is logged in, a successful response is…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,103 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,598 questions
asked 2024-07-16T11:05:41.7266667+00:00
Abhishek, Burra 30 Reputation points
commented 2025-03-05T14:43:23.75+00:00
Müller Matthias 0 Reputation points
1 answer

Visual Studio 2022 Enterprise cannot create an ASP.NET using .NET8

I use Visual Studio 2022 Enterprise. Try to create an ASP.NET Web application using .NET8 framework. However, .NET8 is not listed in "Targeted framework drop list". How to create an ASP.NET Web Applicaiton using .NET8 framework? How to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,793 questions
asked 2025-02-28T16:55:00.5666667+00:00
Lu, Xinghua 0 Reputation points
edited the question 2025-03-04T01:46:06.34+00:00
Zhi Lv - MSFT 33,151 Reputation points Microsoft External Staff
0 answers

How to setup and access an ftp server in Windows Server 2019 with vb.net code?

I have written an app using webforms in visual studio 2019. I have setup a Windows Server 2019 on a server. With IIS, I am able to access my WebForms.aspx from the internet ok. I made an FTP server website, and also added ftp services to my first website…

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.
393 questions
asked 2025-03-02T20:48:21.2033333+00:00
Bryan 0 Reputation points
commented 2025-03-03T13:38:18.1033333+00:00
Bryan 0 Reputation points