Create ComboBox in ASP.NET Core 2.0 Razor Pages
I am looking to make a ComboBox in my razor pages just like the ComboBox they have in the normal Windows Forms .NET framework in the Ajax Toolbox.Does anyone know how to get that?
View ArticleDisplay all images from database
Hi folks, Here is my code as below:[HttpGet("Download/{id}")] public FileStreamResult ([FromRoute] int id) { var getFile = _context.UploadPoliceReports.FirstOrDefault(m => m.UserVehicleID == id);...
View ArticleASP.NET Core minification
I have written two simple web projects...The first site is up and running using the standard template layouts... this site is fine.The second site, I added some CSS to site.css (background image), I...
View ArticleCore 2 Framework error “FileNotFoundException” referencing libaries
Hello, this question is posted in StackOverflow without response in two days. For this reason I make a duplicate here.I have a Core 2 Framework Project. I use Core 2 for performance and need to use...
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 ArticleLogin With Email ASP.NET Core 2.0 Razor Pages
When I dove into the default code for the windows default razor page project with authentication I found that the username is automatically set as the email. I was able to change that so users can set...
View Articleconfirmation e-mail later
I have an MVC Core project in which the client admin wants to review people who register on the site before they are approved for different roles, etc. When the person registers, they see a page with...
View ArticleHow do I use both Windows and Anonymous authentication in HTTP.SYS server
Having trouble enabling both Anonymous and Windows authentication working when using http.sys as webserver in ASP.NET core 2.0. It works fine when I host in IIS but refuses to work in http.sys server....
View ArticlePagingList Paging Problem
Hello,i use ReflectionIT.Mvc.Paging . If i klick of paging is comming home\Index\page=Numberpage...!But my site name is other.. i need following home\othersite\page=Numberpage.. What is my Error..Here...
View ArticleCookie Authentication Middleware does not extending a session time on each...
I am using cookie authentication middleware for authenticate users in asp.core web application. Following are the lines of code which i am setting in "Startup.cs" class:app.UseCookieAuthentication(new...
View Articlepublishing .net core 1.0 application failed
hi team, i was trying to publish .net core 1.1 application and i am facing weird errors, components which supposed to be published not copying during publishing event not sure what could be causing...
View ArticleWhy am I using async Task and await for DB calls
I'm a noob to .NET CORE and MVC and I'm not understanding why, when accessing the database, My controller methods should use "async Task<IActionResult>..." and when I call the database I'm using...
View ArticleError handling when using areas
I have a asp.net core 2.0 mvc project with two areas and no default layout in the root. The shipped handler calls a static path, UseExceptionHandler("/Home/Error"). How does one associate an area...
View ArticleHow to customize the Microsoft.AspNet.Identity.Owin?
HelloHow to get rid of the DB storage for var result = await SignInManager.PasswordSignInAsync(model.Login, model.Password, model.RememberMe, shouldLockout: false);This is an example from the MSDN...
View ArticleRouting SubDomains to Areas using Core
Hi,How to route subdomains to areas/controller using Core and test a sample subdomain url in Localhost?If I have localhost:8996, having subdomain.localhost:8996/ doesn't...
View Articlecan't migrate to production, asp.net core 2.0
I can't understand what i can do for migration database for my production server. Local machine work properlyI have ASP.NET Core 2.0 application, and in publishing setting i have settings for migration...
View ArticleASP.Net Core Identity - How to call an existing Login stored procedure using...
I have a PHP dashboard system that uses MS SQL Server and Stored Procs,I am revamping ti to ASP.Net MVC Core , so for now I need to know how can I call the existing Login Stored Proc using ASP.Net...
View ArticleError CS0433: the type 'assemblyTrademarkAttribute' exists in both 'mscorlib'...
I'm attempting to create a project in Visual Studio 2015 that uses Angular, mvc. I'm going according to an article on CodeProject.com that others seem to be able to get to...
View ArticleASP.NET Core 1.0.0 RC2 Local Feed
I came across something as Microsoft ASP.NET Core 1.0.0 RC2 Local Feed on a machine.. What exactly is Local Feed?Mariam
View ArticleGeneral Question Pertaining to Programming Documentation
I am no stranger to programming. I am at the point to where I really want to understand how these technologies (c# and asp.net core) work at a technical level. in order to do this, I have turned to...
View Article