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

Run dnx with sudo on Raspberry Pi 2 to control LCD 16*02 display

Hi,I have tried to run .net 5 basic web app on raspberry pi 2 with Raspbian. It work fine.But now i try to control LCD 16*02 display, it got below error:bcm2835_init: Unable to open /dev/mem:...

View Article


Add connectionstring in ASP.NET5.0 with EF7 for using dll repository...

If it is EF7 DbContext, in asp.net 5.0 project configure as: services.AddEntityFramework() .AddSqlServer() .AddDbContext(options =>...

View Article


File Uploading in MVC6 Web API

Hello,I am Making Web Api Controller For Uploading Images through  MultiPart Request.But I dont Know how to do that in MVC 6 Web API .There is solution given for MVC 6 Controller.please help me to the...

View Article

Cannot build with MSBuild - says Cannot find DNX Runtime

Hello,I have an ASP.NET 5 project that I am trying to hook into TFS 2013 for automated builds.  The project will build on the machine if I load it in VS 2015 (tried loading the solution from the folder...

View Article

DefaultModelBinder Replacement?

Trying to find the replacement. Dug through the github asp project under ModelBinding branch of Mvc but couldn't find anything. Any information would be greatly appreciated.

View Article


How to deserialize a json string to a object in asp.net 5?

BookModel Book = new BookModel();string BookJsonString = "{"id":152,"name":"Book1","Author":"Mike"}"; JavaScriptSerializer Serializer = new JavaScriptSerializer(); Book =...

View Article

Asp.net 5 w3wp.exe ram memory %80 %90

I have a windows 2008 r2 server. bunucu w3wp.e though I think this new format to the memory running at 90% from 80% . 5 asp.net site I edit all of my ram with high working memory of my sites , I gave...

View Article

ASP.NET 5 and EF in Class Library

I have three projects in my ASP.NET 5 solution; .Web (MVC6), .Business & .Data (Class Library package). EF related code i.e. DbContext is in .Data project. Currently for testing I have hard coded...

View Article


Using Enterprise Library 6 with ASP .NET 5

DatabaseFactory previously used ConnectionString to create database. Now DatabaseProviderFactory uses ConfigurationSource which basically works on MVC 5 structure of web.config in XML form.Previously...

View Article


Middleware threading issue - DI related

sorry for all the bullets/structure - i was thinking as I typed ;)TLDR: Switching threads in the middleware pipeline can cause premature teardown of RequestServicesissue bootstrapASP.Net 5/Web...

View Article

Facebook authentication in ASP.NET 5

I'm implementing Facebook authentication in an ASP.NET 5 MVC 6 application.I was told the strategy in MVC 4/5 for handling new users was to create a temp cookie and allow anonymous access to the...

View Article

Customizing Identity 3

Hi,Can someone help me with ASP.NET Identity 3 on how to change the User PrimaryKey from String to Integer. And how to customise the Identity TableNames and FieldNames in the new Identity 3.I do see a...

View Article

InvalidOperationException: An attempt was made to use the context while it is...

I have1: DbContext 2: Respository 3:ServiceService take Repository as dependency and repository take DbContext as dependency. Problem: I have registered Repository,Service as "AddTransient" when I...

View Article


Regular Expresion what is wrong?

Hifirst of all I would like to wish you Happy New Year 2016.I am trying using Regular Expresion[RegularExpression(@"^\d+(\.\d{2})?$", ErrorMessage = "Wrong price format")]match: 1.00   123   123.52...

View Article

Angular 2 and ASP.NET 5

Is this the right place for a discussion about Angular 2 and ASP.NET 5? I'm using ASP.NET 5 to write Angular 2 web applications with Azure successfully. The problem I'm having is that there are a lot...

View Article


dnx461

Hi,everytime i start a new mvc template in aspnet 5 and try and change the line:-"dnx451": { },to"dnx461": { },i loose the ability to add references to this version, am i doing something wrong or have...

View Article

rc1 sessions

Hi,i was wondering if the rc1 version of sessions is released yet? as i can see it in the reference list when trying to add it but when trying to add it i get the following output error:-Unable to...

View Article


Making a service extention and using the options model

I may be going about this the wrong way, but I'm having trouble with my own service extension and wanting to use the strongly types options model. Could anyone help? My situation:I have two projects:...

View Article

Image may be NSFW.
Clik here to view.

dnvm updgrade access to temp directory denied

Hi everybody,I have a problem installing asp net 5 in visual studio community 2015 Update 1 in windows 10.I followed this guide...

View Article

Class Diagram not available

Currently (dnx 1.0.0-beta6 clr x64), I cannot create nor view a class diagram.I think this feature is quite important. As the Entity Framework 7 is composed of  Code Base only, the Class Diagram...

View Article
Browsing all 9386 articles
Browse latest View live


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