Replace Array.ConvertAll in Aspnet 5 NetCore
My current code is using Array.ConvertAll, which i need to migrate to net core. How to migrate it to work in Net core. Can we use foreach statement with custom conversion code to handle the...
View ArticleLogin with Facebook and Save details in database
I want to know how can i login with Facebook and save credentials details in my database for doing further processing in my website.Currently i am using some code but in with i am only getting my...
View ArticleASP.Net core + Angular 2 Publish to IIS
Hi folks,I am using Asp.Net Core with Web API 2.0 and Angular 2. I tried to publish to IIS. I think HTTP Methods (e.g get, post...) is not working with IIS. I have no idea what's the problem. Here is...
View ArticleCan't access appsettings.json configuring a service
Hello,I try to access my appSettings using DI.I try to configure my custom service in "startup.cs".I seem to have comptaibility problems in project.json. I read some articles about the same problem but...
View ArticleIllegal characters in path error message when publishing website
Hello,When trying to publish a VS 2015 website to a file system on my local machine, I'm getting the following errors:"Error: Illegal characters in path""Error: Parameter name: path"This website does...
View ArticleDeploy Core Web API with-out Web Server?
Hello EveryoneIs there a way to deploy core asp.net web api with-out using any type of web server e.g. IIS,?Thanks
View ArticleDisadvantage of hosting ASP.NET core in linux
is there any Disadvantage of hosting ASP.NET core in linux Vs IIS on windows ?
View ArticleStartup class signature revisited
I didn't see how I could post to the below link so I'm creating a new post with the same question as Danhttps://forums.asp.net/t/1987659.aspx?Startup+class+signatureWhy does neither the tooling (Visual...
View ArticleSetup and Deployment Package - ASP .Net Core Web API
Hello EveryoneWhat is the best way to create setup and deployment package for ASP .Net Core web api to deploy to IIS?Thanks
View ArticleNeed some info about asp.net core
i have few question on asp.net core.1) suppose i have VS2013 so can start project based on asp.net core ?2) which VS ide would require to start asp.net core project ?3) how do i identity a project that...
View ArticleCannot read configuration file : web.config
Trying to run a sample asp.net core web app, I downloaded from github. I get the following error:Error Code 0x80070003Config Error Cannot read configuration fileConfig File \\?\.....\web.configHere...
View ArticleThings .NET core lacks Vs the full .NET ?
i know some c# and want to start making web services /sites and desktop GUI apps like next year . i have this questions itching me:if i don't care about programming cross platform , why should i care...
View ArticleMigrating Web API 2 to ASP.NET CORE API - CORS
Within my Web API 2 solution the CORS Policy is implemented via the CORS policy provider factory (detailed in this article https://msdn.microsoft.com/en-us/magazine/dn532203.aspx) the CORS policy is...
View ArticleNo authentication handler is configured to handle the scheme:...
I receive the above error after I have successfully registered a user and confirmed authentication. The error occurs when I try to callawait _signInManager.SignInAsync(applicationUser, isPersistent);I...
View Articleis ADO.NET still the data framework one uses in .NET CORE?
I'm just getting started in .NET CORE. Working with sql server is a key component of the work I'll be doing. Is ADO.NET still the data framework to use in .NET CORE?ThanksChristian Bahnsen
View ArticleIssue when add TagHelper
Hi i have created a .net core project . I want to add tag helpers for this project.after add a code line@addTagHelper *, Microsoft.AspNet.Mvc.TagHelpers;to the _ViewImports.cshtml , pages are not...
View ArticleWeb API re-uses same DbContext in different requests resulting data corruption
Hello,I filed this issue on Github because I think this is a bug, but also put it here for others to test too.Though DbContext should be created in every request (by default as "Scoped") it seems when...
View ArticleUsing both Cookies and JwtBearer middleware for authorization
I'm using Azure AD with OpenIDConnect and I'd like to use bearer tokens to authorize MVC controller actions that return json and cookies to authorize actions that return views, so I added the...
View ArticleWhat is the quivalent of ValidateInput and AllowHtml in dotnetcore
Hi,I am working with summernote http://summernote.org/ editor , I am posting rich text to a mvc 6 controller post action.however I cannot find any documentation on the dotnetcore docs about...
View Article