Where is the mdf file?
As inspired by a recent Asp.NET 5 video on channel9.msdn.com, I used VS2015 and ASP.NET 5 to create a simple site with username/password authentication/authorization. After logging in and out, I could...
View ArticleAdding PCL reference causes "System.Object is not defined" error
Ive done a ton of searching and tried many solutions, but nothing seems to work. I have a PCL with this project.json:{"supports": {"net46.app": {},"uwp.10.0.app": {},"dnxcore50.app": {}...
View ArticleRegarding asp.net 5
just read a write up from this url http://www.mikesdotnetting.com/article/282/asp-net-5-project-basicsasp.net mvc 5 and asp.net 5 is same or different.vs2015 target only asp.net 5 ?
View ArticleReading a queue item from MSMQ removes that item from Queue, can be stop this...
In my web application - As soon as user registers to our system, we put a queue request in MSMQ (we save only "UserID" in MSMQ request) to send verification link to users at later stage and let them...
View Articleasp.net 5 web api throwing error
Server Error in '/' Application.Unexpected application failure. Status code '1'.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack...
View Articlednxcore50 and xml documents/xpath
Previously we used XmlDocument and xpath. With dnxcore50 XmlDocument is not available. We have tried to change to XDocument instead - but the XPathSelectElements isn't available for dnxcore50 (exist...
View ArticleIncluding EntityFramework.Commands to Dependencies causes error
Hello,I have a .NET 5 project with a Web API template. When I add "EntityFramework.Commands": "7.0.0-rc1-final" to dependencies in project.json, I get an error in my startup.cs where I'm trying to use...
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 Articleasp.net 5 - 3 layers project
I wanna create a 3 layers project. Web, BLL, DAL (with EF7).with asp.net 5 im having trouble to create one.any good reference / tutorial / explanation ?
View ArticleSingle sign on in ASP.NET 5 RC1 in multiple applications on same domain
Hello,I am having problems running cookie authentication (without identity) in asp.net 5. I want to have different web applications for each module in my overall app and i want to be able to login in...
View ArticleHow to access connection in data access tier
I have 1 ASP.Net 5 Solution and inside solution there is 2 projects and want to get connection string in data access layer tier.web project contains no config.json file?
View ArticleShow DNX Projects in the options.
See the image at https://www.flickr.com/photos/67801243@N06/25470281682/in/dateposted-public/I have DNX Projects shown in the option. However when I copy the same solution to my laptop, it doesn't...
View ArticleRegarding Hosting issue asp.net5 on local server giving alias name
I am trying to host the asp.net5 site on local server giving alias name test.So my localhost url becomes like thishttp://localhost/test/Home but when I took the root url to redirect to other pages...
View ArticleTyped Factory? How do we achieve in ASP.NET 5.0/Core 1.0
Hi !!We are trying to implement "Adding support for a single connection string with multiple Entity Framework models using Dependency Injection" in ASP.NET 5.0 with EF 6.1.3. We are following article...
View ArticleDNU restore command fails because of System.UnauthorizedAccessException
I have tried the commanddnu restore but it fails with exception System.UnauthorizedAccessException and permission toAccess to the path 'C:\Windows\system32\LogFiles\WMI\RtBackup' is denied.If any one...
View Articleaction link with no white spaces in the route
Im triying for a while build an action link with a desire route:I have this action link: @Html.ActionLink(" Continue Reading", // linkText"PostComplete", // actionName"Posts", // controllerName new {...
View ArticleFirst deployment, I just can see folders...
today I made my first deployment of an web page but when I access my web page I only can see files how can I make it start reading the index controller if I have an html file "default" or "index" it...
View ArticleConsume Web service WSDL
In my website I have been using a web service that ends with WSDL, Before Asp.net Core I would go, Add Service -Reference, -Advanced, -Add Web Reference And paste the Url of the WSDL, And then I would...
View ArticleCould not load file or assembly 'System.Net.Security - When running ASP Core...
Hi there,I'm getting the following error when running my app on Nano server using coreclr x64 rc1-final. "Could not load file or assembly 'System.Net.Security, Version=4.0.0.0, Culture=neutral,...
View ArticleTechniques in picking a pre-release version
Hi there,So I have a project that's currently compiling to rc1-final but would like to try one of the newer nightly builds, what's the best way to go about this?My confusion is with the installed...
View Article