How to direct print a html page from server
HiI want to print a string variable that contains some Html tags. How can I print content of this variable without javascript or ActiveX methods (like window.print)I use "Interop" office tool. it's OK...
View ArticleTypeScript and asp.net 5
Thanks for answers to previous posts. I like the idea of TypeScript. I am a big fan of strongly typed languages. How does TypeScript fit into the picture when using cshtml pages and such? Is it...
View ArticleSimple request from controller to MVC 6 EF7 database for Roles doesn't work
You would think the simplest of simple tests to get your app started would work right out of the box. (well, maybe one step after first since this is Identity issue).In Startup.cs:public void...
View ArticleSo how are ASP.net devs expected to filter data returned from Controllers...
What am I missing here? Are we expected to return entire table result sets and filter at the client level?
View ArticleQuestion marks instead of hebrew characters
Question marks instead of Hebrew charactersI'm using MVC 6 for Hebrew site. In the model classes I was insert display name for the properties. But when I run the site I get the display name as question...
View ArticleASP.NET 5, DNX & Kestrel: Not hitting breakpoints
Already made a post on StackOverflow that outlines the problem in detail.Can be found here:http://stackoverflow.com/questions/34592261/asp-net-5-dnx-kestrel-not-hitting-breakpointsEvery member of our...
View ArticleRoute to static files outside wwwroot
HelloIn asp.net 5, how can I set route to static files which are outside of wwwroot folder?There seems to be routing mechanism for MVC, but what if I want to route some path static files?Note this...
View Article[Bug Report] ASP.NET add reference to PCL
Hello, I'm experimenting with porting our site to ASP.NET 5. It took me a long time, but I finally figured out the "wrap" function to add references to our existing libraries.However, I ran into some...
View ArticleASP.NET 5 - Reference To VNext Class Library Project
Hi, I am creating a new solution using VNext and I am having trouble with refences to a VNext Class Library I created(That is in the same solution). I am able to add a reference to the project and the...
View ArticleHow do I connect to and query Active Directory form .Net 5?
I have been trying to find a tutorial, asp.net post, or stack overflow post that will point me/tell me how to connect to an Active Directory server and query it. I have found a lot of stuff for the...
View ArticleMVC 6: Problem mixing Route and sessions
I am using asp.net rc1 and am trying to use Route and sessions (Idendity) with a Controller. This combination however results in this error:InvalidOperationException: No authentication handler is...
View Articleremove X-Frame-Options: SAMEORIGIN from response header
When I'm using ASP.Net 5 RC1 and MVC 6 there is always a X-Frame-Options: SAMEORIGIN in the response header . Unfortunately I have to embed this page in SharePoint. How to remove X-Frame-Options:...
View ArticleHow to retrieve Facebook Public_profile data in MVC 6
Hi,I am trying to make a project in ASP.NET 5 MVC 6 and using Facebook External Login. Everything is working fine in the default template.I want to capture Gender information which is available in...
View ArticleASP.Net 5 RC1 Templates Issues in Visual Studio 2015
Hi,I been struggling for the past 4 days trying to use ASP.NET 5 Web Application (MVC 6). The issue I'm having is every time I make a change to a file and try to save it (class, controller, even bower...
View ArticleProblem with publish in IIS 7.5 as application
Hi, I am with a problem, I am doing the publish of my application in IIS 7.5, if I to create a website my publish run well but if I to create a application start page with erro at console 404.In my...
View ArticleError debugging MVC 6 Web API web site
I've been working on this project in VS 2015 all day and it was working fine. However, now I'm getting an error (see screen shot below) when trying to debug in Kestrel. I'm trying to track back to...
View ArticleAccessing/storing arbitrary configuration _files_ outside of wwwroot
Hi.I'm getting started with ASP.Net 5 and plan to migrate a small site as a first evaluation project. Unfortunately I'm stuck right at the beginning:This site uses a third party component, using WCF...
View ArticlePublish Dialog not Showing Up
When I right click on my ASP.NET 5 project and hit the "Publish" option, the Publish Dialog does not come up and nothing seems to happen. I tried this with a completely new project from the ASP.NET 5...
View ArticleAngular 2 constructor not accepting parameters in ASP.NET 5
If I pass parameters to the constructor the app stops working. This seems to be related solely to ASP.NET 5.app.component.tsimport { Component } from 'angular2/core'; import { DataService } from...
View ArticleHow to configure JWT bearer authentication
How do I configure JWT bearer authentication to validate JWTs from Windows Live?
View Article