.net

  1. OmarBouattour

    Xunit integration testing for Post gives bad request

    Hello I'm learning integration testing and I want to test a 'POST' method from my controller using xunit and WebApplicationFactory But I'm getting this exception System.Net.Http.HttpRequestException : Response status code does not indicate success: 400 (Bad Request). This is my Test: using...
  2. ReCoolCZ

    Question Player and picture boxes updating at different times

    Hello fellow programmers, why is my game updating at different times, even it shouldn´t? Here´s the code: public partial class Form1 : Form { bool goLeft, goRight, jumping, isGameOver; int jumpSpeed; int force; int score = 0; int playerSpeed = 10...
  3. R

    Resolved How to draw maze from .CSV file?

    Keep in mind I'm still relatively new to both Visual Studio, and C#, but I'm stuck on that seemed like a pretty simple project at first. I'm trying to read specific characters from a .CSV file, and turn it into a maze done with simple rectangles. I've gotten completely stuck, and after a few...
  4. sddd1

    How save item in listbox?

    I want to save the item in listbox in c# Could you share the code ? Thanks in Advance
  5. sddd1

    How Protect .NET code from reverse engineering

    As per my understanding, we can reverse engineer any compiled dll whose source language is a .net language like c#,vb.net. There are many tools availablein the market for obfuscation and prevent reverse engineering of the dll.
  6. sddd1

    Select Image File in ListView and save exe

    I need Image Selection in ListView and Save in Setting in c#. 1:- Add Images in Listview 2:- Save All IMage in a .exe 3:- Run The exe another pc it will run
  7. sddd1

    Refresh method is not working in Imagelistview

    Why is not working Refresh method in ImageListView, Can you give me altenative solution imageListView1.Refresh();
  8. sddd1

    How to create Cut,Copy,Paste in contextmenu of lisview in Winform c#

    I want to create dual context menu in c# , And Click the item I want to add Cut, Copy, Paste private void listView1_MouseDown(object sender, MouseEventArgs e) { bool match = false; if (e.Button == System.Windows.Forms.MouseButtons.Right) { foreach (ListViewItem item in...
  9. sddd1

    Listbox5 can't find another Form

    I have a Form1 inside listbox5, Form2 Can't Find 'listBox5' The name 'listBox5' does not exist in the current context
  10. sddd1

    Random File Repeat

    My Question is Random File will not repeat ,When I Click Rendom File will show "1:. Again I am Click Rendom File will show "2" But In Case show 1,1 Random rand = new Random(); string[] filess = Directory.GetFiles("Select Directory"); string randomFile =...
  11. sddd1

    In ImageListView How to Mark "USED"

    When Double Click the image , "Used Mark" in Imagelist View and Used Marked Save in setting ... imageListView3.Items.Add(file.FullName);
  12. sddd1

    Resolved I want to save full path of listbox in C#

    First Of All I add Directory in Listbox, Like A Directory, B Directory. When User Click the item of ListBox ,Get the full path of Items in C# Someone modify the code ! Thanks in Advance ! BindingSource listboxsource = null; public Form1() { InitializeComponent(); listboxsource = new...
  13. K

    Library for drawing charts in C#

    I am looking for a library that will allow me to create a line graph on which I can draw my own elements. At the end of the method, the plot should be returned as a photo.
  14. edthehead

    Async/Await in .NET

    We are trying to build a simple API to retrieve some documents from a Cosmos container and send it back as a JSON response. We initially write the code in Python. This worked fine for a single requests(avg response time 500ms) but when we did a load test(300 concurrency) we found that the...
  15. miyasinarafat

    Managed Web Server Tool For .NET Core

    I am looking for server management tool for .Net Web applications like .Net-Core, .Net 5 etc. PHP Laravel has a similar tool call Laravel Forge. They provide managed web server for PHP, Laravel.
  16. cpeye1987

    Sr Developer- C#, .NET, SQL, Java, Angular JS - REMOTE- 115K

    Sr Developer- C#, .NET, SQL, HTML, Java, Angular - REMOTE- 115K The Position: Developing software solutions by analyzing business needs by users and data. Primary responsibility is to develop tightly aligned business strategy and capabilities as it relates to architecting and building...
  17. R

    How to apply template on excel file exported using oledb ?

    Hi, I have exported data into excel file using oledb since I cannot use interop or any third party library. Here is my code ''' <summary> ''' Export datagridview's data contained in an data table to excel file ''' </summary> ''' <param...
  18. dv2020

    Winform Front end SQL/Query Builder for end user options

    Hi All, I'm currently exploring options to provide a front end user to query a database tables by selection which items/filters they want. I came across this product EasyQuery which looks promising. My initial though was simply to use a data grid/or traditional report and then have the user...
  19. Sriram

    Can we auto generate nunit test cases in Visual studio 2013

    I have to write nunit test cases for the huge application made of aspx.cs files tat too in Visual studio 2013 professional , can I auto generate the test cases if possible with this version or any other better ideas to write test cases, as it contains more number of dependencies & complexities
  20. R

    Condition between ArrayChar and int number how to do?

    Hi; I am not getting the condition to interpret char array with integer : string AjusteICMSDocumentoId = "102345"; char[] array = entidade.AjusteICMSDocumentoId.ToCharArray(); if (array[1] == 0) { if (viewModel.TipoImposto !=...
Back
Top Bottom