Quantcast
Channel: ASP.NET Core
Browsing all 9386 articles
Browse latest View live
ā†§

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 Article


Proxy 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 Article


Custom 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 Article

MVC 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 Article

Problem 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 Article


View 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 Article

Razor 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 Article

New 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 Article


Inquiry 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 Article


Netcore 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 Article

Partial 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 Article

Port 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 Article

Asp.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 Article


Consuming 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 Article

file.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 Article


ASP.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 Article

ASP.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 Article


How 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 Article

Getting 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 Article

What 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
Browsing all 9386 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>