Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

how to migrate wcf in .net core

Hi teami am migarting asp.net project to ,net core 3.1how to migrate wcf  here , shall i migrate wcf or use rest api for this or any other better suggestionplease suggest

View Article


Asp.Net Core Mvc JsonResult Not Triggered

publicclassQuote    {                 publicstringFullName{get;set;}        publicstringEmail{get;set;}        publicstringPhone{get;set;}        publicstringBudget{get;set;}...

View Article


Need help setting up multi select option checkbox list for my ASP.NET Core...

I have been trying several code samples from forums but they all seem to use a List of a class type that gets data saved in, while I am just trying to use a list of strings from data for the days of...

View Article

How to access ViewData from external javascript ?

Hii've use this external javascript function to access ViewData variable(s) :function deleteOrderItem(orderID) { if (confirm('Are you sure want to delete this item?')) {$.ajax({ type: "POST", url:...

View Article

cycles or multiple cascade paths in ef core

Hi,i have this error in update database , whats problem ?ProductInfo.cs [Key] public int ProductInfo_ID { get; set; } [InverseProperty("ProductInfo")] public virtual IEnumerable<SimilarProduct>...

View Article


First project in an ASP.NET Core 3.1 application

Hello,I have successfully completed my first project in an ASP.NET Core application using Connector/NET Core to explore the possibility to run this application on any .NET CoreThis is the tutorialThis...

View Article

Fail to add multiple attachments to mail message in net core web app

Hi,I try to construct and send an email message in a web net core app. The message need to have maximal 3 attachments, provided by the user who navigates the site. First is mandatory, and at least one...

View Article

ASP.net core and graphQL

I have build an asp.net core project which get Rest API calls and return data.now I added a GraphQL option as well, and I have some issue not clear :1. when I run the project and go to...

View Article


Problem uploading with MS Edge

First please see this post: https://forums.asp.net/t/2166962.aspxThe code in that post works perfect in Firefox and Chrome.  However it does not in Edge.For example, if the image is located at...

View Article


Data annotation inside MVC6 web grid

I have added the following model class inside my asp.net MVC core web application 3.1:-[ModelMetadataType(typeof(Submission_Validation))] public partial class Submission { }and the following...

View Article

Binding to a complex ViewModel

I have a model class called linksmvccore.  It's just a link number with IDs pointing to data in 2 other tables [Table("linksmvccore")] public partial class Linksmvccore { [Key] [Column(TypeName =...

View Article

Image may be NSFW.
Clik here to view.

Web.Api core sudden increase of memory

I have a web.api in .net core 3.1 that continually receives byte array data. I have noticed that after a dozen of calls, the memory suddenly increases with +100Mb.As you can see in the GIF, the memory...

View Article

tooling issue - version conflict detected for microsoft.extensions.configuration

"Install/reference microsoft.extensions.configuration 3.1.4 directly to project UserNameAPI to resolve this issue"Points to file UserNameAPI.csproj<Project...

View Article


How can i include more than one include in the query

I have the following modelpublic class Book { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] public int BookId { get; set; } [Required] [StringLength(10,MinimumLength =3, ErrorMessage...

View Article

Route to a specific action explicitly from middleware

I'm still trying to migrate my transparent login router to ASP.NET Core 3 with the new endpoint routing. My current approach is to insert a middleware before the routing happens. When this middleware...

View Article


CORS Policy - driving me insane

Hey everyone.  I'm learning .NET Core (currently using version 3.0.1, and ASPNETCORE_ENVIRONMENT is currently in development mode) for development and have built a project that uses the framework for a...

View Article

Fake dll support in .net core

Hi Team,I am doing migration asp.net project 4.5 framework to asp.net core 3.1Can you please let me know fake dll is supported in .net core while migrating i can see fake dll is used in many place in...

View Article


How to get connection from startup to static class Data access?

I work on asp.net core 2.2 vs2017 app I face issue I cannot get connection string from start up to static Data access class class CZConnection public class CZConnection { public string...

View Article

What happen if someone do not accept the GDPR alert inside asp.net mvc core 3.1

I am working on an Asp.net MVC core 3.1 registration web site for the US market, where the users enter his/her mobile number >> and on the next screen they enter their info to register with us....

View Article

Field not rendering across 3 table relationship

Hi So I am using ASP.NET Core 2.2 with EF Core with SQL Server DB. I got a database that looks like this. So I have 3 tables in SQL Server. tblJobs, tblResults and tblProblems and others I omitted as...

View Article
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>