Data dodania Pytanie
2016-01-04 04:01 ASP.NET 5, MVC6, WebAPI -> ModelState.IsValid always returns true »
I've seen a lot of posts about IsValid always being true but none of them have helped me solve this problem. I'm also seeing this problem in ASP.NET ...
(1) odpowiedzi
2016-01-03 22:01 Cannot get basic localization to work with ASP.NET 5 »
I'm trying localize my ASP.NET 5 / MVC 6 (RC1) project. Unfortunately the official documentation is still missing so I based my experiments mainly on ...
(1) odpowiedzi
2016-01-03 16:01 Are there any alternatives to T4 templates and EnvDTE for cross platform asp.net 5 development? »
We currently use T4 templates to generate C# code files based on C# Code (Entity POCO's) and the EDMX (in older applications) Moving to ASP.NET 5 wi...
(2) odpowiedzi
2016-01-03 15:01 ASP.NET MV6, WEB API, ENTITY 7 Controller not executing »
The issue I am having is, when ever I try to run my controller methods from the URL bar e.g. localhost://5000/api/course/GetCourseById/1 it does not e...
(1) odpowiedzi
2016-01-03 06:01 Visual Studio 2015 Publish to Azure Securely »
When I use the publish option out of Visual Studio 2015 to publish a website to Azure, is there a way to ensure that the publish to the host in secure...
(1) odpowiedzi
2016-01-02 10:01 ASP.NET 5 SecretManager Production Values for Azure »
I'm just using the SecretManager in ASP.NET 5 and don't quite understand how I'm meant to set these values for production / staging environments on Az...
(1) odpowiedzi
2016-01-02 00:01 How does 'DNU RESTORE' determine if a dependency is a project reference rather than a package reference? »
I'm getting my knickers in a twist with 'project' versus 'package' (ie Nuget package) references in asp.net 5.0. I'd really like for someone to expla...
(1) odpowiedzi
2016-01-02 00:01 Web Essentials Browser Link not Working in Visual Studio 2015 for only ASP.net 5 applications »
Installed Web Essentials in my new computer but I cannot get Browser Link working with ASP.NET 5 / MVC6 web Applications projects. Works Fine with ASP...
(0) odpowiedzi
2016-01-01 23:01 Developer Exception Page is blank if added to IApplicationBuilder after MVC »
Developer Exception Page (app.UseDeveloperExceptionPage()) is blank if added to IApplicationBuilder after MVC (app.UseMvc()) in Startup.cs Configure m...
(2) odpowiedzi
2016-01-01 14:01 ASP.NET 5 EntityFramework.Core 7.0.0-rc1-final issue - Compiler wants 7.0.0.0 to be referenced which is not found »
I am having the same issue. I have added the following dependencies in my project.json file: "dependencies": { "EntityFramework": "7.0.0-bet...
(1) odpowiedzi
2016-01-01 03:01 Is launchSettings.json used when running ASP.NET 5 apps from the command line on Mac? »
I am developing an ASP.NET 5 Web API app using Visual Studio code on Mac. I manually modified my Properties/launchSettings.json file to set environmen...
(1) odpowiedzi
2015-12-31 23:12 Creating a single solution for multiple projects »
I have 3 separate projects: an ASP.NET 5 MVC project and two ASP.NET 5 Class Library projects i.e. packaged projects. These 3 projects all have their...
(3) odpowiedzi
2015-12-31 14:12 When uploading files to ASP.Net 5 Web API, the collection of IFormFile is empty »
I am trying to upload some files from a console application to an ASP.NET 5 WEB API service. Client (console app): private static HttpResponseMe...
(1) odpowiedzi
2015-12-31 04:12 WebApiCompatShim - how to configure for a REST api with MVC 6 »
I was having a look at this link that shows how to migrate from Web API 2 to MVC 6. I am trying to have Action methods in my controllers with the Htt...
(1) odpowiedzi
2015-12-30 21:12 How can I pass an already instantiated IOC container to an Asp.net 5 application? »
Using .Net core I have created a console application that self hosts an asp.net 5 for endpoint support (to receive notifications, health checks, etc.....
(2) odpowiedzi
2015-12-30 08:12 What is .NET Platform 5.4 in ASP.NET 5 Class Library (Package)? »
I've added a new Class Library (Package) into ASP.NET 5 based solution. I've noticed .NET Platform 5.4 section in it's project.json: "frameworks": { ...
(2) odpowiedzi
2015-12-30 00:12 How to add COM references in ASP.NET mvc 6 and Visual Studio 2015? »
I can do that in Visual Studio 2012 w/o problems, but not in 2015 with MVC 6, pic related: Is it even possible? ...
(1) odpowiedzi
2015-12-29 22:12 Returning a 500 internal server error when code errors in asp.net 5 web api »
Most of my functions involve a check to see if something exists. If it does not I return HttpNotFound(). They also involve a check to see if the param...
(2) odpowiedzi
2015-12-29 09:12 Not able to run dnu restore command from VS Code in Windows 10 »
As I change the project.json, VS Code reminds to execute restore command. When I click on restore, it gives me the below error. 'C:\Users\Akshar' is ...
(0) odpowiedzi
2015-12-29 08:12 Aspnet5 - ServiceStack.Redis - custom session provider »
In earlier versions of .Net, custom session state provider was specified in web.config as <system.web> <sessionState mode="Custom" cu...
(3) odpowiedzi
2015-12-28 20:12 web essentials browser link not working in asp mvc 6 project »
I'm trying to get browser link working so I can use web essentials toolbar in the browser. I'd expect to see some code injected at the bottom of the p...
(1) odpowiedzi
2015-12-28 18:12 How to use sessions outside Controller in ASP.net 5? »
Here is what I have now: public bool TokenCorrect() { var token = HttpContext.Session.GetInt32("Token"); return false; } E...
(3) odpowiedzi
2015-12-28 06:12 How to debug C# code using Visual Studio Code »
I am a newbie to VS Code environment. I am developing a Web API in VS Code which would later be consumed from client application. Following code block...
(1) odpowiedzi
2015-12-27 17:12 Why do we need web.config in ASP .NET 5 wwwroot? »
In ASP .NET 5, Configuration is changing drastically. We no longer have a web.config file. Instead, we can use JSON and other options, depending on ho...
(1) odpowiedzi
2015-12-27 16:12 How do I make an XML file an embedded resource in a vNext (ASP.NET 5) class library? »
I have an MVC 6 (vNext/ASP.NET 5) project, with one class library for the DAL(Data Access Layer). Now I am getting an exception because NHibernate can...
(1) odpowiedzi
2015-12-27 13:12 Active Directory / LDAP on .net5 MVC6 application »
i am trying to find a solution for connecting to LDAP/Active directory in order to check for user authentication on a .Net5 MVC6 web application. i sa...
(1) odpowiedzi
2015-12-26 17:12 In ASP.net 5 MVC 6 , How to use same controller name in different namespaces »
I defined two controller with same controller name in different namespaces. And got an exception. How to uer parameter "dataTokens" to define namespac...
(2) odpowiedzi
2015-12-26 15:12 What is wrong with this project file for a ASP.NET 5 class library? »
Today I quickly developed a new vNext class library, called Sales.Data, to act as the DAL for an MVC 6 UI project. I am somewhat out of my depth with ...
(1) odpowiedzi
2015-12-26 01:12 Is it possible to produce *.pdb with dnu »
I'm trying to debug C# project with VS Code. I like build system with "project.json" file and "dnu" utility. But "dnu build" produce only *.dll files ...
(1) odpowiedzi
2015-12-25 21:12 SqlDependency in MVC 6 on DNX Core »
I need to build app with real-time SQL Server notifications (DB will be updated from external app). I use ASP.NET 5 (MVC 6). I want to use SqlDependen...
(1) odpowiedzi
2015-12-25 20:12 How to Consume/Validate Token Issued by AspNet.Security.OpenIdConnect.Server (RC1)? »
I have followed everything I know from posts regarding how to implement AspNet.Security.OpenIdConnect.Server. Pinpoint, do you hear me? ;) I've mana...
(1) odpowiedzi
2015-12-25 07:12 Sanitize/validate input in ASP.NET 5 and MVC 6 »
Per this page, in ASP.NET 5, you cannot depend on request validation, which I believe was a feature of IIS/ASP.NET. Since ASP.NET 5 can be self-hosted...
(0) odpowiedzi
2015-12-24 19:12 Entity Framework 7 Database First configuration (MVC 6) »
After a long constant struggle, finally figured out how to use EF7 Database first approach using MVC 6. This is how it goes: App.Impl -> project.jso...
(1) odpowiedzi
2015-12-24 17:12 ASP .NET 5 - grunt task to copy files from node modules to wwwroot »
I have a simple ASP .NET 5 empty project - with npm and grunt installed. I've used npm to install a few client-side libraries, at present located in ...
(1) odpowiedzi
2015-12-24 10:12 ASP.NET 5 MVC 6: Route to action by Accept header »
Let's say that there are two ways to post data to the same API endpoint, through a file or through he request body. Is it possible to route to an act...
(1) odpowiedzi