Microsoft Q&A

ASP.NET Web Forms

408 questions

A part of the ASP.NET web application framework that can be used to create ASP.NET web applications.

Browse all .NET tags

408 questions with ASP.NET Web Forms tags

Sort by: Updated
1 answer

How to save login state when close browser?

when signed HttpContext.SignInAsync(claimsPrinciple); when I close the browser the cookie is not valid and I need login again. builder.Services.AddAuthentication("Cookie").AddCookie("Cookie", options => { options.Cookie.Name =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 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.
408 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 questions
asked 2023-02-04T00:18:52.4966667+00:00
打玻璃 1,526 Reputation points
edited an answer 2023-02-04T13:32:32.12+00:00
AgaveJoe 17,216 Reputation points
3 answers

Parallax Background in web page - Setting div element background to transparent does not work for me

I don't know if I'm having a senior moment or not... I'm trynig to implement a parallax scrolling type of display in a web page. I have sourced the sample code from W3 Schools and adapted it, by adjusting margins basically (Please see -…

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.
408 questions
asked 2023-02-03T02:55:59.9233333+00:00
Zahir Khan 0 Reputation points
answered 2023-02-04T10:51:00.39+00:00
Zahir Khan 0 Reputation points
2 answers

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 …

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.
408 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,999 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 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.
238 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
8,216 questions
asked 2023-02-02T14:44:17.87+00:00
Kuler Master 141 Reputation points
commented 2023-02-03T21:24:26.54+00:00
Kuler Master 141 Reputation points
0 answers

How to access menu control reference from Master page - home_master.Master

Hello, I have a master page known as home_master.Master which has Menu Control. Now I want to handle Menu control dynamically through another aspx page (Non Master Page) which is located in Sub-folder i.e Admin. My intent is to create a Content…

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.
408 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,999 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
630 questions
asked 2023-02-03T05:58:36.1466667+00:00
Anoop Mathur 0 Reputation points
commented 2023-02-03T16:44:26.6866667+00:00
AgaveJoe 17,216 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.
408 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,999 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
asked 2023-02-03T11:30:34.83+00:00
kadir koçaslan 0 Reputation points
edited the question 2023-02-03T16:09:01.2433333+00:00
Reza Aghaei 3,761 Reputation points Microsoft MVP
0 answers

how to use blazor webassembly in razor pages?

how to use blazor webassembly component in razor pages? if I create Count in webassembly how to use it in razor pages? if I do not open that page do not load dll If I open that page then load it. /Pages/Count.cshtml with component Count If I do not open…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 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.
408 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 questions
asked 2023-02-03T02:56:39.31+00:00
打玻璃 1,526 Reputation points
commented 2023-02-03T09:53:16.9366667+00:00
Tiny Wang-MSFT 951 Reputation points Microsoft Employee
1 answer

Asp.Net web application with Token implementation

Hi, In my Asp.Net (aspx) web application, we are using form based authentication. As part of modernization, we are asked to move to token based authentication. How will I enable token based authentication in my application without impacting the current…

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.
408 questions
asked 2023-01-26T02:20:27.5633333+00:00
Selvakumar Ramachandran 1 Reputation point
edited an answer 2023-02-03T09:53:15.25+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
7 answers

How to convert xml to style so that browser can render html from xml when using RSS

I have downloaded a app called MessageBoard and trying to configure RSS Feed to output serialised data to browser. The result display a error message with code written in xml format. This XML file does not appear to have any style information associated…

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.
408 questions
asked 2023-01-30T01:05:53.09+00:00
peter liles 371 Reputation points
commented 2023-02-03T06:24:40.4966667+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
0 answers

How to configure Azure App Service so that the cache-busting rewrite rules in our Web Forms app's web.config work?

In our ASP.NET 4.8 Web Forms app web.config file we have following rewrite rule under the <system.webServer> section in order to cache bust certain CSS and JS files: <rewrite> <rules> <rule…

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.
408 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,325 questions
asked 2023-02-01T18:46:02.03+00:00
Jan J. Vopalensky 0 Reputation points
commented 2023-02-03T03:03:08.0666667+00:00
Jan J. Vopalensky 0 Reputation points
0 answers

Upload a file on one drive using microsoft graph api in c# asp.net

Hello, I have one question,I want to upload a file on one drive and it is worked properly in console application but not in web application. Please help me here below is my sample console application…

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.
408 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,712 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
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,049 questions
asked 2023-02-02T06:06:01.9066667+00:00
Alisha Mulla 0 Reputation points
edited a comment 2023-02-02T08:32:50.37+00:00
Zehui Yao_MSFT 3,431 Reputation points Microsoft Employee
2 answers

404 issue to the file

Hi, Due to issue like What to adjust below? <body style="background-color: ???; background-image:url(beautiful_Currency0e.jpg);">

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.
408 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
448 questions
asked 2023-01-28T08:50:16.07+00:00
Peter_1985 1,831 Reputation points
edited a comment 2023-02-01T13:47:09.4833333+00:00
AgaveJoe 17,216 Reputation points
1 answer One of the answers was accepted by the question author.

how to bind to taghelper property in razor pages?

[HtmlTargetElement("pagination")] public class PaginationTagHelper : TagHelper { [HtmlAttributeName("page-index")] public int PageIndex{get;set;} } and in Index.cshtml <pagination page-index="PageIndex" /> I can not…

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.
408 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,585 questions
asked 2023-01-30T05:36:04.64+00:00
打玻璃 1,526 Reputation points
accepted 2023-02-01T09:45:37.13+00:00
打玻璃 1,526 Reputation points
0 answers

Button click event is not firing

Greetings again dear experts. I have an .aspx page with two sections One section allows our users to enter records displays existing records for update. The second allows users to preview the records, whether insert or update before submitting to 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.
408 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,835 questions
asked 2023-01-30T04:06:30.6633333+00:00
Simflex 81 Reputation points
edited a comment 2023-01-31T21:53:03.81+00:00
Simflex 81 Reputation points
2 answers

how to replace retired flashupload functionality with fileupload for single image in asp.net?

how to replace retired flashupload functionality used for uploading multiple images with fileupload for uploading single image in asp.net? Since flashplayer has reached end of support, I need to replace with existing alternative of fileupload control by…

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.
408 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
630 questions
asked 2023-01-30T11:35:16.76+00:00
Omble, Omkar [JANIE NON-J&J] 0 Reputation points
answered 2023-01-31T17:52:42.4+00:00
Albert Kallal 3,451 Reputation points
0 answers

Get an ILogger instance for App Insights from ServiceCollection in a WebForms .NET Framework application

We want to get an ILogger instance so that it can be passed to other library. We tried below, but the ILogger instance does not log into Application Insights. It logs into Event Viewer successfully. We have added the necessary packages i.e.…

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.
408 questions
asked 2023-01-31T12:10:20.45+00:00
Wadhwani, Jatin 0 Reputation points
4 answers

Getting User Details from Azure AD in ASP.NET

In my ASP.NET 4.8 MVC application, I was able to get user authenticated using Azure AD. Now I need to get user details like job title, department, email, etc. From the research I did so far, it looks like MS Graph API is the way to go. Am I correct? Can…

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.
408 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
12,712 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
asked 2023-01-17T14:32:53.06+00:00
Joe Green 141 Reputation points
answered 2023-01-31T10:32:49.04+00:00
Shweta Mathur 11,166 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

"Güncelle" button not working

ı dont undestand. Delete's working but update(Güncelle) not working. Where's my mistake ?

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.
408 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 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.
149 questions
asked 2023-01-31T06:19:44.85+00:00
Harun Ergün 120 Reputation points
edited a comment 2023-01-31T08:53:25.92+00:00
Viorel 82,906 Reputation points
2 answers

fileupload emty error !!!

Hello friends, if the file upload is empty SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Holding_DB"].ConnectionString); con.Open(); SqlCommand cmdSelect = new…

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.
408 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 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,999 questions
asked 2023-01-30T11:57:08.06+00:00
kadir koçaslan 0 Reputation points
edited a comment 2023-01-31T08:45:16.1833333+00:00
QiYou-MSFT 851 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

How can caming towns null ?

When the city is selected, it comes with the town. But when the city is selected, I want the town to be empty and for the user to select it. I want when user choose city second drowboxlist caming null how can add ? my code is ; For example…

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.
408 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
asked 2023-01-30T06:39:03.31+00:00
Harun Ergün 120 Reputation points
accepted 2023-01-30T14:58:47.01+00:00
Harun Ergün 120 Reputation points
1 answer One of the answers was accepted by the question author.

how can add validation 2 drowdownlist

The user comes and selects the city from the first dropdownlist. If the first value is selected from the second dropdownlist, I want it to give an error. I want to add validation but failed. Help me please ? Where is my mistake ? my code ; var…

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.
408 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
610 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.
149 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,200 questions
asked 2023-01-30T08:28:51.2766667+00:00
Harun Ergün 120 Reputation points
accepted 2023-01-30T14:57:54.8766667+00:00
Harun Ergün 120 Reputation points