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

after update to rc1 my project automatically close without show any error

Hi people, I just updated my project today (it was in beta8) and now when a press run it open the browser and stop run in a instant, I dont have any error in the console so I dont even know where to...

View Article


Gridview with textbox and dropdownlist

I have a aspx page which has gridview with textbox, dropdownlist and i wann some rows comming from database and some to be filled by use  it also has a add button to add new row in gridview.Plzzzzz it...

View Article


"userSecretsId" change doesn't work

Hi!I've created a new ASP.NET 5 Web App and changed to the "userSecretId" to my previous project's "userSecretId". The file containes the external authentication secrets for Facebook, Google, Twitter...

View Article

Publish error

I created an app using the website template. I didn't make any changes. Every time I try to publish to the file system or a remote server I get this error.An error occurred during publish. Exception...

View Article

Can we use ELMAH in Asp.Net5 MVC6

Can we use ELMAH in Asp.Net5 MVC6. Got a link https://github.com/aspnet/Entropy/tree/dev/samples/Logging.Elm from stackoverflow thread...

View Article


error updating vs 2013 extensions after installing vs 2015 ctp

In my computer I have vs 2013 update 3, and I installed vs 2015 ctp5.A few days after this I updated vs 2013 to update 4, and started to update all the extensions, but for a few of themGrunt Launcher,...

View Article

Techniques in picking a pre-release version

Hi there,So I have a project that's currently compiling to rc1-final but would like to try one of the newer nightly builds, what's the best way to go about this?My confusion is with the installed...

View Article

Best way of Task Queuing in ASP.Net5

In my web application - we send "Account verification" link to users after registration. Sending "Account verification" link is an asynchronous process and we allow user to continue using the website...

View Article


Unit testing controllers with InMemory database and IdentityDbContext

Hi,If you feel this topic would fit better in the EF section of the forums feel free to move it. I'm looking at unit testing for an ASP.NET 5 project where I'm running MVC 6 and EF 7 for creating a...

View Article


Db connection in Web API with MVC 6

Hello everyone,I have been building Web API with MVC 6, from this link (http://aspnetmvc.readthedocs.org/projects/mvc/en/latest/getting-started/first-web-api.html) , which doesn't use a database.  I...

View Article

Image may be NSFW.
Clik here to view.

Could not load file or assembly 'MySql.Web, Version=6.7.4.0,...

Hi,I wrote a web site in asp.net with memebership ,I used SQl SERVER for my web site, when I uploaded website to my host , unfortunately it didn't work. it say :  Could not load file or assembly...

View Article

How to access sql-server from MVC6 (WebApi) over SQLClient?

For new webservice-project, I want to use MVC6 (WebApi).I work with Microsoft Visual Studio Professional 2015, Version 14.0.24720.00 Update 1, ASP.NET and Webtools 2015 (RC) 14.1.11116.0Since two full...

View Article

How to implement Response Caching in MVC 6

Hi, I am trying to implement Response Caching in MVC 6 but it doesn't work. Here are two scenarioes.Scenario 1:Index.cshtml page:                         <cache...

View Article


aspnet 5 node folder path

Hi,has anyone gotten around the node path being to long in windows OS, i know NPM fixes this issue in future versions but at the moment i do not know how to fix it in our aspnet 5  rc1 projects. Its...

View Article

Using autocomplete only works on homepage

I am very new to JavaScript, so I don't know  where the problema is,I have been trying to use an autocomplete search, and I have tried several 2 or 3, and all do the same thingthey work well on the...

View Article


HttpContext.Current.Response.write is not working when called from C# class

Hi, I am trying to send a message to user when the code enters a Catch block. the block is within a C# class. try { Context.SubmitChanges(); } catch (Exception e) { ErrNum = -1;...

View Article

Angular 2 http.put() not calling Controller

I put a breakpoint on the Controller and http.put() in updateItem() isn't calling the Controller.data.service.tsimport { Injectable, Inject } from 'angular2/core'; import { Http, Response, Headers }...

View Article


How to use INumerable of SelectListItem for DropDownList in Asp.Net Mvc 6

With this example, it demonstrate all relational field between Primary Key and Foreign Key in order to retrieve the ID for DropDownList, I have an example below:// From the controller of each...

View Article

ASPxGridView Add new Row does notsend the parameters to the ObjectDatasource...

Hi, I am Using the ASPxGridView, and use the NEW button to open the edit form in order to add a new row in my grid. after filling the fields and click on update, I assume that the data I entered has to...

View Article

Error NU1002: "...does not support framework .NETFramework,Version=v4.5"

Hello,I am working on an ASP.NET Core 1.0 site that references a few class libraries that target .NET 4.5.1.  Everything is working well locally, I can compile and run in IIS Express on localhost. When...

View Article
Browsing all 9386 articles
Browse latest View live


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