Questions tagged [asp.net]
ASP.NET is a Microsoft web application development framework that allows programmers to build dynamic web sites, web applications and web services. It is useful to use this tag in conjunction with the project type tag e.g. [asp.net-mvc], [asp.net-webforms], or [asp.net-web-api]. Do NOT use this tag for questions about ASP.NET Core - use [asp.net-core] instead.
asp.net
30
questions
0
votes
0
answers
3
views
Blazor Css Isolation not work, but when save the file it work
I have those codes...
razor and razor.css file tree
Isolation.razor
@page "/css/isolation"
<h3>Isolation</h3>
<h1>TEST</h1>
Isolation.razor.css
h1{
color: ...
0
votes
0
answers
9
views
when export data to pdf using itextcharp libarary it give me empty file downloaded and can't open
I work on asp.net I face issue when export grid view have more than 2000 rows it download empty file pdf without data inside .
and when click on file not open and give me file not in correct format ...
0
votes
0
answers
10
views
How To Sort A searchString on a Razor Index Page
I have a Razor Page Index that the user would like to have the search results sorted a specific way.
Currently, the searchString can search for several different fields. How would I search for each, ...
0
votes
0
answers
3
views
Reference to IExceptionHandler interface not being resolved from Microsoft.AspNetCore.Diagnostics
I am adding a global exception handling project to my solution and have installed the Microsoft.AspNetCore.Diagnostics NuGet package. Although the package is recognized and listed in the project's ...
0
votes
0
answers
5
views
The top XML element 'ReservationControlInformationDetailsTypeI' from namespace '' references distinct types
I used svcutil to generate proxy class. I used this proxy class to communicate with Amadeus web services, But when compiling the web service, the error is generated and it is given below.
The top XML ...
0
votes
0
answers
10
views
413 Request Entity Too Large with ASP.NET and NGINX
I am sending a request to an asp.net that is working with nginx and i'm getting error 413 Request Entity Too Large. I change the options client_max_body_size to 450M but it gives me the same response.
...
-2
votes
0
answers
20
views
How can I hide the password in the payload displayed in the network tab? [closed]
In my Blazor WebAssembly project, after clicking the login button, the entered password is displayed in the payload in the network tab.
I want to hide the password in the payload shown in the network ...
0
votes
0
answers
9
views
How to Close ISWebCombo Dropdown After Selecting a Value with AutoPostback Enabled?
I'm using an ISWebCombo dropdown control in my ASP.NET Web Forms application. The dropdown does not close automatically when I select a value. I need it to close after selection.
<ISWebCombo:...
-4
votes
0
answers
19
views
how to add authantication in c# mvc? [closed]
how to add authantication in c# mvc?
how to add authantication in c# mvc?how to add authantication in c# mvc?how to add authantication in c# mvc?how to add authantication in c# mvc?how to add ...
0
votes
1
answer
11
views
.ASPXAUTH cookie not being read by sub application
I have an asp.net v4.7.2 web app setup at, my.example.com in IIS. It uses asp.net Forms Authentication. It's Web.Config:
<httpCookies requireSSL="true" />
<authentication mode=&...
0
votes
1
answer
21
views
Input validation error foreign key fields
namespace App.Models
{
public class User
{
public int Id { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public string ...
0
votes
0
answers
25
views
docker-compose generated WebAPI container fails to connect to MySql container
I have a Visual Studio .Net 8 Solution that contains a WebAPI backend project. It also contains dockerfile. I have also added a docker-compose to orchestrate the project. Outside of this visual ...
0
votes
1
answer
34
views
Not possible to connect to redis server
I am running a .NET application inside a Docker container and trying to connect it to an Azure Redis Cache instance. While I can successfully connect to the Redis instance using redis-cli from within ...
0
votes
0
answers
34
views
DbContext Identity login exception
I have a problem that I do not really know how to solve. So, here it is:
Image of exception
InvalidOperationException: Cannot create a DbSet for 'IdentityUserClaim' because this type is not included ...
-6
votes
0
answers
50
views
How do I schedule doctor Apointment? [closed]
What method do you recommend for doing this? What code should I use? I have no idea. please guide me. To schedule a doctor's appointment: with Asp.Net Core / Razor Pages ----- In one input, I receive ...