皇冠hg0088代理网址

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
9 views

User data in MVC

I'm trying to figure which way is the best way of storing data acessible only for the user that is logged in. For example: the classic category tutorial, but being acessible only to the user that ...
0
votes
0answers
6 views

Using Material design bootstrap - I am seeing a weird dropdown menu issue using a form button

When using Material Design Bootstrap, I am seeing a weird issue with regard to using dropdowns. When I do not use Material design, the dropdown menu appears as normal size: but when using material ...
0
votes
1answer
10 views

Automapper Error Rest API Missing type map configuration or unsupported mapping

I am encoutering this error with my Automapper. I have no idea where should fix this. Here is the error details AutoMapper.AutoMapperMappingException HResult=0x80131500 Message=Missing type map ...
0
votes
0answers
9 views

Error when accesing .ashx file in asp.net

Goal: Created client.ashx by copying existing and working product.ashx and renaming into client.ashx Modified client.ashx to handle similar logic to product.ashx I did the above since I don't know how ...
1
vote
0answers
14 views

Seems like the global exception handler is rethrowing the **BadHttpRequestException: Unexpected end of request content** as unhandled exception

My ASP .NET Core WebAPI application is getting some unidentified requests resulting in the below error. Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Unexpected end of request ...
0
votes
2answers
23 views

How can i select distinct using one field

How can i select distinct() based on one field? I have the following LINQ expression, how can I select distinct by ID field. for some reason i used .Distinct() but keeps shown me a duplicate, I want ...
-1
votes
0answers
7 views

Server respond with Error: 302:Redirect Azure [closed]

I have an ASP.net APP Service in Azure where I have a Post method that is sent by another server. The other server sends me the data but the server where I have the AppService responds with Error 302. ...
0
votes
0answers
11 views

facebook Graph API Send post using asp.net and c# is not working

I want to send post through asp.net and c# to my facebook account,i tried multiple things but unable to understand why it is giving me error, can any one guide me? My App Details private const string ...
-1
votes
0answers
17 views

Can't use the same stylesheet used in master page

I have a ASP.NET project in Visual Studio, written in C#. I created a master page and I used a stylesheet for styling called styles.css, and I created a web form using this master page. If I want to ...
0
votes
0answers
29 views

File Upload not posting / MVC

I'm trying to upload a file from my view to my controller, but the value is always null. Controller: public ActionResult Edit(AttachmentDto dto, HttpPostedFileBase UploadedFile) Form Tag: <form ...
0
votes
0answers
17 views

How can I return a physical file from the server on page load using ASP.NET Core / Razor? [duplicate]

I'm trying to download a file automatically on page load if a certain server-side variable is not empty. Here is my code in Index.cshtml: <script> function downloadZip() { @if (Model.zipPath ...
0
votes
0answers
12 views

Long running Web API task

I am trying to find the appropriate way to setup a long running api task using Asp.Net Web API. The tasks I am running could take up to 3 minutes to complete. I have found several links such as ...
0
votes
1answer
15 views

get all localstorage items in order they were setted in

I want to know if there is a way to iterate through all of localstorage data in the order that they were putted in. The problem is that my keys are the id of the object and will not be in order. I ...
0
votes
0answers
9 views

Asp.net WebForms not displaying table data

Before I start, I have a background in PHP, however my project requires the use of .net frameworks. For this project I used WebForms to display data on the table however I am getting a lot of errors ...
1
vote
1answer
34 views

Deserialize dynamic object from request to strong type

I'm trying to implement API endpoint that should allow dynamic object in request body. Example of body 1: { "type": "CallStart", "attributes": { "Name"...

15 30 50 per page
1
2 3 4 5
23936