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

Warning on upgrading BundlerMinifier.Core

If you start with a new ASP.NET Core project and update BundlerMinifier.Core via NuGet, you'll get a publish error    No executable found matching command "dotnet-bundle".  I've had to recreate my...

View Article


Deploy in Docker

Is it possible to deploy below ASP.NET 5 version? I have installed all pre-req tools and i am able to deploy with ASP.NET 5 Core project but not regular projects below the ASP.NET 5

View Article


Error exists after modification in a database table.

<div class="quote"> <div class="quote_body">Hello Experts,</div> <div class="quote_body">Currently I'm working on 'Entity Framework Models' on my own ASP.NET project. I have...

View Article

Image may be NSFW.
Clik here to view.

SignInManager.GetExternalLoginInfoAsync() returns null

I'm using WeChat authentication a third party clients which written by myself. I'm getting null when the application returns to my ExternalLoginCallback action and asks the SignInManager for the login...

View Article

How to get newly created entry's Id, which is database generated

My app will display a bunch of uploaded product pictures, and these pictures will be stored in the "~/Pictures/ProductId/" folder, therefore I have to break my Create actions into two stages:1. Enter...

View Article


DI in webapi: InvalidOperationException: Unable to resolve service for type X...

Am I doing this right? Looking at the source, it seems that the configure extension function calls ServiceCollection.AddInstance so I'd be able to use the class for DI?startup.cs:publicvoid...

View Article

Targeting different frameworks but have one Nuget Package

Is it possible at all?  I am trying to figure out the best way to go about this.We have a project, say the project is named "DoFunkyStuff".We want to have two versions of this project, one that is...

View Article

ASP.NET Core - Local SQL Database (Instance failure)

Hello I'm developing a site with ASP.NET Core that works perfectly in my development environment. But once I install it on my production server I have a problem with my database.After having change the...

View Article


Host webForm on kestrel (SOS)

Hello,I Have an emergent issue to resolve....SOSThe solution has two projects:1- The first one is a Windows application where ASP NET CORE is installed to use kestrel server for self hosting2- The...

View Article


Installer/Setup for new Core web apps

Hi, can anyone recommend the best way to create an installer/setup for a new ASP.NET Core web application that can be deployed either to IIS or as self-hosted?Cheers Rok

View Article

Image may be NSFW.
Clik here to view.

Is bug #1449 fixed?

Hi,I have encountered Bug #1449 of https://github.com/aspnet/EntityFramework/issues/1449.  According to the post,  rowanmiller closed this Dec 8, 2015. However, I am still having this problem now. I am...

View Article

Image may be NSFW.
Clik here to view.

How to publish environment specific appsettings in .Net core app?

I have 3 environment specific appsettings files in my .Net core application in project.json I have setup publishOptions like this. ( based on suggestion here)"publishOptions": {"include": ["wwwroot",...

View Article

Referencing .NET Core project from .NET Framework project

Hi,I have two projects.Project1 was created with a .NET Core class library template and targets net461.Project2 was created with a .NET Framework template and targets .NET 4.6.1.I am able to...

View Article


Image may be NSFW.
Clik here to view.

Throw new Exception (Internal server error)

Hi folks, I am using asp.net core Web API with Angular 2. here is my sample code,private IActionResult GetErrorResultLogin(Microsoft.AspNetCore.Identity.SignInResult result) { string errorMsg = ""; if...

View Article

Including pdb file in nuget package when built from project.json?

Hi,I'm creating an nuget package for an internal purpose and have configured the nuget package to be generated inside of my project.json file.It all works great except I also need the .pdb file. I...

View Article


Static assets are not loading while hosting an ASP.NET Core application

Hi Folks,I have hosted an ASP.NET Core application in IIS by following this article and I face some challenges while browsing the application after hosting.Static assets (Styles , Java script files)...

View Article

Is xproj staying or going?

Hi,I have read comments that xproj is dead and MS is moving back to csproj. However, mu understanding is just that project.json is dead. Could someone please confirm?"XProj is dead. Use a portable...

View Article


ASP.NET Core (.NET Framework) and Localization

Why the libraries that I'm using in my ASP.NET Core project (.NET Framework) do not return messages translated as the selected culture?For example:ResourceManager rm = new...

View Article

Best sending email library for ASP.NET Core

Hi, I am looking for email library to send email in ASP.NET Core. I read few posts about it in this forum, but I cannot find something like sendgrid or mailgun with GOOD DOCUMENTATION for Core. I hope...

View Article

[Core Web API]: From SQL Server tables can ASP.NET Core Identity reveal...

Sorry for cross posting; this was posted September 2nd here http://stackoverflow.com/questions/39300797/core-web-api-from-sql-server-tables-can-asp-net-core-identity-reveal-whether [no answers...

View Article
Browsing all 9386 articles
Browse latest View live


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