3,465 questions with ASP.NET tags

Sort by: Updated
0 answers

Passing ViewModel with Dictionary properties to View throws NullReferenceException

I have a ViewModel that includes two Dictionary properties, Genres and Producers, which I want to send to the View. However, when I try to loop through the Dictionary properties in the View, I get a NullReferenceException error. The data appears to be…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
738 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-24T03:31:58.87+00:00
Emmanuel Campos 0 Reputation points
edited the question 2024-09-24T03:32:58.45+00:00
Emmanuel Campos 0 Reputation points
1 answer

Converting ASP.NET MVC Framework csproj Question

Hello - I have a few different ASP.NET MVC projects that build on .NET Framework 4.8 I want to convert to the new SDK style csproj format. I was able to convert it over fine, but once I try and publish the project, all of the DLL files are not located…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-20T18:44:37.6566667+00:00
Palmer, Jared L 31 Reputation points
commented 2024-09-24T03:09:18.2166667+00:00
SurferOnWww 2,741 Reputation points
4 answers

How to invalidate .AspNet.ApplicationCookie Cookie in ASP.NET MVC 4.6.2

Hi Sir/Madam I have web application using ASP.NET MVC 4.6 version. In Startup, I am creating ApplicaitonCookie like below app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationType = "ApplicationCookie", ExpireTimeSpan =…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 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,863 questions
asked 2024-09-16T07:36:43.33+00:00
Srinivas Balanagu 0 Reputation points
commented 2024-09-24T01:36:16.4566667+00:00
XuDong Peng-MSFT 10,511 Reputation points Microsoft Vendor
4 answers

Windows service HttpClient with HTTPS support

Hi.I have a **Windows service** that makes calls to an http web page via an **HttpClient **object. Now the website is HTTPS but when I call the https page it gives an "Unauthorized" error. I am using Visual Studio 2013 with .NET Framework 4.5.

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 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,863 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.
331 questions
asked 2024-08-20T15:23:18.29+00:00
39662036 0 Reputation points
edited a comment 2024-09-23T23:37:07.56+00:00
39662036 0 Reputation points
2 answers

Compression and Encryption of files while sending over network

Is compression and encryption mandatory when sending files over the network using ASP.NET, or does the ASP.NET web service handle these tasks by default?

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-20T10:40:19.3+00:00
winmantest 0 Reputation points
answered 2024-09-23T09:56:18.9033333+00:00
Lan Huang-MSFT 29,246 Reputation points Microsoft Vendor
1 answer

Autocomplete list Selection using Key Up/Down in Textbox and Scroll should move in asp.net c#

When pressing the up or down keys in an autocomplete textbox, if dropdown options are available, the selection should move through the values, and the scroll should adjust accordingly, moving from top to bottom or bottom to top based on key…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-21T13:44:47.67+00:00
Ashok Kumar 201 Reputation points
answered 2024-09-23T07:23:04.35+00:00
Lan Huang-MSFT 29,246 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Multiline asp:textbox (into a asp:gridview) auto adjust it's height according to the amount of text

Hi forums, I would like to consult about a issue I am facing. I have a gridview where there is a textbox that is filled from a SQL DB when such info is called from a click event, but I want to adjust the height according to the amount of text is pushing…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,811 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 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,717 questions
asked 2024-09-22T01:38:55.3866667+00:00
José Santos 20 Reputation points
edited the question 2024-09-23T07:10:08.8933333+00:00
Jiale Xue - MSFT 44,756 Reputation points Microsoft Vendor
3 answers

valdiate gridview data using asp.net c# code behind on button click

Hello This Is my MS sql data /****** Object: Table [dbo].[Table_11] Script Date: 09/22/2024 19:00:36 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Table_11]( [ID] [int] IDENTITY(1,1) NOT…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-22T13:37:28.3666667+00:00
RAVI 1,056 Reputation points
answered 2024-09-23T06:52:33.7066667+00:00
Lan Huang-MSFT 29,246 Reputation points Microsoft Vendor
2 answers

Debugger is not hitting breakpoint set in SharePoint 2010 application code in Visual Studio

I have my SharePoint 2010 application code in Visual Studio. I did clean, rebuild and deploy solution. I have done "Attach to Process" w3wp.exe files in the debug, but debugger is not hitting breakpoint when trying to work on UI. IIS reset is…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,062 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,610 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,952 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
995 questions
asked 2024-09-19T11:25:46.3666667+00:00
VG 0 Reputation points
commented 2024-09-23T00:58:30.9966667+00:00
RaytheonXie_MSFT 35,071 Reputation points Microsoft Vendor
1 answer

Migration from .NET 6.0 to .NET 8.0: Compatibility and Considerations

Hello everyone, We have a solution with a vast number of projects, and we are aiming to migrate some of the components to .NET 8.0. Before proceeding with the migration, we want to ensure that we will have full compatibility and support for it. Our App…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,811 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,530 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,696 questions
asked 2024-09-19T01:46:58.35+00:00
Juan-4116 0 Reputation points
edited a comment 2024-09-22T22:05:10.9+00:00
Juan-4116 0 Reputation points
1 answer

Performance issues in Session State

Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…

Azure Cache for Redis
Azure Cache for Redis
An Azure service that provides access to a secure, dedicated Redis cache, managed by Microsoft.
251 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-06T00:41:07.7633333+00:00
Danielle Schlie 0 Reputation points
commented 2024-09-20T14:40:39.85+00:00
Sai Raghunadh M 150 Reputation points Microsoft Vendor
0 answers

ContosoPizza.http file not being created

When following the tutorial for creating a web API project, on page 3, part 4, i enter the following command: dotnet new webapi -controllers -f net8.0 however it does not create the ContosoPizza.http file as the guide states it should. Please advise…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-08-16T10:34:33.8166667+00:00
Bowie, Aidan 0 Reputation points
edited the question 2024-09-20T08:02:16.8133333+00:00
Rakesh Gurram 7,160 Reputation points Microsoft Vendor
3 answers

how to return value from popup table to the C# asp.net code

Hi, On clicking a button on UI, we have to show a dialog or Popup Table on the center of the screen asking user to enter integer value of area(Mandatory) when one condition is met, then user clicks Ok(which has captureAreaVal() function in my script as…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
975 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,863 questions
asked 2024-08-29T14:32:28.9533333+00:00
VG 0 Reputation points
commented 2024-09-20T02:31:15.5+00:00
Lan Huang-MSFT 29,246 Reputation points Microsoft Vendor
1 answer

Azure app service reverts to previous version

I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,811 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,062 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,154 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,696 questions
asked 2024-01-29T22:02:12.3066667+00:00
JuwonPark-6692 5 Reputation points
commented 2024-09-20T00:26:32.23+00:00
Gregory Hansen 0 Reputation points
1 answer

Replicating ASP.NET Request Validation Behavior in .NET 8 for Automatic Input Validation ?

In our current ASP.NET Framework 4.7.2 application, we utilize request validation to automatically check for potentially malicious input by setting requestValidationMode to 4.0 in the web.config file. This ensures that requests are validated for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,811 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,530 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-17T11:42:05.3466667+00:00
Kirankumar Bharsadiya 40 Reputation points
edited the question 2024-09-19T06:47:02.6433333+00:00
ajkuma 26,031 Reputation points Microsoft Employee
2 answers

Issue with an earlier well functioning AppService

Hello Team, I would like to ask your help in a technical issue. I am creating an AI chatbot flaskbased application , where using mostly open source libraries. For semantic search and ranking I am using FlashRank library…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,530 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,696 questions
asked 2024-06-21T09:00:34.67+00:00
Viktor Banai 0 Reputation points
answered 2024-09-19T01:04:37.39+00:00
Syafie Asyraf Sarifudin 20 Reputation points
2 answers

when get data from procedure exist on PostgreSQL it show not exist although it exist?

I create stored procedure on PostgreSQL as below CREATE OR REPLACE PROCEDURE app_sec."app_perm_sp_pkg$get_all_tenants"( IN p_tenant_cur refcursor, OUT p_status integer, OUT p_status_desc text) I try to get data by call sp from PostgreSQL…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 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,863 questions
asked 2024-09-16T20:41:42.9366667+00:00
Ahmed Salah 0 Reputation points
answered 2024-09-18T18:37:19.37+00:00
Bruce (SqlWork.com) 64,651 Reputation points
0 answers

DriveItem AdditionalData Patch method with error in Graph Api

I'm creating an API with ASP.NET Core that accesses a list/drive with the graph api and at some point I need to update an item that was created in the drive library to add an ID (which is a custom column), but I'm getting an invalid request error, can…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,530 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,913 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 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.
331 questions
asked 2024-06-06T17:08:51.2033333+00:00
Bruno Bispo 0 Reputation points
commented 2024-09-18T08:30:23.8733333+00:00
Zeb Spalding 0 Reputation points
1 answer

Calling a Web Api from a WCF client

Yes , I know its kind of weird . I have a web app running with 4.5 Framework. It has some Wcf clients configured in web.config to access the usual soap services. Now I am in a situation where I need to call some Web Api ( whose implementation I don't…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-06T13:01:21.5966667+00:00
leo del ciello 66 Reputation points
commented 2024-09-18T01:20:22.87+00:00
Lan Huang-MSFT 29,246 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Use Enter key press for focus change and check input before submit form

I have a asp.net form content dropdownlist, textbox and button. I want to implement Enter key press to change focus and check input before submit form. I use onkeyup="EnterPressFocusChange(this, event)" for change focus and…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,465 questions
asked 2024-09-17T05:42:40.7266667+00:00
AKM Azad 20 Reputation points
accepted 2024-09-17T09:51:18.7633333+00:00
AKM Azad 20 Reputation points