aspnet5 httpRequest.browser
Hi,does anyone know if they are putting the browser information within the new asp, httpBrowserCapabilities used to be based on the user-agent string being passed, i have created an extension method to...
View ArticleDeployment issues with Beta 8 application to IIS 10
I'm struggling to get the deployment working for VS 2015 for ASP.NET 5 Beta 8 application:I've installed the httpPlatformHandler on IIS as is needed. I've followed the Publishing to IIS tutorial....
View Articleasp.net 5 assemblyinfo increment up the build number on every build?
Andhow to get this value?
View ArticleWhy do you make it difficult?
The first thing I love .NET for is Visual Studio and the way I was developing web apps without any external tool and command line.Why do I need to do it now?It's ok to have command line support, but...
View Articlednu restore problem (System.UnauthorizedAccessException)
Does anyone have an idea why "dnu restore" would throw a System.UnauthorizedaccessException?I am upgrading from beta5 to beta8 on a Win 8.1 machine. Running in Administrator shell.Microsoft .NET...
View ArticleASP.NET 5 beta8 dnvm and Package Manager Console
After upgrading to the beta8 distribution (from beta5) I noticed that dnvm does not display any output in the Package Manager Console in VS 2015 (on Win 8.1).Other Powershell commands seem to work...
View ArticleHow to apply custom validations into role providers in ASP.NET MVC5 with...
I have modified UserRole entity with new properties. I need to validate user login and generate role based menu according to those properties.public class ApplicationUserRole : IdentityUserRole { ///...
View Articleerror CS1061 C# '' does not contain a definition for '' and no extension...
Hi,Very new to ASP.NET so I have been following the MVC MVA course on ASP.NET5 (most excellent so far I have to say but have come across a compile issue with the code as used on the course. I...
View ArticleMethod not found: 'Void Microsoft.Framework.Logging.LoggerFactory.AddProvider
Hello,I upgraded a Project from ASP.NET 5 Beta 7 to Beta 8 and I keep getting the following error which I am not able to solve: MissingMethodException: Method not found: 'Void...
View ArticleDI in MVC6 - Replacing default with Autofac
Hi,I am struggling to get DI working in MVC 6 - I am using VS 2015 and all projects outputting and using the DNX451.When I try to replace the in-built version with Autofac. All the examples I have seen...
View Articleaspnet 5 dependency injection
Hi,i know this might sound a bit daft, but everything i read about dependency injection is around the controller, if i wanted to use dependency injection within my models does anyone know if its...
View ArticleHow do I incorporate the Skype into web page
When I open the web page. The Skype chat window should open in the web page it self..Assume I will pass the Skype credentials when I open the web page.Is it possible ? If yes .. Please help me on this...
View ArticleASP.NET 5 app read/write local file in Linux ?
Hello:I am still waiting for the ASP.NET 5 formal releasing. I have waited long time because I wanted a web app to run on cross-platforms.I have many questions about the new ASP.NET 5 to support Linux...
View ArticleAsp.Net 5 "Schema specified is not valid. Errors: error 0152: No Entity...
I have 2 projects in a solution one asp.net 5, and one class library project containing EFModel. I used install-package to install : "EntityFramework": "6.1.3", "EntityFramework.SqlServerCompact":...
View ArticleAnyone else having problem with razor syntax and the new Visual Studio 2015 RC?
No matter what I do I can't seem to get it to recognize razor syntax in a cshtml (view). I've even tried to rest visual studio settings, but to no avail.It compiles and runs fine. But I get no...
View ArticleConnectionStrings in MVC6
Hello! I need help! I used VS2015 Community beta 8 and project in MVC 6! I need the equivalent of that string from MVC 5:<add name="DefaultConnection" connectionString="Data...
View ArticleMembershipDbContext 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 ArticleLayered Architecture with ASP.NET 5 MVC 6
In our organization we have standards that demand a layered architecture (UI, Business, Data). With an ASP.NET 5 MVC 6 app (beta 8), why can't I add an ADO.NET Entity Data Model (.edmx) to a new...
View ArticleUsing same Transaction
Hello,I need to use the same DB transaction to all DB CRUD's in the Request, and do the Commit / Rollback in the end.Any ideia how to configure such Transaction in Vnext so i can use it in any place in...
View ArticleVisual Studio 2015, Error message Instantiated part(s) ... when creating a...
Hello folks,Using Visual Studio 2015, I want to add a Class Library (Package) project into my solution, but I get the following error message and cannot create it:Instantiated part(s) threw...
View Article