.net core and old dotner version compatibility
can we use old library which developed with .net v4.0 in .net core project?if possible then what steps are involved to make it compatible?
View Articlewhat docker does and when to use docker
tell me what docker does and when to use docker. please discuss few scenario where people use docker.
View ArticleCan not find compilation library location for package!
Hello: In my ASP .net Core 1.1 application that's using the .NET framework 4.6.2, I have references to my legacy .NET dlls.. say "XXXX.dll"Now, I upgraded my project to ASP .NET Core 2.0.0. I fixed all...
View ArticleWeb API Post returning error "Operation is not valid due to the current state...
I have a .Net Core Web Site calling a ASP.Net web API to insert data and a document into an Oracle database. On clicking the submit button and invoking the post method, I get the error: Operation is...
View ArticleUnable to find version '2.0.0' of package 'Microsoft.AspNetCore.Identity'
I'm running VS2017 v15.3 on Windows 7 x64. I seem to have a problem installing nuget core 2.0 pkgs. I've tried to install various asp.net core 2.0 pkgs in different applications and I keep getting...
View ArticleHow to bind url with core 2.0 / kestrel / httpsys?
When I used IIS, I could simply go to the Site Bindings dialog, put in a Host Name, then add that host name to my local hosts file / DNS server.In core 2.0, I can use httpsys to add many site...
View ArticleTwo factor cookie options in ASP Core 2.0
Hi,I was able to configure the two factor authentication cookie name / expiry time in ASP .NET Core 1.0 using the following code.services.AddIdentity<ApplicationUser, IdentityRole>(o => { //...
View ArticlePossible for user to intercept access token (for calling Microsoft Graph API)...
Is it possible for a user to intercept an access token (for calling the Microsoft Graph API) when the user causes a .NET Core 2.0 app (ASP.NET Core) to call an application service? The service is...
View ArticleUnable to seed multiple roles in database
Hi all, I'm new to .net core and I trying to develop an web app (using angular template by default) with seeding database function. I successfully create other custom model records with entity...
View ArticleForeground thread
Hello all!Is the webapplication stopped running when all sessions terminated? Is my webapp permanent runs while it has foreground threads? Is it permanent runs when it has infinite loop in foreground...
View ArticleInfinite loop thread in a static field
Hello all!I need to use infinite loop in my webapp. I want to initilize it on every appstart. Could my webapp aborts this thread when one of users requests execution failed? How it interfer on...
View ArticleLayout guidance
I have a section of a site I am about to develop in asp.net core 2.0 that has about 5 options to configure before a form can be submitted. The options are consecutive in that the first one constrains...
View ArticleHow to display exception messages to users
In my web app I show messages to the users by using ViewBag. In the controller method I write a string that I can set a message on:public IActionResult Index(string message = null) {...
View ArticleArea routing issue
I have an asp.net core 2.0 project with two areas defined, the directory hierarchy resembles a default layout for an app and api project which is simply moved under .\Areas\{Api|App}. I am using...
View ArticlePHP files not found in an ASP .NET Core site
I setup php, fastCgi. I addeda phpinfo.php file to the wwwroot. It shows a 404 when i try to open it.
View ArticleExecute PHP as a static file in Core
I have a dot net core 2.0 web application (say App1.com) which also supports static files. That is, in the root directory, outside wwwroot, I have an updater folder, which holds some files (exe and a...
View ArticleCan't stream PDF file (.net core 2.0)
For a few days I have no idea how to solve my problem.I need return to user PDF document dynamically generated based on ID. I use for this NReco.PdfGenerator.LT. When I running a project directly from...
View ArticleWin32. Net.Core and Windows 10
Hi Guys.How are you doing?I was wondering the easiest way to accomplish the following:Web app, run server opens a html5 form on a local lan computer different from the server.The user inputs the...
View ArticleError at publishing self-contained Core 2.0 application
Hi,after creating a new asp.net core 2.0 application with vs 2017 (version 15.3.3) and trying to publish this application with"dotnet publish -o dist -r netcoreapp2.0 -c Release"I get the following...
View ArticleTask.Factory.StarNew and ApplicationDbContext Update
I need to update a table of my ApplicationDbContext within a Task; however, I'm not getting it done. Here is the error message I've got:ex.Message = "Cannot access a disposed object. A common cause of...
View Article