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.

0
votes
0answers
5 views

EF Core AddIdentity method preventing Add-Migration

I'm getting error while trying to add migration. Looked for the problem and found that when I remove the code above, Add-Migration works fine but when I uncomment the code, getting error. code: ...
0
votes
0answers
18 views

How to POST to Hubspt API from ASP

So I have been working on developing a customer form that will eventually push user data into my hubspot contacts page. I spent a ton of times building it using jQuery and Ajax only to find out that ...
-1
votes
0answers
34 views

Database table id hide in the web pages [closed]

I have an asp .net 6 project that is connected to an MSSQL database. If I list a table on the page and then want to edit it, how can I do sure that the id in the database cannot be found either as a ...
0
votes
0answers
27 views

SignalR with asp.net core clean architecture and flutter is not working on live server

SignalR with asp.net 3.1 and flutter app is working fine with local server but its not working on live server. I/flutter (28526): HubConnection connected successfully. I/flutter (28526): ...
0
votes
0answers
22 views

Setting the global state only once using Fluxor in Hosted Blazor WASM app

I have a .NET 5.0 Hosted Blazor WASM app that looks like this: I am using scaffolded Identity razor pages in server project for sign in and sign up etc. I want to store the logged in User object ...
0
votes
0answers
28 views

Dropdownlist based on database and to merge column when they have same ID

I have the examples of data saved in the database as shown in the figure: list of attachments uploaded by 3 different users (STAFF_145, STAFF_143 and STAFF_147) When I called it from gridview list, it ...
0
votes
0answers
20 views

How to use an existing SQLite-Database in a ASP.NET Web-Api Template

I've got the following Problem: I have an existing SQLite-Databasefile called LeadsDatabase with a Table called LeadsTable, see my sample Database contents. In Visual Studio, I have created a Minimal ...
0
votes
0answers
14 views

Creating a Subclass of IdentityUser on Indentity framework .NET MVC 6,

I have created this class to identify the users who work on a laboratory, with the lab they work on, the class extends from User, which also extends form IdentityUser. namespace ASP6_SinAuth.Models { ...
0
votes
0answers
29 views

Where to store (in which ASP.Net Folder) EF model and related files/classes in ASP.Net Web forms project?

I have created ASP.NET Web Forms project. My question is , In which folder is the best experience (or rule) to store EF model and related files classes this one I have read description of all ASP.Net ...
0
votes
0answers
39 views

Blazor - Value saved in TimeSpan doesn't go through HttpPost

I am using this class (representing goal) as model: public class Goal { public int Id { get; set; } public int UserId { get; set; } public String Name { get; set; } public List<...
1
vote
0answers
25 views

Getting a concurrent error on HttpClient.DefaultRequestHeaders.TryAddWithoutValidation()

I've had this implementation a long time ago till I started receiving issues around it. private async Task AddHeaderInfo(string token, string reference="") { try { ...
0
votes
0answers
22 views

How to PWA application add Asp .Net MVC Project?

How to PWA application add Asp .Net MVC Project ? I am trying https://www.spheregen.com/implementing-pwa-behavior-to-asp-net-mvc-5-apps/ this link procedure . But It is not working.
0
votes
1answer
27 views

How to access id of one table in another table

How I can access the staff who is assigned to this store. when a Store is deleted; I want to change the staff availability flag to true. currently, I have issue with the staffId! public async Task<...
1
vote
1answer
30 views

error in aspx page. You can only have one <title> element within the <head> element

net site with master and child pages. I am generating title via .cs code file on each child page. It works fine on the desktop. However, when I try to browse via mobile, it throws the above error. ...
1
vote
1answer
46 views

Draw chart.js with data from server

I know I must be doing a basic mistake but I am new to this. I would like to populate a line chart (chart.js) in my View with data from the server. I have confirmed that the data is received in the ...

15 30 50 per page
1
2 3 4 5
24423