Another Microsoft Bug - Directory.CreateDirectory() will not work on a...
My app will upload pictures to the server, then display it back to the client, showing the pictures just uploaded. However, The function "Directory.CreateDirectory(virtualDirectory);" will not create a...
View ArticleUsing ASP.NET Core and scaffolding changes the order of fields entered in...
I've created an ASP.Net Core web application and am having a problem with scaffolding changing the order of fields in the model classes. I have several fields in some files and want them presented in...
View ArticleRewite URL web asp.net on hosting linux ??
I have a web asp.net, i want rewite URL web asp.net on hosting linux. help me.
View ArticleBower command line vs ui
Hi,I'm using bower as client package manager for my web app, but i'm having problem.using UI some packages are lacking (es datatables.net), using the command line the same packages are available but...
View ArticleOn calling get method in ASP.NET core MVC6, it call post method also
I am using ASP.Net Core and MVC6 for development.I have an anchor tag with parameter in href where I am editing the form and redirecting it to another page but after get method getting call it calls...
View ArticleNeed help to validate user against Active Directory & LDAP in ASP .NET Core...
Hi,I have started using ASP .NET Core Web Application with .NETCoreApp V1.0.Now my requirement is to take a username and credentials from login screen and validate it against a active directory and...
View ArticleASP.NET Core website is intermittently failing to load its pages
I have created a simple website (about 100 pages, but no databases or other fancy features) in .NET Core 1.0 and upon publishing it on my hosting provider’s server I find that it is having trouble...
View ArticleHow to refresh the access token?
I'm using the OpenId Connect hybrid flow. The middleware gets the access token and refresh token that I store in a database. Later, I use the access token to connect to a back-end web API.When the...
View ArticleMiddleware for Batch HTTP Requests
Hi,We are trying to implement middleware that will support batch requests. My current approach is to create a new http context (a type derived from DefaultHttpContext) for each sub request and execute...
View ArticleUpdate authentication cookie
When I set "SaveTokens = true" in the OpenIdConnectOptions, the access token and refresh token are stored in the authentication cookie. If I get a new access token (using the refresh token), how can I...
View ArticleGenerate PDF on server side
Hi, I want to generete PDF on server side. I`m looking for free solution, the biggest problem is that many libraries(e.g. iTextSharp or PdfSharp(for core) ) doesn`t work with asp.net core preview2, so...
View ArticleWarning on upgrading BundlerMinifier.Core
If you start with a new ASP.NET Core project and update BundlerMinifier.Core via NuGet, you'll get a publish error No executable found matching command "dotnet-bundle". I've had to recreate my...
View ArticleConnection Strings Migration
I will start by saying the biggest problem I have may be that I'm not even sure what to search for any more. Which term should I be using: "ASP.NET Core", "Web API 2", "MVC 6" "Web Application",...
View ArticleConfigureServices not running from Startup.cs
Hi Guys,This is my first time posting, so forgive me if I am not in the correct place.So I'm working on a project, and I am trying to utilize policy based authorization. I need to add these policies to...
View Article'Microsoft.AspNetCore.Identity.EntityFrameworkCore.IdentityUserLogin'...
I'm trying to write a .net core 1 web app. I have separated out the layers and all was working fine until I introducedIdentity into the bag.Down in my repository layer I have a IServiceCollection...
View ArticleASP.NET Core (.NET Framework) and Localization
Why the libraries that I'm using in my ASP.NET Core project (.NET Framework) do not return messages translated as the selected culture?For example:ResourceManager rm = new...
View ArticleDeploying a Asp.Net Core Web Application to IIS
Hello Everyone,I just update to Visual Studio 2015 SP3 and created the asp.net core template.Now I would like to deploy it to my Windows Server 2012 R2 on IIS.All the explanations I find are usually...
View Article.NET Core and WCF - problem
I want to connect my ASP.NET Core application to WCF service. I tried this way:...
View ArticleAspNet Core ServicePointManager.ServerCertificateValidationCallback
Hello,How can I use ServicePointManager.ServerCertificateValidationCallback now in AspNet Core?I am trying bypass my invalid certificate.Thanks
View ArticleAsp.net core : Calling web api returns 500
I am new to asp.net core application.I have an asp.net core application which uses repository pattern. It have an api controller named ApplicationsAPIController.ApplicationsAPIController has a...
View Article