VS Studio 2015 MVC the name viewbag does not exist in the current context
When I create a MVC project using MVC (VS2015) templae, it create and comnpiles and run ok, but when I go to the index view I get the following error on the cshtml code"the name viewbag does not exist...
View ArticleFile name: 'Microsoft.DNX.PackageManager"">ASP.NET 5 Beta8 breaks with "System.IO.FileNotFoundException: Could not load...
When I was trying to build a application using beta8, i am getting the below error.System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.DNX.PackageManager' or one of its...
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 ArticleDoes DNX RC1 work on Linux?
Hi,I am a little confused about RC1 on Linux. Namely does it work at all without Mono installed? I followed the docs here:https://docs.asp.net/en/latest/getting-started/installing-on-linux.htmlIt...
View ArticleBower Angular with latest version.
Hi Folks,I am using ASP.net 5 (RC1 Final Version)i want to install angular with latest version. But it's showing old version (1.4.6 version from dropdown list). I believe Angular has 1.4.8 version or...
View ArticleHow to get Browser Info from Request?
In previous versions of ASP .NET, browser information was available by accessing Request.Browser. Is there an equivalent in ASP .NET 5? I want to capture information such as Browser Name and Version...
View ArticleConfused about IISExpress command
Using RC1 in Visual Studio 2015 I can see a IISExpress command in launchSettings.json and I can execute the app using IISExpress in VS, but there is no IISExpress command defined in project.json.How...
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 ArticlePass ViewData to select TagHelper ? How ?
Hi , im trying to put a drop-down list to work on asp.net 5 with no luck, maybe someone can help.Thanks In advanceHere's the code:Controller Code: // GET: WorkingDays/Create public...
View Articlemy database is not getting connected with my project
I am using visual studio 2013after i run the project the database got unconnected
View ArticleAdding references to ASP.NET5 solution: PCL and CL (package)
I'm trying to understand how to implement ASPNET vNext solutions with external dependencies but it's hard to find some up-to-date documentation. AFAIK, I have a couple of options for importing...
View Articleasp.net application end page view count data in not updating
I have asp.net application. I am forcibly end this application and on the time of that i want to update my view page count value in database. If anyone known plz help me. I also written code in...
View ArticleDebugging Information not displaying in output
I have an aspnet 5 project using EF7 and I'm trying to get it to display some debug logs (specifically, the queries generated by EF7). My database layer is in a seperate class library project but when...
View Articleaspnet 5 confusion with version types, dnxcore50, dnx451 etc
Hi,i am getting quite confused with the various different frameworks of aspnet 5. when i develop most of my web applications it will be on IIS, does this mean i should stick to using the .net 4.6.1...
View ArticleCan not install beta tools
Trying to install the tools, Beta7 or the just released Beta8, fails immediately after starting installation with no error code ("ended prematurely because of an error"). I activated verbose MSI...
View Article[Cookie Based authentication] Redirect to LoginPath not work
Hi everybody,I'm actually working with ASP.NET 5 release candidate.I started with the beta 8 and used this code into Startup.cs for my custom authentication :app.UseCookieAuthentication(new...
View Article[Localization] data-val-number always in english
Hi everybody,I'm actually working with ASP.NET 5 release candidate.I have a form with many text or number fields.These fields are required. I know that the number fields are automatically required and...
View ArticleHow to access file within project (packaged class lib) in ASP.NET 5
Hi,I have 2 projects:Poc.App (MVC6) Poc.Lib (ASP.NET 5 class lib package) App references Lib. data.xls is in Lib I have a class DataProvider with method GetData in Lib, how do I load/get path to...
View ArticleWeird Exception 'ArgumentOutOfRangeException'
Hi,I have a working project that contains many controllers and views. It was working fine until I ran it today, some pages didn't work and it throw this exception: ArgumentOutOfRangeException: 'count'...
View ArticleProblem adding refrence from library project
I created an ASP.NET 5 Web Application project. I add an ASP.NET 5 library project to the solution. In the DNVM I have 1.0.0-rc1-update1 clr x64 as the active and the default. I have the same...
View Article