Microsoft Q&A

ASP.NET

1,204 questions

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

Browse all .NET tags

1,204 questions with ASP.NET tags

Sort by: Updated
0 answers

cookie can not read after downgrade from 7.0 to 6.0?

I am using .net 7.0 and after I downgrade to .net 6.0 I can not use HttpContext.User it is not authenticated. in F12 Cookie I can see the Cookie I have set but I can not read it why?

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
616 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,595 questions
asked 2023-02-06T00:49:27.5+00:00
打玻璃 1,546 Reputation points
commented 2023-02-06T11:15:37.8066667+00:00
AgaveJoe 17,296 Reputation points
0 answers

add one to one and one to many relationship

Hi So a little weird but im trying to add a one to one and one to many relatioship between two entites lets say i have two entities 1 is branch 2 is AppUser now a branch can have a app user as the branch admin(done through roles not the elephant in the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,595 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.
8,571 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 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.
152 questions
asked 2023-02-06T10:14:32.9833333+00:00
Asjad Butt 61 Reputation points
1 answer

How to load data of employee if drop down list selected changed ?

I work on MVC web application using c# by ado.net I face issue I can't display employee data based on drop down selected index changed . so if user select Pending Request from drop down list it will select employee that have select employee status 1…

ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
616 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
637 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 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.
7,010 questions
asked 2023-02-06T01:14:50.4233333+00:00
Ahmed Salah Abed Elaziz 0 Reputation points
answered 2023-02-06T09:45:29.21+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
4 answers

Creating similar screen in ASP.NET (Web forms)

Hi, I would like to create something similar to this in ASP.NET: Which is the best way to do it? Thanks

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
asked 2023-02-03T14:08:07.0766667+00:00
Bill Johnson 1 Reputation point
answered 2023-02-06T09:20:31.4266667+00:00
Lan Huang-MSFT 9,281 Reputation points Microsoft Employee
2 answers

What are the best practices for optimizing the performance of an ASP.NET MVC web application?

i am facing issue optimizing EHR application built on ASP.NET

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
asked 2023-02-05T15:02:07.36+00:00
xmax11 0 Reputation points
edited an answer 2023-02-06T07:57:04.1466667+00:00
Lan Huang-MSFT 9,281 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

X509Certificate Client Authentication

Hello guys, I have the following code that was working perfectly fine for 3 years already. ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 …

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,010 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 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.
409 questions
Windows Network
Windows Network
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.Network: A group of devices that communicate either wirelessly or via a physical connection.
239 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,231 questions
asked 2023-02-02T14:44:17.87+00:00
Kuler Master 141 Reputation points
accepted 2023-02-06T07:44:38.38+00:00
Kuler Master 141 Reputation points
1 answer

How to fix provider: SSL Provider, error: 0 - One or more of the parameters passed to the function was invalid.

We have updated TLS 1.1 to 1.2 on application server where ASP.NET web application is hosted on IIS. The application is built with .Net framework 4.7.2. But after installing cipher on the application server, application unable to connect the SQL database…

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
8,571 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
Internet Information Services
asked 2023-02-03T15:13:20.1966667+00:00
Milind Panchal 0 Reputation points
answered 2023-02-06T07:06:09.9233333+00:00
Naimish Makwana 165 Reputation points
4 answers

asp.net setup doubts

Hello We Have developed one small web application which has aspx page and cs file c# as a code behind. We use database as sql express 2008 R2 Microsoft SQL Server Express Edition with Advanced Services ( sql server management studio …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 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.
8,571 questions
asked 2023-02-03T11:07:51.19+00:00
RAVI 256 Reputation points
answered 2023-02-06T06:56:27.4433333+00:00
Naimish Makwana 165 Reputation points
1 answer

Send email form Gmail account using C#

When sending an email using the followng code, I'm getting an error, I'm asking for your help. Authentication Required. Learn more at string adSoyad = txtAdSoyad.Text; string konu = "Koçaslanlar Web Konu başlığı"; string epostaAdresi =…

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.
409 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.
7,010 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
asked 2023-02-03T11:30:34.83+00:00
kadir koçaslan 0 Reputation points
commented 2023-02-06T06:44:32.94+00:00
Lan Huang-MSFT 9,281 Reputation points Microsoft Employee
1 answer

How to add activity source to tracer provider dynamically for a single service?

In the blog here, https://learn.microsoft.com/en-us/dotnet/core/diagnostics/distributed-tracing-instrumentation-walkthroughs , Its mentioned in the best practices for ActivitySource to consider creating a new one for each library rather than using a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,595 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
637 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.
957 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
484 questions
asked 2023-02-03T11:25:14.44+00:00
Ravi Patel 0 Reputation points
answered 2023-02-06T06:07:09.6966667+00:00
Rena Ni - MSFT 1,601 Reputation points Microsoft Employee
1 answer

SELECT MONTH AND YEAR FROM DATE FIELD FOR SQL DATASOURCE FOR A GRID VIEW

I have a gridview with sqldata source in my aspx+Vb +sql web. There is a date field in my table have on dropdownlist mthtxt.text and another dropdownlist yrtxt.text Table name is Clinic_Med_Issue Empno Name Medicine qty effdate MM001 Baiju …

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
1,839 questions
asked 2023-02-03T09:24:00.44+00:00
Baiju EP 121 Reputation points
answered 2023-02-06T05:20:21.3066667+00:00
Lan Huang-MSFT 9,281 Reputation points Microsoft Employee
2 answers

No funcionan los breakpoint .net 2005 en win11

Recientemente actualice mi computadora a win 11, y tengo instalado el .net 2005, y ahora no funcionan los breakpoint en ningún website que tengo, no me marca ningun error simplemente no los reconoce. Ya intente todas las soluciones que he encontrado…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
3,548 questions
asked 2023-02-02T18:53:28.33+00:00
LauER77 0 Reputation points
answered 2023-02-03T16:49:18.0733333+00:00
Limitless Technology 9,716 Reputation points
2 answers

Is it possible to implement the custom security to the SSRS 2019?

Please share the code, if we can implement the custom security to the SSRS 2019

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 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,122 questions
asked 2023-01-31T11:53:34.3966667+00:00
Chitravelu Sivanandam 0 Reputation points
commented 2023-02-03T09:09:22.6066667+00:00
AniyaTang 2,101 Reputation points Microsoft Employee
3 answers

Unable parse Json

Can any body help me parse the below json in ASP.net C# i need the grantedTo": email and Id also. I have tried many ways but unable to parse. Can anybody…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
asked 2023-01-26T19:22:34.45+00:00
Pradyut Sinha 16 Reputation points
answered 2023-02-03T08:43:33.0966667+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

I'm getting code first approach validation error can you help me

I add error massege and I update database with (datanase-update -Force).but not working error massege. why ?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
616 questions
asked 2023-01-31T13:51:55.46+00:00
Harun Ergün 120 Reputation points
accepted 2023-02-03T07:42:36.6433333+00:00
Harun Ergün 120 Reputation points
1 answer

Possible Handle Leak on Azure App Service App

We have an ASP.NET 4.8 application hosted in Azure App Service. At times we see a spike in latency in usually a single instance which also shows spikes in CPU time, TCP connections, Thread Count and Handle count. The average thread count and and average…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,327 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: A Microsoft program that helps customers adopt Microsoft Cloud solutions and drive user adoption.
129 questions
asked 2023-01-23T04:59:13.44+00:00
Krishnadas K P_FT 0 Reputation points
commented 2023-02-03T07:04:55.1766667+00:00
Krishnadas K P_FT 0 Reputation points
1 answer

How to remove shared permission individual wise from an external user using One drive API inc#

I have uploaded a file in one drive using MS graph one drive API. I have also shared this item to external users by using one drive API. These two external users also showing in the manage access section as Link User. i want to remove individual Link…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
57 questions
Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
305 questions
asked 2023-02-02T20:15:59.9266667+00:00
Pradyut Sinha 16 Reputation points
answered 2023-02-03T07:00:30.31+00:00
SrinivasaRaoDarna - MSFT 6,236 Reputation points Microsoft Employee
1 answer

Hoe to share a document link for external user using one drive API

I am using Onedrive api for sharle a document link to extenal user in c# it is not working

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
57 questions
Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
305 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
asked 2023-01-30T17:58:08.58+00:00
Pradyut Sinha 16 Reputation points
answered 2023-02-03T05:57:55.4+00:00
SrinivasaRaoDarna - MSFT 6,236 Reputation points Microsoft Employee
1 answer

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…

Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
305 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
591 questions
asked 2023-01-26T18:56:59.4+00:00
Pradyut Sinha 16 Reputation points
answered 2023-02-03T05:50:46.26+00:00
SrinivasaRaoDarna - MSFT 6,236 Reputation points Microsoft Employee
1 answer

Hide\Show group text in ASP.NET

Hi, I want to show & Hide group box according to certain condition: ASP.net: <div id="MyDiv" runat="server" visible="true" style="margin-top: 10px; margin-bottom: 10px;"> <asp:Panel…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,204 questions
asked 2023-02-02T12:08:21.46+00:00
Bill Johnson 1 Reputation point
commented 2023-02-03T03:20:11.24+00:00
Lan Huang-MSFT 9,281 Reputation points Microsoft Employee