All Questions
177,289
questions
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:...
0
votes
1
answer
10
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
30
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
47
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 ...
0
votes
0
answers
35
views
i want text of label when it in datalist
in .net , i have a problem . i want the text of label in datalist and i cant use id because its in datalist and its id is not available in c# or js .i don't can use for to find lable in datalist my ...
-1
votes
0
answers
36
views
In C# which library is faster to use read and write Excel or CSV? [closed]
I'm an intern, and right now I have an Excel sheet assignment.
I therefore need the data to be retrieved from an Excel sheet or CSV file. I now use the Microsoft.Office.Interop.Excel library, however ...
0
votes
2
answers
40
views
Deserialize JSON objects do different class names
I am using System.Text.Json to deserialize objects from an external API call in C#. I have created the classes for the data and is very straight-forward.
public class DocumentListRoot
{
...
0
votes
0
answers
39
views
ASP.NET Framework : Error copying packageSeverity code description project file line suppression state
I have my ASP.NET on .NET 4.8 Soap service .asmx in this folder in Visual Studio 2022:
C:\Trustedpath\all_Projects\MyProject\MySoapService
It builds, but when I tried to publish, I got this error:
...
0
votes
1
answer
21
views
<AuthorizeView> not recognizing role claim
I have a Blazor Server app that uses Windows Auth. Based on the group memberships of the user, I am adding role claims using IClaimsTransformation. The group-to-role mapping is fetched from a DB.
This ...
0
votes
2
answers
36
views
How to Dynamically Set Optional Properties in Multiple Request Models in ASP.NET Core Web Api
At my workplace, I’ve been tasked with refactoring some code in an ASP.NET Core Web API application. In the application, I have multiple request models where some models include properties like UserId,...
-2
votes
0
answers
22
views
How to convert a python chatbot code in jupyter notebook into C# ASP.Net web application in Visual Studio 2022 [closed]
I am developing a system, currently I have functions such as to-do list, CGPA calculator and so on using ASP.Net web application framework in visual studio 2022, I am facing a problem, I have a ...
0
votes
0
answers
36
views
Downloading a zipped version of a folder
I am trying to download a zipped version of a folder by the name XSLT. This is a code that I've written, however the downloaded xslt.zip file cannot be unzipped. When I use a third party application(...
0
votes
1
answer
45
views
In ASP.NET Core, Can't create user due to this error. The instance of entity type cannot be tracked because another instance with the same key value
UserController
[HttpPost]
[ValidateAntiForgeryToken]
public async Task<IActionResult> Create(CreateUserDetailsForm createUser)
{
try
{
// Generate a unique UserID
...
0
votes
1
answer
20
views
How can I add "aria-labelledby" attributes to checkboxes inside of a <asp:CheckBoxList>?
I need to update my facet checkboxes inside an <asp:CheckBoxList> to have the aria-labelledby attribute to be more accessible to users. However, I can't find a way to target the checkbox portion ...