Compiling out of the box ASP Core 2.0 app w/angular on Win 7. Errors out .....
I am running..Win 7 ASP Core 2.0 Angular 5 - Project Template Node.js - v10.0.1 basic out of the box app, no mods made.The build goes good. When I go to run the app, I see "Loading..." in the browser...
View ArticleHow to make .AspNet.Session cookie secure in .net framework 1.0.0 RC1 Update2?
I want to learn .Net Core so I am using .Net framework 1.0.0 RC1 Update2 using Visual Studio 2015, for my sample project. In that I have created my own cookie for session management, but by .Net...
View ArticleAsp net core update the page element from the server without reloading the page
How it is possible to approach to the decision of such tasks when on the server the event works and on necessity it is necessary to update value of an element (input) on page without an overload?
View ArticleResolve a Dependency Injection class
I have a base class that I would like use the IOption pattern (https://docs.microsoft.com/en-us/aspnet/core/fundamentals/configuration/options?view=aspnetcore-2.0). However if I inject my option class...
View ArticleHow can I generate programmatically a LINK in RAZOR PAGES
I need a way to generate a link in asp.net RAZOR PAGES (so not MVC), similar to how it's done in mvc with ActionLink.But I CANNOT use the tag helpers because I'm integrating things with a lib that...
View ArticleWere does my asp.net core web app db go
Hello guys, I am not very experienced with Asp.net core. But I am trying to port from .net to asp.net core fully.So I have already started some few projects already. Here comes the problem. When I do...
View ArticleHow to use .net membership tables in .net core MVC
<div>In the past, I used .net membership tables, that includes application, role, UserinIole tables, in asp.net windows authentication (intranet apps) web form and mvc applications.</div>...
View ArticleUsing Kestrel with named pipes?
Hello,I was wondering if anyone knew how to get Kestrel to listen on named pipes such that the only modifications to an already existing program that is using HTTPClient should be changing the...
View ArticleProgress bar on form submit for file uploads
Help me .NET developers, you're my only hope.So I have a variable number of file uploads for a razor page to an IList<IFormFile> in a .NET Core 2.0 controller. Could be 1, could be 100. These...
View ArticleAsp.net 2.1 EF DbQuery
Good morning everyone! Im running up against a wall here... Im using a VIEW from my database and trying to create a view on VS through scaffolding Im defining the view on the applicationDbContext like...
View ArticleRazor Pages Html.EditorFor Default Value
Noob here regarding Razor Pages / MVC. Was trying to figure out how to do "down and dirty" editing on some of my models.Let's say my data model is defined...
View ArticleError when deploying Asp.netcore 2.0 web server
Just completed a simple prototype of an asp.net core application. Now am trying to deploy this codebase to my azure server. I created a Linux server with the exact asp.net core 2.0 version. When I...
View ArticleAAD B2C - .NET Core 1.1 Web API authenticates but the .NET Core 2.0 version...
For the past year I've been hosting a Web API built with ASP.NET Core 1.1. I recently implemented a new version of the Web API using .NET Core 2.0 but its failing authentication. Following are the...
View ArticleWhen I post to asp.net core webapi I see null value in db
Please guys what is the problem I frequently get a null value post from my php wamp to asp.net core webapi server[Route("api/[controller]")] public class AfritalkController : Controller { //Declaring...
View ArticleGet Controller Name From Filter Context
I need to get controller Name On OnActionExecuting method I have already did in Asp.net MVC 5 but i dont know how do i do with Asp.net coreHere is MVC Code var descriptor =...
View ArticlePlugin System — Application Parts and Microsoft failure
I tried "to suggest something" in github, but N. Taylor Mullen does not seem capable to give any answer…So I try here.ContextI have built a plugin system, based on Application Parts, for my Asp.Net...
View ArticleDo I need CORS in my .Net Core Angular app?
I am building an app with the the visual studio built in Angular template using .Net Core API. All the GETs work but the DELETE returns a 404 error after deploying to IIS server. Works fine on...
View Article@inject IHttpContextAccessor HttpContextAccessor Issue on IIS
My .Net Core MVC application runs on VS2017, IIS Express well.Once I publish and deploy it to IIS in my local computer, I get the following error messageThis page isn’t working localhost is currently...
View ArticleChanged Model and now I get a "Build Failed" error
I'm hoping someone can help me. I'm trying to update my models. I've added a new model that is essentially the same as another model but with updated relations. I can not get the migrations to work....
View ArticleWhere are my new razor identity pages in my project?
This is a stupid question, but i can't find my razor identity files when i start a new project of asp.net core 2.1 mvc with identity. What is going on? When I open the Areas folder the Pages then...
View Article