How to generate ECSDA key pair using SecP256r1 curve in C#
To generate an ECDSA key pair using the SecP256r1 (also known as P-256 or prime256v1) curve in C#, you can use the Bouncy Castle library. Here is an example:
I'm working on a web scraping project, and I'm just trying to retrieve the full HTML of Best Buy products, but I'm not receiving any HTML response. Here's the code.
var url = var httpClient = new HttpClient(); var html =...
I have a C# console application that must be run every minute to check data, therefore I use a task scheduler. However, the time available to repeat the task is limited in the Windows 11 task scheduler.
I am working on a small scale game engine and have reached a point where I would like to destroy a Game Object (destroy meaning all references to an object become null). This is important because even if I remove the object from the list of objects...
so I've been working on something for the past few days and currently at the point of implementing the server, but having a little problem finding the correct avenue for getting access to accounts
//example A public class Product { public string Name { get; set; } = Limited Edition Item } //example B public class Product { public string Name { get; set; } => Limited Edition Item } //example C...
I should consume a rate limited rest service on cloud that allows 120 requests per minute.
I am using dotnet core background application that runs and consume this service on kubernetes multiple pods. So I use a kafka queue to collect requests to...
I have an IEnumerable of an item class defined like this:
class Checkup { public Guid SubjectGuid { get; set; } public Guid DoctorGuid { get; set; } public DateTime Date {get; set;} } For example I have the following data set:
I have very weird issue below is a service which called by controller, it's returning different result without any change on passed parameter or on the data set
so for example in first run it shows me the found result as 15 and not found is 25,...
class Team { public int Id { get; set; } public string Name { get; set; } public List Members { get; set; } } class Member { public int TeamId { get; set; } public int UserId { get; set; } } The business rule...
I the code below I have a TSql query which has Or condition in its join. If I want to convert it to Linq in C# how can I rewrite it.
SELECT P.Id AS ProductId FROM generalinv.InventoryTypeProductTypeMapping AS ITM INNER JOIN master.Product AS P ON...
I am creating a new .NET 6.0 application in Visual Studio 2022. When I run the default HomeController, the application is throwing a runtime exception saying index.cshtml was not found. But in the Views folder, I am able to see that file....
As you all probably know, our step-by-step Debugging efforts can take a sizeable amount of time. It often serves us to take that time while our App is running and 'waiting' for us to eventually hit the 'Continue' button.
I've deployed my c#, asp.net 5, mvc 6 app to a windows 2008 server. I've fired up dnx web and it is listening to port 5000 and works fine when accessing from local computer.
How do I get it to listen to non-localhost requests?
I have an MVC application -->MyApp, I have a controller --> mycont. When I enter my site as /MyApp/Mycont/index, it goes to the index page as expected. When I type my site as /MyApp/Mycont, I get a 403 access denied message.
Here is my route...
I am working on a small scale game engine and have reached a point where I would like to destroy a Game Object (destroy meaning all references to an object become null). This is important because even if I remove the object from the list of objects...
I am receiving and object from a JS calendar via JSInterop in Blazor. I have a C# interface and class that represents the JS object. A few properties are not being deserialized. In Particular the End Property.
public class MyFolderRefresher { public async Task OnRename(RenamedEventArgs e) { // do something } } public class MyDisposableListOfFileSystemWatchers : IDisposable { private List _mWatchers; private MyFolderRefresher...
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения