Beta8 - DNX - Error starting IIS Express
When creating a new ASP.NET 5 Web Application with beta8 and starting IIS Express there is an error message telling me:"An error occurred attempting to determine the process id of the DNX process...
View ArticleChanging htmlhelpers to TagHelpers
I am practicing in the sample Project by Rowan Miller named UnicronStore, and I am trying to change the views from htmlhelpers to taghelpersI am having trouble when submit save, with htmlhelpers it...
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 ArticleError building project after upgrading to Beta8
After upgrading to Beta8 I'm getting the this error:Error CS0518 Predefined type 'System.Boolean' is not defined or imported Sydas.Aries.Web.DNX Core 5.0 The project was building fine with Beta7. I...
View ArticleController Scaffolding in MVC 6
hi folks,I am referring to CRUD for controller and View with ASP.NET 5 and MVC 6.Models/BookContext.cs:public class BookContext : DbContext { public DbSet<Author> Authors { get; set; } public...
View Articleaction filters
Hi, i have noticed when using the action filters in mvc 6 the actually context controller definition is an object not of type Controller, i wanted to make sure the following is the correct new way we...
View ArticleFar too many new things, far too little documentation
Maybe someone of ASP.NET team is reading this. It is my very personal point of view about the all-new vNext thing.I finished my last ASP.NET project about a year ago. It was a large one using many...
View Articleaspnet 5 HttpContext.Request.UrlReferrer
Hi,does anyone know if theres a version of this in the new aspnet 5 as i cannot find anything on the topic, i am running the latest version "beta-8"also:-Rquest.Url features do not seem to be in aspnet 5
View ArticleCannot discover unit tests after upgrade to beta 8
I updated our projects to beta 8 and now I am no longer able to discover unit tests. I have updated to the latest XUnit and XUnit runner packages. My colleagues are able to discover and run tests but...
View ArticleRun WebApi on IIS express using command line
Hello!I have two solutions: The one is a service [asp.net 5 API] and the other is the client [.NET console application]. I want the service will run every time I run the client.I tried this...
View Article[beta8] Request.Scheme is wrong when hosted in Azure
Request.Scheme returns "http" even if you use https in Azure Web Apps. This breaks Microsoft Account authentication. (See my previous post on this.)
View ArticleBeta8: Error in DNX while opening project
In beta 8 I often get this error:---------------------------Microsoft Visual Studio --------------------------- The following error occurred attempting to run the DNX design time process...
View ArticleAnchorTagHelper - add class?
I am using a menu system based on jQuery which creates a navbar. Each navbar item has the usual structure: <li><a asp-controller="..." asp-action="...">nav-item-x</a></li>. When...
View ArticleHow to Gzip the response in aspnet 5
Hi,i would originally use the response.filter to do "response.Filter = new GZipStream(response.Filter, CompressionMode.Compress);" but i do not know how to do this in aspnet 5 using the HttpResponse...
View ArticleAzure AD Authentication
Having a few questions regarding the current Beta 8 release of ASP.NET 5 and the templates when using Azure AD authentication.1. During the authentication process, the user is asked to Accept to allow...
View ArticleQuick question: Best way to write data to local json file?
I'm just wondering what the recommended way for me to write content to a local json file from an ASP.NET 5 MVC6 web api controller is?I had no luck using a streamwriter and File.WriteAllText doesn't...
View ArticleDebug .Net Framework DLL in ASP 5
"I just downloaded the latest beta of ASP 5 (8 I think).The first thing I did was add a bunch of our framework DLLs as references. They are compiled in .Net Framework 4.5.1. This compiled OK once I...
View ArticleWhy is WebForms being deprecated?
I am not a fan of WebForms, but for the first time, I am arguing for it. I am looking to build my company's website soon. We do freelance solution design and development for web, mobile and IoT. I am a...
View ArticleI can't deploy my rest project on the IIS Server
I have to deploy my rest web Service that I have created with ASP.net/MVC5 on the IIS Server (Windows Server 2012),I have worked with visual studio 2015 and MySQL(Xampp),the problem is that when I try...
View ArticleXunit testing of ASP 5 MVC applications
Hi. I have a trouble. I'm trying to test controller via xUnit. I have created test library. Add all references. In test method I'm invoking TestServer instance of Asp.Net 5 application. Test launching...
View Article