Skip to main content

All Questions

0 votes
0 answers
68 views

Newtonsoft exception in Blazor .NET 6 only in Production environment

I need your help for a problem in PRODUCTION environment! I'm building an .NET 6 Blazor WASM-Hosted application, which works fine in localhost. However, in production environment, after publishing the ...
Kostas_Me_'s user avatar
1 vote
1 answer
64 views

Consequences of custom environment names in ASP.NET Core web applications

I've been trying to find what (if any) are the consequences of configuring the ASPNETCORE_ENVIRONMENT variable to anything other than Production in a production deployment. We use the environment ...
Glasody's user avatar
  • 56
0 votes
1 answer
35 views

Journal Posting Working On Test Environment But Getting Unauthorized on Production

We're posting journal reports to Xero on the trial Xero account Everything is working fine locally and on a test environment (When deployed). But when deployed to the production environment, we're ...
Abdulhafiz SDM's user avatar
-1 votes
1 answer
141 views

Do I need to host ASP.NET Core API on a web server to join it on Production environment?

I've got an API that I'm running on a raspberry, I configured the application to listen on a port of this machine which I'm sending HTTP requests on with my PC on the same local network with : http://&...
Erwann Suard's user avatar
0 votes
0 answers
93 views

MS Graph works in debug mode, but not in production

I'm developing a job function to get documents from OneDrive in ASP.NET on my website and it's working in debug normally. But when I put it in production, it doesn't work, it also doesn't return any ...
Luken's user avatar
  • 1
0 votes
0 answers
41 views

how to use different environment file for publishing other than appsetting.json?

I have 3 environment file in .Net project i.e. appsetting.json, appsetting.Development.json & appsetting.UAT.json. I wanted to publish my project with UAT environment rather than appsetting.json ...
Ashwin's user avatar
  • 1
5 votes
1 answer
879 views

Newtonsoft.Json dependency not publishing with the right version on "dotnet publish -o <other folder>"

Problem So basically, i'm in DLL hell. I have a dotnet 5.0 + react project where a C# dependency (I assume Microsoft.AspNetCore.Mvc.NewtonsoftJson) needs another one Newtonsoft.Json. When building and ...
Nathan G-T's user avatar
0 votes
1 answer
108 views

Adding foreign key on database with existing records on Prodution. Migration approaches using Entity Framework

There are often scenarios where for example when you add a new foreign key to a table or drop a foreign key, you can some foreign key constraints errors. To fix this, we need to remove all records ...
avdeveloper's user avatar
2 votes
1 answer
782 views

Live Transfer of data from one provider to another in Entity Framework

I apologise if this has been asked already, I am struggling greatly with the terminology of what I am trying to find out about as it conflicts with functionality in Entity Framework. What I am trying ...
Chris Watts's user avatar
0 votes
1 answer
84 views

Producing Word document with windows form doesn't work for all PCs: System.Runtime.InteropServices.COMException (0x800A16CA)

I developed a windows form app to produce Word reports. At the beginning it worked fine on all the PCs producing well done documents, after I added the following chunk of code it stopped to produce ...
MarcoHHH's user avatar
-1 votes
1 answer
216 views

I get an error when I use weak password on my in ASP.Net Core application

This error does not happen when I test the application in development mode on my PC, but on the remote server it does. The app verify if user exist and the password requirements, but if I use a ...
Alexander Díaz's user avatar
0 votes
0 answers
61 views

I can't access my views of my application through browser

I'm trying to publish and run my application in the production environment . the home page opens fine but I can't access the rest of the views . It always redirects to the error page. I changed the ...
2766's user avatar
  • 145
0 votes
1 answer
48 views

Return "GeneratePasswordResetTokenAsync" only in development mode

I have ResetPassword method that creates a token using GeneratePasswordResetTokenAsync. I test my API using Postman and I want it to return the token when in development mode But in production ...
Mansi's user avatar
  • 323
5 votes
1 answer
3k views

Xamarin Forms +Entity Framework Core + SQLite - Calling migration on production breaks application

First I run the following setup Xamarin Forms - Entity Framework Core 2.2 - SQLite - Android - DEBUG And everything works fine. The .db file is generated properly and queries are executed on the ...
canvee's user avatar
  • 371
0 votes
0 answers
79 views

Get Log From Production Environment

We Have A C# Application That Runs On Many Client Machines And We Have Very Lines Of Code Like This: try{exceptionalMethod();}//all type of exceptions may be throw here (system.exception,our business ...
Alireza Khalesi's user avatar

15 30 50 per page