Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live

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 Article


Login 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 Article


Image may be NSFW.
Clik here to view.

ASP.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 Article

Can'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 Article

Illegal 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 Article


Deploy 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 Article

Disadvantage of hosting ASP.NET core in linux

is there any Disadvantage of hosting ASP.NET core in linux Vs IIS on windows ?

View Article

Startup 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 Article


Setup 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 Article


Need 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 Article

Cannot 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 Article

Things .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 Article

Migrating 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 Article


No 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 Article

is 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 Article


Issue 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 Article

Web 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 Article


Using 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 Article

.Net Core and SignalR

Hello EveryoneCan SignalR be used with .net core?Thanks

View Article

What 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
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>