Blank Page after deploying application on IIS
Hi,I have migrated my solution from beta 8 to RC1. After deploying application to IIS, a blank page is received on launch but there is no such issue with IIS Express when launching application from...
View ArticleReferencing regular .NET Class Library in ASP.NET 5 project
I have a web site built by using ASP.NET 5 MVC template (I am using RC1 Update 1) , I need that web site to reference a DLL which was built by using regular .NET Class Library targeting .NET Framework...
View ArticleStarting the DNX ASP.NET 5 server I get an error on Mac
Hi,When I run the command 'dnx web' to start the server and run the application, it just throws an error:System.EntryPointNotFoundException: uv_loop_size at (wrapper managed-to-native)...
View ArticleDeploy Structure
Just started messing with MVC 6 the other day.I have a basic site ready, which directories need to be moved to the server?Just a basic IIS express server on windows.Maybe I am just looking in the wrong...
View ArticleMiddleware - change response html
Does anybody have an example of how to write middleware to change the response html before it gets sent back to the client? I'm trying to remove unnecessary white space with my middleware. I followed...
View ArticleWriting a custom View Engine for specifying custom paths
In beta version we could do something like this in the constructor: (Seems in RC final it won't work)public MyRazorViewEngine(IRazorPageFactory pageFactory, IRazorViewFactory viewFactory,...
View ArticleRouting in ASP.NET 5?
I'm still learning ASP.NET, and I cannot seem to figure out how to create routes.I have 2 Views:default.cshtmlcontact.cshtmlI want http://example.com/contact to route to contact.cshtml,...
View ArticleAutomatically moving npm packages to wwwroot/lib
When using bower to load packages via bower.json they get installed into "wwwroot/lib". How do I achieve the same with npm packages loaded via package.json?
View ArticleRaor Html.Actionlink not working
Hi,I'm creating a navigation bar and trying to use Razor's Html.Actionlink helper tag, like so:<li>@Html.ActionLink("Example Page", "About", "Routes")</li>however, this outputs a URL...
View ArticleHttpPost route receive 404 Not Found on Azure
I have a WebApp on Azure, but any HttpPost route receive 404 Not Found.All the HttpGet routes work fine, but all the HttpPost routes don't work.This happens only on Azure, that is, in the localhost the...
View ArticleWhy ASP.NET WebAPI still return HTTP 405?
My test evironment: Windows 10 Pro+ IIS 10.I created a ASP.NET Web API which hosted on IIS, and test it with Postman.I received HTTP 405 when try to consume the Actions PUT\DELETE.I googled and updated...
View ArticleNo WCF support?
I'm a student who is going to take a course that includes a large portion of WCF services. I noticed that the new ASP.NET 5 / vNext will not support this technology. Does this mean that the WCF...
View ArticleCalling a WCF service
We have an in house framework that uses WCF. Eventually i want to put a MVC 6/WebApi project that calls into the existing WCF.It appears that in order to add references to those projects I need to...
View ArticleMVC+ external API
Hi all! Tell me is it possible to get data via api on the server side?That is, on the client side:$.ajax({ type: "GET", contentType: "application/json; charset=utf-8", url:...
View ArticleWeb.config to appsettings.json
Would this be correct:Web.config<appSettings><add key="webpages:Version" value="3.0.0.0"/><add key="webpages:Enabled" value="false"/><add key="PreserveLoginUrl"...
View ArticleDebug asp.net 5 web app on Raspberry PI 2
Hi,How i can remote debug a web app that work on Raspberry PI ?Active Version Runtime Architecture OperatingSystem Alias ------ ------- ------- ------------ ---------------...
View ArticleCannot Use Nightly Builds
Hi All,I took the plunge and tried to use the nightly builds from myget.org. Here's what I did:In VS2015 I created a new ASP.NET 5 web application. I launced IIS Express to test that the new web...
View ArticleIIS/Visual Studio doesn't update where the web.config is if you move the root...
Hello, i found a bug.If i create a new asp.net vnext project and put it in the desktop, and then debug/run it, then it all works.But if i then move the folder to another place, then iis/visual studio...
View ArticleWeb App - Changing Bootstrap Template
Hi there!This is my first post as a member of the ASP.Net Community. I've just started developing my first Web App in ASP.NET 5, so I still have a lot to learn.My question is as follows: Whenever I try...
View ArticlePaging on MVC 6
Hi guys,anyone know alternativeto Paging.MVC that work on DNX Core 5 & DNX 4.5.1Install the package it only work on DNX 4.5.1
View Article