Data dodania Pytanie
2015-12-23 15:12 Redirect to login with attribute Authorize using cookies authentication in ASP.NET 5 »
I am testing the [Authorize] attribute, but I can't make a redirect to login page if the user has not logged yet (the Chrome inspector returns a 401)....
(2) odpowiedzi
2015-12-23 07:12 How do I add WebForms back in ASP.NET 5 RC1? »
In AspNet5 rc 1, web application project For loading of html / js pages, by default aspx pages are not supported. app.UseStaticFiles() this al...
(1) odpowiedzi
2015-12-23 01:12 Why are my DNX-based unit tests unable to resolve System dependencies? »
I'm writing up a DNX-based portable class library that I want to be used on all platforms. Here is its project.json: { "title": "flavor.net", ...
(1) odpowiedzi
2015-12-22 17:12 DNU restore failed, https GET timed out »
I'm having some problems with restoring nuget packages using 'dnu restore'. root@esomimx6s:~/TestASP5/src/TestASP5# dnu -v restore Could not determin...
(1) odpowiedzi
2015-12-22 15:12 Extending Identity3 in MVC6 »
using the latest (current) RC1 of asp.net5 I'm looking at creating a simple relationship between a User entity and a WorkLog entity. Is it possible t...
(1) odpowiedzi
2015-12-22 15:12 ASP.NET 5 RC1: System.IO.InvalidDataException: Unexpected end of request content »
I am running an ASP.NET 5 project in an Azure Web App. When calling on an API endpoint with a file (form-data) of about 1.5mb or larger, the followin...
(1) odpowiedzi
2015-12-21 17:12 Explicit transaction in Entity Framework 7 »
Does anybody know how to create an explicit transaction in Entity Framework 7 ??? All the info I find is refered to the version 6 of EF. The documenta...
(1) odpowiedzi
2015-12-21 17:12 Make T4MVC work with ASP.NET 5 »
According to the latest comments in this thread, .tt templates will now after all be supported in ASP.NET 5 starting with Visual Studio Update 1. Wh...
(1) odpowiedzi
2015-12-21 14:12 ASP.NET 5: What is the difference between the "dnx451" and the "aspent50" frameworks? »
In Visual Studio 2015, I've created a new ASP.NET MVC 5 Web API project. When I looked at the project.json that was created I saw this bit of configur...
(1) odpowiedzi
2015-12-20 22:12 Simple Angular SPA in ASP .NET 5 - getting blank page on startup »
I'm attempting to set up a very simple Angular single-page-application in ASP .NET 5. I've begun with an empty project - the only angular dependency ...
(2) odpowiedzi
2015-12-20 18:12 ASP.NET 5 keeping the wwwroot 'clean' »
I'm working on a website and I use ASP.NET 5 CLR (rc1-final x64). I want to have my wwwroot folder 'clean'. I feel everything that should exist in www...
(1) odpowiedzi
2015-12-20 10:12 Logging to database in ASP.NET 5 MVC 6 »
In my old MVC5 project all log informations was saved on a sql server database through log4net. I would like keep logger structure of ASP.NET 5 withou...
(1) odpowiedzi
2015-12-19 13:12 EntityFramework Commands in ASP.Net 5 Class Library Package? »
I am trying to develop my first ASP.Net web application and in my solution I have two projects. A Web Application and Class Library (Package). When I ...
(1) odpowiedzi
2015-12-19 05:12 Azure Web App (MVC 6) continuous deployment fails »
I'm trying to set up continous deployment for an Azure Web App from Bitbucket. The deployment however fails with the following error: Command: depl...
(0) odpowiedzi
2015-12-19 04:12 dnxcore50 framework support in ASP.Net 5 Class Library Package project? »
I am trying to develop my first ASP.Net web application and in my solution I have two projects. A Web Application and Class Library (Package) and noti...
(1) odpowiedzi
2015-12-18 18:12 Deploy ASP.NET RC1 WebApp in IIS 8.5 »
I am trying to deploy an ASP.NET 5 WebApp in a Windows Server 2012 R2 that has IIS 8.5 installed. The source code that I have here is a new ASP.NET W...
(1) odpowiedzi
2015-12-18 10:12 How to exclude files from being published in ASP.NET5? »
I have noticed that when I publish the new ASP.NET project, then it puts all the non-code files in the root folder in packages. E.g. these files end u...
(2) odpowiedzi
2015-12-18 05:12 jwtBearer bearer token with rc-1 update to ASP.Net 5 »
I am having a lot of trouble getting my asp.net 5 web app to be able to accept JWT tokens. I have the code already fully functional using mvc5 and ju...
(2) odpowiedzi
2015-12-16 23:12 Consuming secure ASP Net 5 web api using local account »
I need to consume ASP.NET 5 secure Web API from a web client using local accounts. In the past there was a handler issuing bearer tokens in order to s...
(0) odpowiedzi
2015-12-16 18:12 Recommended way to include javascript and css in a nupkg »
I have a nuget package that provides frontend as well as backend code. Usually I'd use the content folder in my nuget structure to distribute javascr...
(1) odpowiedzi
2015-12-16 17:12 Correct usage of AntiForgery token in ASP.NET 5 in SPA application? »
In previous version of ASP.NET during SPA application the idea of AntiForgey token was following: add @Html.AntiForgeryToken(); on the page add __Re...
(1) odpowiedzi
2015-12-15 14:12 Is it possible to get complex Entity Framework objects from a REST api in .NET without creating ViewModel objects? »
Imagine a set of Entity Framework entities: public class Country { public string CountryCode { get; set; } public string Name { get; set; } ...
(2) odpowiedzi
2015-12-15 13:12 Request matched multiple actions resulting in ambiguity for actions with different parameters in ASP.NET 5 / MVC 6 »
I have a simple route in my project: routes.MapRoute( name: "api", template: "api/{controller}/{action}"); In my controller I have two ...
(1) odpowiedzi
2015-12-15 09:12 How to load a .dll that was build for another .net version in .Net 5? »
In previous versions of ASP.NET (till ver 4.6), we can load a *.dll that was build for another .net version by modifying the web.config as follow: &l...
(0) odpowiedzi
2015-12-14 22:12 How to use ASP.net 5 Identity in Web API application? User authentication »
What authentication packages are commonly used in Web API apps? How front-end should send login and password data to back-end? How should this data be...
(0) odpowiedzi
2015-12-14 20:12 ASP.NET 5 targeting dnx451/dnx46 Performance »
With ASP.NET 5 everything is suppose to be opt in based, the app loads opted libraries only which is amazing. Older ASP.NET functionality was encapsul...
(1) odpowiedzi
2015-12-14 19:12 How to run ASP.NET 5 without opening a page in the browser »
Prior to ASP.NET 5, there used to be an option in Visual Studio 2015 in the project properties | Web page for the start action not to open a page when...
(1) odpowiedzi
2015-12-14 16:12 How to read an appSettings key »
According to http://blog.jsinh.in/asp-net-5-configuration-microsoft-framework-configurationmodel/, things have changed. However, I couldn't understan...
(2) odpowiedzi
2015-12-13 18:12 ASP.NET 5 MVC 6 modular architecture with Areas »
I would like to achieve modular architecture in MVC 6. So I have a MVC application which will be the core project and take care of authorization etc. ...
(0) odpowiedzi
2015-12-13 16:12 is marklogic xcc available for .net dnx core 5.0? »
We are trying to build .net Asp.net 5 application that will target dnxcore50. it will be running on linux platform. Is marklogic xcc for net compat...
(0) odpowiedzi
2015-12-13 06:12 Move JS file generated by typescript (saved during runtime) via gulp »
In the new ASP.NET 5 project, there is a folder called wwwroot that usually contains the js, css and other files accessible by web requests. My types...
(1) odpowiedzi
2015-12-12 21:12 Identity 3 reset password unable to login »
I am using asp.net 5, MVC 6, Identity 3 with EF7 and everything updated to RC1 I have the following in my startup services configuration: se...
(1) odpowiedzi
2015-12-12 10:12 Accessing Route Data from Tag Helper in ASP.NET 5 RC1 »
I have been using the solution below with beta 5, but this no longer works in RC1 : How to access RouteData from an ASP.Net 5 Tag Helper in MVC 6 Vi...
(0) odpowiedzi
2015-12-12 01:12 tfignore file not ignoring files with asp.net 5 project »
While working with ASP.NET 5 projects using TFVC and Visual Studio 2015, we have noticed that adding a .tfignore file that tries to exclude folders an...
(1) odpowiedzi
2015-12-11 18:12 Can't get rid of item in Visual Studio 2015 »
There's an item in our ASP.NET 5 project that no one in our team remembers creating -- see below. Everytime I try to check in my code to Visual Stu...
(1) odpowiedzi