az functionapp deployment constantly taking a long time
I'm deploying a series of Function apps. They all rely on a common library, and simply expose the triggers. I'm using a Linux machine with an agent to zip deploy each function using the 'az functionapp deployment' command. For some reason, 1 function…
![](https://techprofile.blob.core.windows.net/images/j_hATN6lWUGQqy8lwG64fA.png?8D869F)
Is it possible to remove all .Net framework versions from Windows servers (2012,2016,2019)?
Hi, I would like to know is it possible to remove all .Net framework versions (1.x to 4.x) from Windows servers (2012,2016,2019). We are removing the EOL versions of .Net core (1.x,2.x,3.0) so we would like to know can we remove all the .Net…
C# Is this a correct use of Delegate and Callback method using delegate
This code perfoms well. I'm busy learning delegates in C# and merely want to know whether this is the correct use of Delegate and Callback method using delegate. using System; namespace DelegatesCallbackRealDemoApp { class Program { …
HTTP and HTTPS / The HTTP request was forbidden with client authentication scheme 'Negotiate'. (403) Forbidden.
Hi, Can someone please kindly help young lady with low skills in setting WebServices with a kind detailed advice, please. I am getting an error: System.ServiceModel.Security.MessageSecurityException: 'The HTTP request was forbidden with client…
How to download a file from http and https in C# on windows server 2012 and windows 7
I'm trying to download this file AnyDesk.zip from a URL in windows server 2012 and windows 7 CS Code : using System; using System.Net; namespace ConsoleApp3 { class Program { public static string saveLoc = @"AnyDesk.zip"; …
![](https://techprofile.blob.core.windows.net/images/J_TYKjg7AEiX7AvF9jc5sA.png?8D8651)
[Visual Studio] How to enlarge font size of function info when I hover on it?
Hi, font size of function info is too small, what setting shall I choose to enlarge it? Thanks!
![](https://techprofile.blob.core.windows.net/images/Vf-_XXBv30S5cea1Lqbc_w.png?8D983D)
![](https://techprofile.blob.core.windows.net/images/Vf-_XXBv30S5cea1Lqbc_w.png?8D983D)
.Net Code 3.1 appsettings.json reloadonchange problem
Hello guys, I have this .net core 3.1 console app that is running on a windows task scheduler. The problem is if I change the appsettings.json, it does not make any changes. How can I fix this? Here is my Program.cs: class Program { static…
.net core 3.1 console app serilog sinks email configuration
Hello guys, I would like to read the email configuration from serilog.json but couldn't figure it out. Here is my main: class Program { static async Task Main(string[] args) { Log.Logger = new LoggerConfiguration() …
How to find daemon application version using .Net Core 3.1 with systemd?
Hello Team, I have a C# .NET Core 3.1 daemon application which is running in RedHat Linux. Application output type is console application How to find version of the application when i run the following command testApp.service -v Could you please…
MSBuild to publish Web Application project VS2019
We are trying to build and publish our Web Application Project using MSBuild (using a separate Build machine from our developers!) I got MSBuild working and publishing on a developer machine with Visual Studio 2019 installed. However, when cloning the…
Colour inline previews for ARGB codes
Hi, I'm developing a C# application, that has a very long list of ARGB colour codes. I was wondering if there's a way to get an inline preview of the colour in the Visual Studio IDE. The codebase was inherited from a older project, and is poorly…
How to check application already running in C#.Net core with systemd?
Hello Team, I have a C# .NET Core 3.1 daemon application which is running in RedHat Linux. Application output type is console application I have one new requirement. When i run the sudo systemctl start testapp.service command in second time, the…
How to give input parameters to systemctl start testapp.service using C#.Net Core and systemd?
Hello Team, I have a C# .NET Core 3.1 daemon application which is running in RedHat Linux. Application output type is console application I have one new requirement. When i run the sudo systemctl start testapp.service command, application has to…
Fetching user settings Properties.Settings.Default taking longer ~50sec
I have the code below that reads user settings in a .net 4.5.2 console application and looks like it is taking about 50 sec to return. var someSettings = Properties.Settings.Default.SomeSettings This only happens in one production environment(Windows…
Progrmmatically changing mmc view mode
I have my own admin tool in mmc? In mmc view I have html button when click on the button, I need to change the view between filter mode and detail mode? Using javascript how to achieve this? In C++ we have IResultData::setviewmode function but in…
How to solve Permission Denied issue - Socket Exception in C#.Net core 3.1
Hi Team, I have an C#.Net core 3.1 console application which is running on RedHat Linux. The application is developed with SNMP Protocol Communication. There is no issue, When i run my application at root user in Linux. But when i run my…
![](https://techprofile.blob.core.windows.net/images/CL9sTc5zkUClnOVlnXO8DA.png?8DC921)
Use custom paramter passed in "dotnet build" command
I am trying to find a custom parameter when running "dotnet build" as below : dotnet build -- -customParam Value However I do not know how can I access the "customParam" inside a csproject of the solution ? Like : <Target…
![](https://techprofile.blob.core.windows.net/images/tDz5_Znn_Eeqa2NQtrJJ0w.png?8D89DC)
![](https://techprofile.blob.core.windows.net/images/tDz5_Znn_Eeqa2NQtrJJ0w.png?8D89DC)
What are my options? Calls from C++ C# DLL functions, how?
Hello, I have a C# DLL. I need to call these functions from C++ unmanaged application which is statically bound, no CLI is possible. What are my options? Maybe I don't need a CLI wrapper class. Maybe it is easier. Can you make sample for…
![](https://techprofile.blob.core.windows.net/images/_5e-jRvlCkWlkMrV8cdbJg.png?8D8365)
.NET framework 4.7.2 to .NET core 3.1 Identical code, 10x SLOWER!
Hi, first time posting here, I'm really puzzle. My company have legacy .NET application and we plan to move to .NET core. While testing stuff I found the code slow. I did a minimal benchmark and it was 10x slower on my machine. The same identical…
RestClient receiving no reponse
Hello, I have copied the RestSharp code from POSTMAN into a c# console application, but I am getting no response back (where POSTMAN was working fine). If I copy the URL into a browser, I get a JSON (error) response, so I am not sure what I am…
![](https://techprofile.blob.core.windows.net/images/fLNf3uDbS0GMHi-7QyDWyQ.png?8D8A1A)