Top "Asp.net-core-1.0" questions

Use this tag for questions specifically related to ASP.

How to get the current logged in user Id in ASP.NET Core

I've done this before with MVC5 using User.Identity.GetUserId() but that doesn't seem to work here. The User.Identity …

asp.net asp.net-identity asp.net-core-mvc asp.net-core-1.0
How to read connection string in .NET Core?

I want to read just a connection string from a configuration file and for this add a file with the …

c# connection-string asp.net-core-1.0
How to get current url in view in asp.net core 1.0

In previous versions of asp.net, we could use @Request.Url.AbsoluteUri But it seems it's changed. How can we …

asp.net-core asp.net-core-mvc asp.net-core-1.0
Value cannot be null. Parameter name: connectionString appsettings.json in starter

I am trying to write my connection string in my appsettings.json file and bring it into my startup file …

json asp.net-core asp.net-core-1.0 appsettings
Access Web.config settings in Asp.Net Core App?

I understand that asp.net core has a new configuration system that is quite flexible and that's great. But there …

asp.net asp.net-core-mvc asp.net-core-1.0
ASP.NET Core 404 Error on IIS 10

I have a problem with ASP.NET Core web application running on IIS 10. I am developing a Single Page Application …

c# asp.net iis asp.net-core asp.net-core-1.0
Change default format for DateTime parsing in ASP.NET Core

I get a Date in an ASP.NET Core Controller like this: public class MyController:Controller{ public IActionResult Test(DateTime …

c# asp.net-core asp.net-core-mvc asp.net-core-1.0
Unable to find image 'xxxx' locally

Basically I created an asp.net mvc project. I added a Dockerfile in the project folder. FROM microsoft/aspnet:1.0.0-rc1…

docker asp.net-core asp.net-core-1.0
Error handling (Sending ex.Message to the client)

I have an ASP.NET Core 1.0 Web API application and trying to figure out how to pass the exception message …

c# asp.net asp.net-web-api asp.net-core asp.net-core-1.0
No executable found matching command "dotnet-ef"

I'm doing a project sample by using ASP.Net Core RC2 with Microsoft.EntityFramework.Core and SQLite. I've followed this …

entity-framework asp.net-core asp.net-core-1.0