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

ASP.NET and websockets

Since signalr 3 will not be out with the asp.net core rtm release is there any alternative websockets server to use with asp.net core?

View Article


Cannot set RC2 to build x86 target

Hi there,I have an ASP.Cet Core Framework app using RC2.I need to include a 32 bit foreign com assembly - check: made nuget package, added to local repo and added to project from there.Now I need to...

View Article


JsonOutputFormatter override

Hi,I wrote a custom JsonOutputFormatter in asp.net core rc2. I am trying to migrate to asp.net core and I can see that I need a constructor(JsonSerializerSettings serializerSettings,...

View Article

ViewComponent InvokeAsync function doesn't take 3 arguments

Hi,I am in Rich Anderson's View Component Tutorial. However, when I ran the code, I got an/Views/ToDo/Index.cshtml No overload for method 'InvokeAsync' takes 3 arguments 34. @await...

View Article

Image may be NSFW.
Clik here to view.

Cannot add class library dll in .net framework 4.6.1 or .Net core App 1.0.0

View Article


Where did the gulp file go?

Greetings, I was going to ask about if gulp was a replace for BundleConfig and how it works, but now gulp.js is gone too. So what's the replace for it?

View Article

hosting.json wwwroot folder location

hi,In the final release of aspnet core 1, how do we modify the wwwroot folder now? it used to be hosting.json but that no longer exists and i have some gulp plugins which require it, does anyone know...

View Article

problems with visual studio 2015 and asp.net core

After upgrading to vs2015 update 3 whenever I am building an asp.net core project and there is an error vs does not show it. Instead if I go to cmd and type dotnet build the error comes up at the same...

View Article


working with database first in Asp.Net Core

I want to learn Asp.Net Core since it is now RTM. But I am not familiar yet how to work with existing database. In the docs there is an example how to import an database into the project...

View Article


adding library references to a ASPNET core .net framework project

Hi,How do i add a library i want to reference, as when i try at the moment it just says i can't if its not in nuget which is not very useful as this is a private library that i wrote personally

View Article

Unable to get session id

How to retrieve session id of current session in asp.net core 1.0?

View Article

Unable to pass complex object to web API

How to pass a model object to web api in mvc core from controller?

View Article

Core Class Library and Entity Framework Tools

Creating a new Core class library and adding the entity framework tools does not work.  This needs to be fixed for sure.  Using the tools to re-create the database classes in my main project is not good. 

View Article


No database provider has been configured for this DbContext

Hi,I got an error message ofInvalidOperationException: No database provider has been configured for this DbContext. A provider can be configured by overriding the DbContext.OnConfiguring method or by...

View Article

View Component binding problem

I invoke a view component from my razor page and pass a model property to view component I.e. (my model has a property of address details which I'm passed to view component) but the updated value from...

View Article


Dnu restore problems

Hi, I've got errors after executing dnu restore:C:\Users\michalu.MEDIA-PRESS\UWPNext\app\UWPNext>dnu restore Microsoft .NET Development Utility Clr-x86-1.0.0-rc2-20221 GET...

View Article

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


Cookie Middleware without Core Identity

I'm following the directions in this article:  https://docs.asp.net/en/latest/security/authentication/cookie.html I get "No authentication handler is configured to handle the scheme...

View Article

ViewComponent Model binding problem

In my case CurrentAddress and PermanentAddress objects is null on Post Action Register of Register Controller. kindly help me for same below are the code snap. Thanks in advancebelow is Model...

View Article

Config Supervisor for ASP.NET Core Web APP on Linux

the Doc "Publish to a Linux Production Environment" on this address https://docs.asp.net/en/latest/publishing/linuxproduction.html seems out of date for the Supervisor configuration, can anyone please...

View Article
Browsing all 9386 articles
Browse latest View live


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