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.

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

Overriding sync methods with async methods [duplicate]

Following this guide I created a repository and after that an ASP.NET core API with a base class controller BaseController to inherit my actual controllers from. [ApiController] public ...
1
vote
1answer
20 views

How to serve static files from .net core API?

The API is using .net core 3.1 and the folder structure is as follows: Solution --Project1 --Project2 Where Project 2 depends on Project 1 and is the entry point. The API is hosted on kubernetes and a ...
0
votes
0answers
8 views

Update only one field in the object .NET API

I try to write a route that handles PUT requests. This is just an example I found on the internet. Controller [HttpPut] [Route("{id:int}", Name = nameof(UpdateFood))] public ...
0
votes
2answers
17 views

How to consume a soap asmx service from angular+8 with xml on it

this is my call: var xmlItemAll = '<?xml version="1.0" encoding="utf-8"?>' + '<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ...
-1
votes
0answers
15 views

Hashed passwords in Asp.net and SQL Server

Can someone help me here? I'm stuck... I'm retrieving the hashed passwords from my SQL Server and using ASP.NET SHA256Managed().ComputeHash to hash + salt user input. If the hashed user input == to ...
-2
votes
0answers
20 views

.aspx site Web scraping using python

I am attempting to scrape locations from here: https://ukcareers.northropgrumman.com/vacancies/vacancy-search-results.aspx I found similar thread (match my case) from here: Web scraping from .aspx ...
-1
votes
0answers
13 views

Sharing Consuming HttpClient using DOMA architecture

I am not sure if this is the right place to ask this question but here goes... At the moment my company has decided to use DOMA architecture: https://eng.uber.com/microservice-architecture/ Using this ...
-3
votes
0answers
29 views

Looking for experts opinion on defaulting class as new instantiated object [closed]

I need an expert C# opinion and correcting me on what I am trying to accomplish please. I am trying not to Instantiate the class every time I use it. And what would you recommend using the class as ...
-1
votes
1answer
18 views

Pass a lot of parameters (ajax, asp.net)

I want to pass some parameters via ajax function. I was able to pass the string list or 2 parameters (int type). I'm having trouble passing a list and an int parameter. Ultimately, there may be even ...
0
votes
0answers
9 views

How to test TLS sites within Visual Studio 2019

I have a 100 ASP Net sites on our server. As a test we disabled the old version(s) of TLS on the server (Windows Server 2012) and as expected it threw some errors. How could i replicate my server ...
1
vote
0answers
14 views

How to prevent XSS attack such as onmouseover in mvc?

Lately, a penetration test is done using OWAPS ZAP tool in my application. I have not much knowledge of security testing. They found some vulnerability that is XSS Cross-Site Scripting (Persistent). ...
0
votes
0answers
3 views

How can I link model data returned from an action controller into DevExpress Designer Report ASP.NET MVC

What i have done: Currently my ASP.NET MVC app can communicate with the database and even export data to excel. I would like to export the same data to pdf. I added a DevExpress XtraReports item to my ...
0
votes
1answer
34 views

Populating card view from database in ASP.Net

Net. I want something like a recyclerview where you have 1 card in the aspx file which keeps recurring according to the number of entries in the database. So if my database table has supposed 3 ...
0
votes
0answers
13 views

Asp.net core application not logging in on remote connections

I have an asp.net core application, I have been developing and testing on my local machine as well as mobile devices that are connected to the same network. On the host machine, I can interact with ...
1
vote
0answers
14 views

Repeater causes postback of the whole page even if it's inside an update panel

I have an user control that contains an update panel with a repeater. The repeater has a button used to delete records. The problem is when I press the delete button, and a record from the repeater ...

15 30 50 per page
1
2 3 4 5
24146
久草视频新免费_日韩视频一中文字暮_欧美三级片