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

Nuget for ClientAssertionCertificate class in asp.net core to connect to AAD...

Hi ,We are trying to connect to AAD to get access token/jwt token using Certificate instead of using Client Secret in Asp.Net Core application . But Microsoft.IdentityModel.Clients.ActiveDirectory...

View Article


Localization using vs 2017

Greetings,I'm trying to add localization on .Net Core 1.1 using Visual Studio 2017.Every time I try to localize from an injected HtmlLocalizer in my view, it returns the global resource value...

View Article


Error with latest .net Core and VS2015

I have installed the latest .net Core Runtime (1.1.1) and SDK (1.0.1) versions and I am getting the following error:The following error occurred attempting to run the project model server process...

View Article

Modelbinding a List stopped working when moving from .net core 1.0 to .net...

Hi all,When upgrading to 1.1 my modelbinding from a form stopped workingpublic class test {public int id {get;set;}public string name {get;set;}}[HttpGet]public async Task<IActionResult>...

View Article

Re-indexing an array

Hi guys,     I'm working with some data that I'm currently getting back from my models as Dbset.ToList(). The data contains dates, similar to this:{id: 1, date: 2017-03-01, attribute1: red, attribute2:...

View Article


ASPNet.Core - Adding Session

Hi,I'm trying to allow ASPNet Core Application(using EF6) the ability to use Session to store User Information. Following the instructions on this...

View Article

Convert .Net Framework 4.6.1 Console App to .Net Core 1.1

I've tried searching but can't find out how to convert a .Net Framework 4.6.1 console application to .Net Core 1.1.  I am using VS2017.  I was able to create a new .Net Core 1.1 console application and...

View Article

Coded UI Testing VS2017

Hi,I am working on Dotnet core project and recently upgraded to VS2017. I would like to perfom coded ui testing using vs2017.but i did not found any useful links or materials available in any forums....

View Article


New job -- Preparing, looking for a language equivalent

Hiya,I'm switching to cshart/mvc/core for a new job and I was hoping to find a framework equivalent.In the other framework, i have a hugely important feature to me : modular class w/ dependent...

View Article


ASP.NET Core 1.1 on IIS returning empty response body for errors

Is there a way to fix this or have I somehow missed a patch that fixes this?I have an ASP.NET Core 1.1 app that's returning empty response bodies from my exception filter for my 409 error codes. The...

View Article

Using ASP.NET Core MVC app tutorial with Authentication

Hello,I'm using Visual Studio 2017 Community to follow this tutorial: https://docs.microsoft.com/en-us/aspnet/core/tutorials/first-mvc-app/ and I included "Individual User Accounts Authentication" when...

View Article

.Net Core Model Localization How to be the key from Resource File

Hello,I have a question about DataAnnotations Localization for Models in .NET Core 1.1 : I can't understand how to put the Key and Value in the Resource File .For Example I have a Title Annotation in...

View Article

You must add a reference to assembly 'mscorlib, Version=4.0.0.0,...

Hi Devs,first of all I want to to say that I really liked the RC1 release, but didn't expect the MS team to radically change everything in RC2? 👎 Why call it RC while you changed practically everything...

View Article


Receive Invalid Token From Twitter on Azure but locahost is ok

Hi,I'm using Linq2Twitter plugin to link my site to Twitter, users are able to authenticate on localhost but once deployed to Azure, Twitter most likely provides invalid tokens....I have described the...

View Article

How to get the notifications in the css template dashboard page ?

I am making an online  exam software , in  which i need to get a  css dashboard, after the student registers and logs in.After I download the template, I need to  show the notifications, for the same...

View Article


google claim based authentication

Hi guys,I want to know google claim based authentication.(For Example : Full User Name / Country Code / Profile Image URL...and etc..)Does guys have demo code or related blog article?

View Article

User.Identity.IsAuthenticated always false

Hi,I start to test Identity with web api in .net core. I done a method that get the current user, but I obtain a bad request because this User.Identity.IsAuthenticated is always false.I don't undestand...

View Article


Building Navigation Rules

I'm going to use the default ASP.NET Core web application _Layout.cshtml as my example. It creates the following navigation bar:<ul class="nav navbar-nav"><li><a asp-area=""...

View Article

Consume wcf service from asp.net core Credentials not found

I have added a service reference with Visual studio WCF connected service.When i try to consume i receive the exception that the credentials are not found.I´ve been able to consume this service in...

View Article

ArgumentException: The 'ClientId' option must be provided

Attempting to do 3rd party authentication using Facebook.  This used to work under .Net Core 1.0, but I just upgraded to VS2017 and .Net Core 1.1.Complete error is:ArgumentException: The 'ClientId'...

View Article
Browsing all 9386 articles
Browse latest View live


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