All Questions
Tagged with .net asp.net-mvc
9,699
questions
0
votes
1
answer
11
views
How to pass a parameter from one partial view to another
I have a partial view of users with a shop details page. I have added a partial modal to mark users as sickness. This is my partial view of the users:
@model Shop
<div class="mb-3 d-flex ...
0
votes
1
answer
29
views
WCF service throws error in ASP.NET MVC. Could not establish secure channel for SSL/TLS with authority
First of all there is a ton of question with the same title but I believe my problem is little bit different from other questions. I would like to state that everything where perfectly fine about two ...
0
votes
0
answers
17
views
.NET 8 >4s delay between OnActionExecuted and View beginning to render
I know there are a lot of moving parts to consider here but I thought I'd post and see if anyone had any thoughts. I am running into an issue with the load time of my View being slow. I added ...
0
votes
0
answers
46
views
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=*' or one of its dependencies
I have a C#(Business Logic) and .NET Core project. It was working fine on windows server 2012. I have updated the operating system to windows server 2022. Now I am facing this problem on all the ...
0
votes
1
answer
29
views
How to get value to text field after model validation message
The PurchaseOrderNumber is generated by another function and is automatically filled in the relevant field when creating a purchase order. However, if the form submission fails due to validation ...
0
votes
1
answer
81
views
How to loop through Inner list of object
I have a need where I need to loop through sublist of each class.
public Class A
{
public int IdA {get;set;}
public string Name {get;set;}
public List<Class B> Items {get;set;}
}
public Class ...
0
votes
0
answers
49
views
x64 and x86 folder is missing in PublishBuildArtifact@1 in Azure CI Pipeline
The solutions contain MVC Web App in .Net Framework 4.7.1. The service layer library project and API are in .Net Core 6.0
Azure CI pipeline use windows-2019 and CI published zip artifact has x64 and ...
0
votes
0
answers
33
views
.net mvc project sdk package error: MSB4019: The imported project "../Microsoft.NET.Sdk.Common.targets " was not found
My project was working smoothly until a while ago I reopen it to find the following error when trying to build it (I'm using vs code)
I noticed sdk 8.0.107 being recently updated/implemented ...
0
votes
0
answers
45
views
OpenIDDict is not generating tables for .net framework OWIN and entity framework
I am implementing OIDC for my legacy application which is based on .net framework v4.6.2. While following the documentation from OpenIDdict website, it does not create tables which OpenIddict requires....
0
votes
0
answers
86
views
How can I improve performance and increase the speed of processing data so that it takes short time read and process 500,000 records
I'm having a .net core console application that reads parts of the JSON files stored in a folder the part of the JSON that I'm reading contains greater than 500,000 records in it, I'm able to read all ...
0
votes
2
answers
45
views
Securing self-hosted WCF service using custom authentication
I've an ASP.NET MVC web app which is meant to be used within the enterprise. This web app has a custom authentication implementation. The controller functions will call self-hosted WCF services ...
0
votes
1
answer
20
views
How to set up a URL rewrite for Sitefinity Cloud?
I've just launched a very large site. We have a number of assets on our old site that we need to point to.
All of the assets are one of these formats:
asset12345.aspx
assetfactory=1234.aspx
Assets/sub-...
-1
votes
0
answers
20
views
plq 30 printer print from online mode in c#
I want plq 30 printer print from online mode (passbook print) in c#, I don't know to print or printer setting so if any one know how to print online mode print please help me.
I try many more solution ...
0
votes
2
answers
110
views
ASP Versioning, UrlSegmentApiVersionReader, routes match nonsense version numbers
I am using the ASP Versioning library to version an MVC controller Rest API in a microservice.
using Asp.Versioning;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft....
0
votes
0
answers
18
views
Audio not playing in Asp.net MVC
I'm having issue on playing audio in asp.net. I have
@if (ViewBag.First != null && ViewBag.First)
{
<audio id="welcome" autoplay="autoplay">
<source src=&...