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

Context.Add

Hicontext.Add(Book) context.Books.Add(Book) Do the above two statements have the same meaning and effect? thanks

View Article


Hard crash without log information

Hi @all,I have an ASP.net Core application which crashes only on release mode. Despite having installed and configured NLog, in this special case no log information gets written to a file.I registered...

View Article


Asp .net Core : unit tests in Docker

Hi,I want to launch my tests (unit and integration test) at the time my project is build (on VSTS) and dismiss the rest of the CI pipeline if they fail.I use docker support for my project and the...

View Article

ASP.net core vs react or meteor

HelloI've heard ASP.net core can handle front end. Does is it mean it can do works witch front end frameworks like react or vue or meteor can do?Please inform me.regards,Saeed

View Article

Problems Accessing External REST API

I'm still sort of new to .NET and .NET CORE, and think I need a nudge in the right direction on something...My .NET Core web application needs to communicate with an external REST API and grab some...

View Article


I cannot get IdentityServer4 to work using SSL on anything but the...

If I run my IdentiyServer4 api using https with-in Visual Studio 2017, it runs fine.  I am not doing anything fancy...no remote logins, just trying for now to login to the same app that IdentiyServer4...

View Article

ASP.net Core Identity - userphoto

How can i use a userphoto in asp.net core 2.0?  I have tried with the sample of asp.net mvc, but the accountcontrollor gives faults about the Http parameters. Can somebody help me?   

View Article

Cannot run or publish with release mode, but run in debug mode OK

Hi ,I have upgrade my VS to latest version v 15.6.4 from 15.3, and now I have problem that I cannot publish my project any more.my project is .net core 2.0 project, it run well before I upgrade VS.I...

View Article


what is the difference between ICollection and List?

Hi,what is the difference between ICollection and List? Can you explain public class Category { public int CategoryId { get; set; } public string CategoryCode { get; set; } public string Image { get;...

View Article


Assign button value to model property on click in asp.net core 2.0

I have two buttons<input type="button" value="Yes" asp-for="ModelProperty" /><input type="button" value="No" asp-for="ModelProperty"/>I want to assign value of clicked button to ModelProperty.

View Article

Edit method posting null entity.

Hey guys!I'm working in an ASP.NET Core app, and it was working perfectly, however when it comes to the update part I get a Null Exception error when posting. And when debugging I can see that it is...

View Article

ASP .NET Core Website Location on Ubuntu - Kestrel Loads Website from One...

HelloI have been experimenting with setting up ASP .NET Core websites in Ubuntu and they load correctly with Kestrel if located at:/var/aspnetcore/SITENAME/aspnetcoreHowever they do not work if located...

View Article

I can't get a remote client to redirect back from a production server using...

I can login to my IdentityServer4 api by going directly to the url and logging in, but if I try to use the IdentityServer4 api as a remote login app for a client, while I successfully get rerouted to...

View Article


Why set method is not present in IKeyVaultSecretManager of...

Hi,I am using Microsoft.Extensions.Configuration for accessing Key/Value. But I am unable to update the value of a particular key.  For KeyVault configuration we can implement our own...

View Article

Ubuntu 16.04 dotnet installed but not working.

I installed dotnet core 2.0.6 on Unbuntu 16.04. Everything went smoothly.  If I type > dotnet I get Usage: dotnet [options]Usage: dotnet [path-to-application]Options:-h|--help Display help.--version...

View Article


Display images of various type from byte array containing multiplw images.

Hello,<br><br> I am completely new to asp and am learning to use mvc core. I have a test webapp wich retrieves multiple files via iformfile and stores them as byte array In an sql database...

View Article

View Downloads instead of REST server running ...

Using VS 2017 15.6.3  following >NET CORE 2.0 REST API tutorial.https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-web-apiEvery time I start the service it launchesthe window View...

View Article


System configuration required to run asp.net core 2 application

HiPlease can you advise me the  processor, memory and storage configuration to run asp.net core 2 applicationKind RegardsPol

View Article

there are some problem in IE 11 about character and Syntax error

Hi,This code is work on Edge,chrome etc.  but it doesn't work IE11.  because of this character `if use this ` you can write html easly. $('body').append(`<div class="modal fade" id="confirmModal"...

View Article

Steps to add multiple references in Bundleconfig.json

Hi,I have newly installed Visual Studio 2017. And in that I have added new ASP.NET MVC Core application. After doing this I have just added JQuery reference using Nuget. Once I done will all this...

View Article
Browsing all 9386 articles
Browse latest View live


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