Customised user registration and login screen using asp.net mvc core indentity
HiI want to create a customised user registration using asp.net mvc core identity. In my user table I have the following columnUserName ,Password,EmailAddress. Username and Password is the column...
View ArticleUse cookies authentification withut schema name usage
Hello!How could I do that?Thank you.
View ArticleClaims authentification without Identity in ASP.NET Core 2 questions
Hello all!Is the HttpContext.User.Identity.Name needs encryption when I put it with claim?Where I can safe store password using claims cookie authentification?Can I use HttpCOntext.SignInAsync with...
View ArticleHow send notification to groups using signalR in asp.net core
Hi,Here we are using asp.net core singnalR alpha2 version. how to send notification for groups. If any sample is there for scenario post here the sample link.User online status update based on groups...
View ArticleAsp.net core - website hosting on iis: page was not found (error 404) when...
I have a problem with my asp.net core 2.0 website, i want to host my website on IIS 10 locally, so i published my project to a folder, and enable IIS service then copy my website folder to...
View Articleconvert excel to pdf in asp.net
Please let me know if you know free open source code which converts excel to pdf file. This should work in the server as well since there wont be any office installed.Appreciate hellp.
View Articleindex.html instead of Index.chhtml in Angular project template
Hi folks,In Angular project template, Can i add index.html file (ClientApp->index.html) and remove Index.cshtml (Views -> Home-> Index.cshtml) in visual studio 2017?Thanks in advance
View Articleremoving an item from a list
I've got a page where the user can type into a text box and click the add button, then what is added will show up in the list box to the side. I also need to be able to remove items from that list....
View ArticleSetting environment variables in web.config
I am deploying an ASP.NET Core web application to a local IIS instance. I have a Ci/CD process setup and have been able to deploy successfully. However, on my first deploy, I got an errorAn error...
View ArticleProject Publish Error - CS1555 Program not found
Hello,I've just finished an asp.net core 2.0 application and wanted to publish it to my local file system, but I got two diffferent errors depending on the value of the startup object.So when I go to...
View Article所有按照文档进行的Microsoft.EntityFrameworkCore操作全都报错
所有按照文档进行的Microsoft.EntityFrameworkCore操作全都报如下错误。第一次出现这个问题应该是在尝试对“Sqlite”进行“Add-Migration”的时候PM> Scaffold-DbContext "Server=(localdb)\mssqllocaldb;Database=Blogging;Trusted_Connection=True;"...
View ArticleProblem trying to deploy an ASP.Net Core 2.0 web application to IIS
I have an ASP.Net Core 2.0 mvc web application I am trying to deploy using IIS. I have been working off of this...
View ArticleNull Model fields in Edit Post method
I'm attempting to get an ASP.NET Core 2 application to function in a very specific way. Here is the breakdown...Basic Core 2 application using entity framework. Default Home Controller and Views....
View ArticleAzure Storage download excel .xls open and read into dataset
Getting the error: The type initializer for 'Excel.ExcelReaderFactory' threw an exception.I am trying to download excel .xls (97 - 2003 format) from Azure Storage and open the file and load it into a...
View ArticleASP.NET Core 2 - What is the reason to use claim? Why not simply check...
Hello all!I have read this doc https://docs.microsoft.com/en-us/aspnet/core/security/authorization/claims but don't understand purposes of claim usage. Please, explain it.
View ArticleReflection changes asp.net core 2
Hello,Could anyone explain to me what happened to the Type and TypeInfo classes? I mean, in asp.net core 1.1 I had to use TypeInfo to access information like "IsPrimitive" etc. Now the Type class has...
View ArticleHow to restart asp.net core app programmatically?
Hi,How can I restart an app in asp.net core programmatically?I want to clear cache and cause the application to re-enter the startup.Thank YouHari
View ArticleIE11 replaces the bearer token with Negotiate in ASP.NET Core and Angular app
We have an application in Angular 4 front-end and .NET Core 1.0 Services. WEB API Request is making from Angular using http.request with JWT bearer token. This is comparatively a big application and...
View Article