Getting Windows Authentication without Login Page and not using the old Aspx...
Hi Guys,Since I'm not using the old Aspx framework in my new project, is there a way to authenticate and get the windows credentials without the login page? I'm not sure how is the implementation works...
View ArticleXunit testing of ASP 5 MVC applications
Hi. I have a trouble. I'm trying to test controller via xUnit. I have created test library. Add all references. In test method I'm invoking TestServer instance of Asp.Net 5 application. Test launching...
View ArticleNew asp.net 5 MVC 6 need new hosting ?
Hi i newer try new ASP.NET 5 + MVC 6 it has different requirement for hosting than ASP.NET MVC 4 or MVC 5. ?
View ArticleBase View Page in ASP.NET MVC 6
Hello,On ASP.NET MVC 5 I used a base ViewPage with a few properties:public String PageTitle { get; set; } public String PageDescription { get; set; } public String[] BodyCssClasses { get; set; }Then on...
View ArticleSo where is Beta8?
I was waiting for beta 8 to start a new project (which is supposed to be production ready because Beta8 was promised to be feature complete).It was to be at 5th october, then 12th october. But where is...
View ArticleHow to get nuget package to include non dll in publish output
I'm using the Select.HtmlToPdf which requires Select.Html.dep file to be located in the same directory asSelect.HtmlToPdf.dll, but I'm finding it missing from publish output. I notice the nuget package...
View ArticleAuthorize dynamically roles for Controller API in ASP.NET 5 (1.0.0-beta7)
Hi,I am developing Authorization function for a Web API project in ASP.NET 5.Currently I have configured Roles for Controller statically using [Authorize(Roles = "Admin")] as below:[Authorize(Roles =...
View ArticleCould not load file or assembly 'EntityFramework.SqlServer, Version=6.0.0.0
Hi guys. I have a an problem with my .NET 5.0 Web API project in which I 'm using Entity Framework 6.1.3. in this project, I need to use some .Dll references of some old projects used Entity framework...
View ArticleEmpty wwwroot
Hi All:I started with an empty asp.net 5 project. I have built bootstrap and jQuery into wwwroot. My index.cshtml renders, but the but does not find (404) my css and javascript files. I have published...
View ArticleASPNET_ENV not working
Hi All:I started with an empty asp.net 5 project. I am trying to implement the Development, Staging, and Production environment from the...
View ArticleHow easy will a transition between ASP.Net Web API and ASP.Net 5 be?
We are currently developing a solution using ASP.Net Web API. When ASP.Net 5 roles out, how easy will transitioning to ASP.Net 5 be?
View Articlecreate singleton usercontrol
HiIs it posible to create an .ascx usercontrol so that no matter how many times, its been added to a aspx page, the page will behave as if the usercontrol has only been added once.My problem is that I...
View ArticleC# in frontend via Bridge.NET
I wonder, has anyone is ASP.NET team considered using C# for frontend code? TypeScript is a very good option for writing large client libraries. But C# provides many exciting opportunities:1) C#...
View ArticleAsp.Net 5 in Visual Studio 2015, after trying to set up migrations all...
Hello Everyone,After I unsuccessfully tried to set up migrations all References in my Asp.Net 5 Project are messed up.The type or namespace name 'AspNet' does not exist in the namespace 'Microsoft'...
View Articleasp.net mvc issue while running code
Server Error in '/' Application.Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference....
View ArticleCan not install beta tools
Trying to install the tools, Beta7 or the just released Beta8, fails immediately after starting installation with no error code ("ended prematurely because of an error"). I activated verbose MSI...
View Article[beta8] How to get client IP in controller action?
HttpContext.Features.Get<IHttpConnectionFeature>() returns null;HttpContext.Connection.RemoteIpAddress property also contains null (looks like HttpContext.Connection is not initialized)So how do...
View Article[beta8] Microsoft Account Authentication (http/https)
When using Microsoft Account Authentication the "redirect_uri" in the call to login.live.com gets set to "http://<server>/signin-microsoft". It should use HTTPS. How can I change that?
View ArticleStill no way t reference a library?
I've searched the forum and did not find something about it.I want to create a web application and want to have my DAL in a ClassLibrary project.How can I do that?Do not suggest me to create a NuGet...
View ArticleASP.NET 5 - beta8: no rebuild in background
Before beta8 it was possible to start a Web Application, change some of the code (e. g. the ViewBag.Message of the About-View), save and refresh the browser - voilá, the new Message is displayed...
View Article