Do 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 ArticleProxy for ASP.NET Core App in Docker
Hi!As I can read by this linkĀ Building Docker Images for .NET Core Applications there is a lot of image types.I can't find somewhere that proxy is included. Even in official examples like this oneĀ .NET...
View ArticleCustom identity storage provider - GetUserIdAsync called twice and gives an...
Hi all,I have to create a custom storage provider to connect to a database web service instead of a direct connection to a database.So far, I can register a user, but if I tried the process the...
View ArticleMVC GDPR without bootstrapper
I am trying to make a Document.cookie attach to a <button> click, making the GDPR dissapear via document.cookie.Ā how do i avoid the limits of "function()"?Cant make Write(cookieString) and...
View ArticleProblem working with SQLServerTypes nuget package with .net core application
Hello,We are usingĀ SQLServerTypes nuget package. When I install to my core application it doesn't copies SQLServerType folder to root of the application with dependent dlls like...
View ArticleView Component with its own biz logic?
Hi guys, in the past we have used partial views to render sales data into its parent view. The partial was passed the id of the user and then it went off and got some data to render. With Asp Core View...
View ArticleRazor Pages - Generic Edit / Create
Following the Microsoft docs for Razor Pages.Ā The following code behind code is the standard forĀ creating a customer record:using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using...
View ArticleNew Identity UI Area Custom Route
Hi,Using dotnet versionĀ 2.1.300-rc1-008673.Project was created using dotnet new mvc --authĀ Individual.Ā I addedĀ <DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools"...
View ArticleInquiry on .NET Core SAP Connector
May I know how do we connect to SAP using .NET Core? I foundĀ SAP .NET Connector version 3 (NCo 3), but it only works on .NET Framework.Thanks.Ā
View ArticleNetcore build - nugget restore/build crash
Hello everyone,Seems like I'm having a strange issue here.When I'm deploying and run the CI, the NuGet is crashing because of the name of the folder which is V.1. The problem is I can't change the...
View ArticlePartial page - Load Div - In Ajax
Hi Team,To Load the partial view in MVC5 i was using Ajax.ActionLink , But in MVC core 2.0, i couldnt load the @Ajax object itself.error in the screen shot below:https://ibb.co/kL1U8THow i can achieve...
View ArticlePort an application from .Net Framework 4.7.2 to .Net Core 2.1
When I copy paste Class Library Projects fromĀ .Net Framework 4.7.2 to .Net Core 2.1 ,the References folder doesn't come in the solution explorer of .Net Core 2.1 project.
View ArticleAsp.Net core 2.0 Web API is failing in Azure with 502.5 error
Hi team, I have created a sample self contained asp.net core web API 2.0 and deployed to azure ,and I am facing 502.5 issue. Please let me know what changes I need to apply to make it work . API is...
View ArticleConsuming WCF CallBack in Asp.net Core.
I am Duplex wcf Service hosted on console. This is tested and Worked fine.Now i want to consume this wcf service in Asp.net Core. I have done this using this link Consume WCF in Asp.net Core.I am able...
View Articlefile.js with function works on debug mode but not on bundle after deploy asp.net
please, I need a help, I'm posting an application that I made apsnet mvc, but the functions created in JS like fileupdate do not work after publishing, when I'm debugging they work correctly. I already...
View ArticleASP.NET Core 2.1 - Can't get role based authentication to work
My Razor Pages app is configured as follows. Startup.cs contains: public void ConfigureServices(IServiceCollection services) { services.Configure<CookiePolicyOptions>(options => { // This...
View ArticleASP.NET Core - Reading Config
It used to be so easy to read a configuration from anywhere and now it is rather a hassle.I would like to do something likepublic static class ConnectionString { // // Database Connection Strings //...
View ArticleHow to Cache data to a ViewData and maintain session of the data....
How to Cache data to a ViewData and maintain session of the data for at least 8 hours? Basically I have a record that needs to become static or cached into a temp table, where the user is not making...
View ArticleGetting up to speed
Hi,I'm a very experienced .Net developer that must get up to speed fairly quickly on ASP.NET Core, Docker and Angular - I've been playing around with the VS project template for v 2.1 of the Core SDK...
View ArticleWhat GPO Features Can Control .NET?
Hi all,I currently am an administrator for a small company network. We are working to get NIST 800-171 compliant and adding people to a Windows domain to help with that. I recently added some finance...
View Article