Cookie-based authentication
I am building a MVC 6 rc 1 application without external login provider, I have been reading some on-line articles about asp.net identity, just still confused about this Cookie-based authentication, in...
View ArticleIssue with ChangeTracker of EF6 in MVC6
I am trying to overirde SaveChanges() method of DBContext in my MVC6 application with EF6. My requirement is to track the modified property of all entities and log in database.The problem is that...
View ArticleAngular 2 http.put() not calling Controller
I put a breakpoint on the Controller and http.put() in updateItem() isn't calling the Controller.data.service.tsimport { Injectable, Inject } from 'angular2/core'; import { Http, Response, Headers }...
View ArticleHow to generate EDMX file for EF6 in ASP.Net5 (Database first approach)
I am trying to use EF6 is my ASP.Net5 application, I installed the package from Nuget but I am not getting any template to generate the EDMX file. I found couple of article that talks about code first...
View ArticlePrint functionality in .NET 5.
how do we implement print functionality in .NET 5 and what are the dlls for Print functionality.
View ArticleIdentiy Server 4
I have identity server 4 running. Client application is registered and want to communicate with server,it works fine.If we have "UI/{0}/Views/{1}.cshtml" format. but if we use default structure it...
View Articleapp_data: can we still use it
Hello guys.Should we still use the app_data folder for putting mdf dbs that are going to be attached? If so, can we still use the |DataDirectory| placeholder on connection strings or should we build...
View ArticleClassic ASP support in ASP.Net 5/ MVC 6
Hi, I have a large size legacy project in classic asp (the old vb script), that we would like to migrate to .NET, preferably using newer ASP.NET 5 / MVC 6.Is anyone aware of any OWIN middleware that I...
View ArticleCan we use SqlCacheDependency in ASP.Net5
We can achieve Controller/Action level caching with the help of "ResponseCache" attribute, but is there a way to implement "SqlCacheDependency" in Asp.Net5. Please help with some code sample if someone...
View ArticleIs app a reserved word?
Hi, I am publishing asp.net application to docker. By http://www.hanselman.com/blog/PublishingAnASPNET5AppToDockerOnLinuxWithVisualStudio.aspxVERBOSE: Step 1 : ADD . /appI don't understand what does it...
View ArticleUncaught TypeError: angular2_1.Component is not a function: error on running...
I am a newbie to AngularJS + Asp.net5 + Gulp. tried downloading a sample from the internet and executed it. But I am facing 2 issues while exectuing the application.Issue# 1: As I understand, Gulp will...
View ArticleA New Code Structure
I don't want to argue here again that the default folder structure of MVC sucks. As I know for sure it sucks, don't ask me why.I tried to use the following structure, it works well. What do you guys...
View ArticleSample projects for Asp.net5 + AngularJs2 to download
Can any one share me the sample projects with Asp.Net5 + AngularJS2. I wanted to learn this, and I am looking for the sample application with basic login, routing features and basic stuffs. Please...
View Article"userSecretsId" change doesn't work
Hi!I've created a new ASP.NET 5 Web App and changed to the "userSecretId" to my previous project's "userSecretId". The file containes the external authentication secrets for Facebook, Google, Twitter...
View ArticleUrl aliases for Microsoft Azure
Azure has the facility to add a custom domain name to your Azure web app. However it simply reroutes or readdresses the IP address of the custom domain name to the Azure hosted web app and the Url...
View ArticleCan we use SqlCacheDependency in ASP.Net5
We can achieve Controller/Action level caching with the help of "ResponseCache" attribute, but is there a way to implement "SqlCacheDependency" in Asp.Net5. Please help with some code sample if someone...
View Articleswagger with asp.net webapi
hi, I have swagger specification .yaml files and then use http://editor.swagger.io/#/ to generate server "ASPNET5" to generate asp.net code.when i try to import the code to my project. I got tons of...
View ArticleCan an ASP.NET 4.5 host run my ASP.NET 5 web app?
I have created a web app using Visual Studio Code and have it running locally on my Mac using dnx version 1.0.0-rc1-update1 (coreclr). It is now ready to publish. My ISP (1and1) tells me that they do...
View ArticleAccessing RouteData from Middleware
Anyone have any idea how to access the current route from middleware? There is no simple RouteTable like in ASP.NET5 to access.The RouteData is what I need access to. In previous betas I was able to...
View ArticleHow deploy ASP.NET 5 project as virtual directory of an existing IIS web site
It seem ASP.NET 5 projects only can be depoyed as root “/” based on the document here, because we should create each web site for each project. How deploy ASP.NET 5 project like "/WebApp1" of an...
View Article