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

Client Side Package Managers - Bower and NPM - Why are there two different ones?

Sorry if this is a basic question,  I'm trying to catch up on web development stuff. Is this right:  Bower is for actual assets that will get deployed to the production endpoint, and npm is only for...

View Article


Publish of simple webapp fails because of paths

When trying to publish a simple webapplication test, it fails. In the console, the following output is found:C:\Users\danie_000\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-final\bin\dnu.cmd publish...

View Article


Lets Encrypt and SCIM

Not sure where to put these requests, and this is the first time that I've done this so please let me know if this is the wrong place. Would asp.net benefit from having https://letsencrypt.org/ support...

View Article

404 in IIS 1.0.rc1

Hi,My web api site upgraded to 1.0.rc1.  And installed platform handler.  But has 404 error.In beta 8 , the iis virtual app root is bind to http://mysite/api .In 1.0.rc1 , If I use web.cmd in console...

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


Standard ASP.NET 5 Web API template throws AJAX error whereas MVC template...

I get a $.get error calling my WebAPI Controller. The data sent by the $.get still gets to the Controller's method and sends back the data but I get no return value. Exactly the same WebAPI controller...

View Article

Figuring out Hosting Environment outside of MVC/ASP.NET 5 specific code

My ASP.NET 5 (RC1) project accesses, through couple of other layers, a Data Access Layer where I have to know connection string to my database. Technically I can read the connection string (this code...

View Article

How to integrate Asp.Net 5.0 with Active Directory?

I'm building intranet application where I need to use Active Directory to authenticate users. In previous version I would use bearer tokens for that:public static void ConfigureAuth(IAppBuilder app) {...

View Article


Moving OnModelCreating

On using the example Individual User Accounts with VS 2015, moving OnModelCreating from the web application to a library, the tables are no longer created but still show up in the Migrations folder. If...

View Article


Why .Net Framework 1.0 & 1.1 is not supported by visual studio 2008 onwards...

Hello, I want to know about why actually .Net Framework 1.0 and 1.1 is not supported by visual studio 2008 onwards??

View Article

Advanced Tutorial or book on Databases and EF

I need to create a persistent database for my webapp.So far I've been following a book but in order to set up the database, it uses SQL statements.I'm not generally opposed to SQL, quite often I prefer...

View Article

ASP.Net 5 MVC 6 report

Hi,I was trying to create rdlc report in my asp.net 5 mvc 6 web application.Can anyone please provide me guidelines how to do it as web forms are not supported anymore.

View Article

.NET 4.6 vs 4.6.1

Hi All,I just saw that 4.6.1 was recently released. I installed it, but then I wanted to make sure that I'm actually using it. This blog posting states that 4.6 and 4.6.1 are installed side-by-side. So...

View Article


How do I reference a NON-NUGET library in VS Code for an ASP.NET vNext project?

I'm trying to start up a little ASP.NET MVC 6 project hosted under DNX on OS X, and I've run into a very basic problem.I'm using VS Code to edit/run my ASP.NET project, but I need to reference some...

View Article

MembershipDbContext migration in beta8

Hello. I have a problem. I'm trying to add migration of membershipDbContext on beta8. I use command "dnx ef migrations add MigrationName".http://prnt.sc/8wlfvyIt successfully created but there is a...

View Article


MOST important topics in C# for understanding ASP.NET MVC well

I am on the verge of learning C# . I want to know what are the most important topics in C# that needed to be learnt before starting ASP.NET. The reason I am asking is because I don't want to go back...

View Article

ASP.NET5 MVC6 PasswordValidator

Hello,Anyone know the equivalent of the code discussed in this article for MVC6 (EF7)...

View Article


Referencing ASP.NET 5 Class Library (Packaged) Projects from an ASP.NET 5 MVC

I created a new ASP.NET 5 MVC project -- named TestIt. I then added to my solution a new ASP.NET 5 Class Library project -- named Test.ClassLibrary.I then reference the class library project from the...

View Article

How to get a list of controllers/actions in asp.net 5 (mvc 6)

I have a lib which generates sitemap.xml made for asp.net 4.5. And in order to do this I get a list of controllers and actions. Now, how do I do this in ASP.NET 5 and MVC 6?Please give me a hint on...

View Article

dnxcore50 and xml documents/xpath

Previously we used XmlDocument and xpath.  With dnxcore50  XmlDocument is not available. We have tried to change to XDocument instead - but the XPathSelectElements isn't available for dnxcore50 (exist...

View Article
Browsing all 9386 articles
Browse latest View live


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