Data dodania Pytanie
2016-01-15 19:01 ASP.NET 5 Project Not Properly Targeting .NET 4.6.1 and cannot be debugged »
I am running ASP.NET5 RC1 UPDATE1. In project.json my framework is "dnx461". When I try to debug (in IIS Express with DNX_IIS_RUNTIME_FRAMEWORK set ...
(1) odpowiedzi
2016-01-15 19:01 Initizlizing a DbContext in a BaseController for MVC6 and EF7? »
Following the ASP.Net 5 Getting Started document I see that because of dependency injection at the top of any controller that will access the database...
(1) odpowiedzi
2016-01-15 13:01 How to prevent browser cache for some files only in ASP.Net 5? »
In the previous version I would do this like in here. But in new version of ASP there is no web.config file, and I believe it should be done in launch...
(1) odpowiedzi
2016-01-14 23:01 Do we not need to have a USING statment for LINQ to Entites in ASP.NET 5/EF7 anymore? »
When I worked with Entity Framework 6 in my ASP.Net 4.6 projects I would do build a LINQ to Entities query like this using (var db = new ForumContext...
(0) odpowiedzi
2016-01-14 22:01 Domain and subdomain with common code in ASP.NET MVC and Azure »
I have a scenario very particular in a project... and I don't know what is the best way to get it work. To set in context, imaging we are programming ...
(1) odpowiedzi
2016-01-14 15:01 Explanation of the projects section in Global.json in ASP.NET 5 »
I noticed that when creating a new ASP.NET 5 project there is a src directory which completely makes sense to me since I have always put all of my sol...
(1) odpowiedzi
2016-01-13 17:01 ASP.NET 5 and MVC 6 Add View/Controller »
I have created a Web Project with VS2015's template for ASP.NET5. I have also disabled the Authentication. Now I was wondering, why I wasn't able to h...
(0) odpowiedzi
2016-01-13 11:01 ASP.NET 5 API - Azure AD B2C »
I'm currently developing an application and almost finished my front-end. So I want to start with the back-end. I used to program in ASP.NET 4, but s...
(0) odpowiedzi
2016-01-13 09:01 Question marks instead of Hebrew characters »
Question marks instead of Hebrew characters I'm using MVC 6 for Hebrew site. In the model classes I was insert display name for the properties. But w...
(0) odpowiedzi
2016-01-12 22:01 ASP.NET 5 Conceptual Questions »
If I remove Kestrel dependency from project.json my web application wont start. Does that mean ASP.NET 5 is dependent on Kestrel? Is it a replacement...
(1) odpowiedzi
2016-01-12 21:01 Angular2 configuration data with transform »
I am creating an Angular2 application that will be using a webApi. What is the best practice for handling configuration data? I would like a way to ...
(0) odpowiedzi
2016-01-12 09:01 MVC6 Dropdownlist of Countries »
I am trying to use MVC6 Tag Helpers to create a dropdownlist of CountryCode and CountryName so that a user can select their country after registering....
(1) odpowiedzi
2016-01-11 20:01 Entity Framework 7 IDENTITY_INSERT »
I need to store a large amount of user data in database in which every user already has an ID as a key. However, these users all out of a larger pool ...
(1) odpowiedzi
2016-01-11 20:01 EF 7: How to load related entities in a One-to-many relationship »
I have the following code. Why are my navigation properties (Requirement in Course, and Courses in Requirement) are null? public class Course : A...
(2) odpowiedzi
2016-01-11 11:01 How do I mock objects in the new coreclr world? »
I have always been using Moq for mocking external dependencies while unit testing. Now that I am trying to make my code completely cross platform, I w...
(2) odpowiedzi
2016-01-10 19:01 Creating a different route to a specific action mvc 6 »
I am working on an asp.net 5 mvc api, and I am currently working on the Accounts Controller. since I saw in many different places that there is a con...
(1) odpowiedzi
2016-01-10 16:01 ASP.NET 5 EF7 code-first migrations is creating columns in alphabetical order by default »
I am experiencing some strange issues with EF7-codefirst migrations and SQL Server on my local machine. When I run the following in command-prompt: ...
(1) odpowiedzi
2016-01-10 10:01 Manage Extended ApplicationUser »
Using ASP.NET 5 Web Application Template and have extended ApplicationUser by adding BusinessName public class ApplicationUser : IdentityUser { ...
(1) odpowiedzi
2016-01-09 22:01 asp.net 5 Session_start at startup file gone? how can I use it? »
How do I use Session_Start, Session_end and Application_BeginRequest can't find it at Startup file. ...
(1) odpowiedzi
2016-01-09 14:01 Authentication thought Azure AD in application hosted on IIS »
Is there possibility to authenticate users through Azure Active Directory when my application written in ASP.NET 5 and MVC 6 is hosted on IIS (not on ...
(1) odpowiedzi
2016-01-09 11:01 Render MVC 6 ViewComponent returns HTML 500 Error »
I have a very simple solution based on MVC 6. ViewComponent -> /ViewComponents/PriorityListViewComponent.cs public class PriorityListViewComponent ...
(1) odpowiedzi
2016-01-08 15:01 ASP.NET 5 Class Libraries (Package) and target frameworks »
In the simple case that I create a new Solution and then add a new ASP.NET 5 web app and a Class Library (Package) to the solution. There are the def...
(1) odpowiedzi
2016-01-08 12:01 'Microsoft.AspNet.Server.Kestrel' does not contain a static 'Main' method suitable for an entry point »
I'm trying to run the latest Asp.Net 5 samples (currently 1.0.0-rc1-update1) from powershell on Windows 10. I have the active and default DNX set as t...
(1) odpowiedzi
2016-01-08 09:01 ASP.Net 5 Console Application Entry Point »
I've been trying to build a console application in ASP.Net 5 and am having some trouble with the entry point. I've looked at the following: Entry poin...
(1) odpowiedzi
2016-01-07 11:01 A lot of node errors after the Visual Studio Online build completed »
I am trying to build ASP.NET project in Visual Studio Online, I managed to get the build itself, but on a prepublish step I have some gulp tasks to ex...
(0) odpowiedzi
2016-01-07 09:01 'SignInScheme' option must be provided »
I'm creating an ASP.NET 5 MVC 6 app that will use Facebook/Google authentication only. I'm also trying to use the cookie middleware without the whole ...
(1) odpowiedzi
2016-01-07 08:01 Securing the whole ASP.NET 5 MVC 6 application »
If I want to secure a particular section in my MVC app, I use [Authorize] for the ActionMethod. I also know that I can use it for the entire controlle...
(2) odpowiedzi
2016-01-06 15:01 Is ViewData the new standard over ViewBag for ASP.Net 5? »
I have noticed that in all the examples and tutorials on ASP.Net 5 I have seen from Microsoft and the default Web Application template in VS 2015 use ...
(1) odpowiedzi
2016-01-06 10:01 What way is better: make own wrapper for DbContext or use DbContext in Controller »
In my project, I use entity framework 7 and asp.net mvc 6 \ asp.net 5. I want to create CRUD for own models How can I do better: Use dbcontext from...
(4) odpowiedzi
2016-01-06 02:01 Select Tag Helper in MVC 6 »
I need some help with the select tag helper in MVC 6. I have a list of employees that I'm trying to bind to a select tag helper. My employees are in ...
(2) odpowiedzi
2016-01-05 20:01 Which web server should be used in production for asp.net 5 on Linux and/or Mac? »
With the release date of ASP.NET 5 fast approaching, I was wondering what the best hosting option is for Linux and Mac environments. Is there any prod...
(1) odpowiedzi
2016-01-05 16:01 No suitable 'Program' type for an entry point »
It seems that a recent update in the nightly RC2 builds has changed the way that programs are started up. Since updating, I'm now presented with an er...
(1) odpowiedzi
2016-01-05 02:01 Can I use many DNX versions? »
I've created a new ASP.NET 5 project and I faced with something that I didn't understand well about how the new ASP.NET works. In my references there...
(1) odpowiedzi
2016-01-04 18:01 Differences between aspnetcidev vs aspnetvnext? »
What are the differences between https://www.myget.org/gallery/aspnetcidev and https://www.myget.org/gallery/aspnetvnext? I see that aspnetcidev says...
(2) odpowiedzi
2016-01-04 14:01 ASP.NET 5, DNX & Kestrel: Not hitting breakpoints »
Breakpoints are not being hit when debugging our DNX projects referenced in a ASP.NET 5 web API project hosted with Kestrel (all in the same solution ...
(0) odpowiedzi