FTP Mock for .NET framework
Is there a mock implementation for a ftp server that I can use in my UnitTests. I don't want my tests to depend on a real FTP server. For JAVA a ftpmock can be found here. ...
Is there a mock implementation for a ftp server that I can use in my UnitTests. I don't want my tests to depend on a real FTP server. For JAVA a ftpmock can be found here. ...
Hi, I have created a Managed Code AddIn for Access 2003 using Visual Basic 2008 (VS Professional) and it works fine on my development machine. It was created using the Shared Add-in template. I used the set up project to install... and the .Net Framework was installed. However when I try to deploy to another PC I get the following er...
I wish to use possibilities of Matrix component for creation of dynamic columns. But thus I need to insert and static columns (for example, date of operation and a name of the person). How I can realise it? ...
While talking to a colleague about a particular group of apps using up nearly 1.5G memory on startup... he pointed me to a very good link on .NET production debugging The part that has me puzzled is ... For example, if you allocate 1 MB of memory to a single block, the large object heap expands to 1 MB in size. When you free t...
I have a webservice SOAP ( in php), and I have a .Net program that will call that webservice and retrieve results. Is it doable? Any tutorial on this? ...
What memcached for Win32 .net api do you use and recomend? ...
I have coded a solution that uses the 2007 API to traverse the SharePoint object model. Now I need to support SP 2003 as well. What is the best way to do this? Is it possible / recommended to use the 2007 api to get access to a 2003 SharePoint Farm? If I use the 2007 api, do I have to use the deprecated classes to (for instance) refer...
Hi to everyone. I am new in asp.net, My problem is facing logout problem in myappication using master page and window authentication. After i signout from my application if i use browser back button it again goes back to signed page after that i click any control then only it is goes back to the logout stage but i want to dont show t...
I intend to write a small application to scratch a personal itch and probably make the life of some colleagues easier. Here is what I have: 10+ years of experience in C Plenty of experience in programming against the Win16/32 API in C from the Win3.1 to 2000 days. C library written by myself already doing about 75% of what the applicat...
Context: .Net 3.5, C# I'd like to have caching mechanism in my Console application. Instead of re-inventing the wheel, I'd like to use System.Web.Caching.Cache (and that's a final decision, I can't use other caching framework, don't ask why). However, it looks like System.Web.Caching.Cache is supposed to run only in a valid HTTP context....
For purposes of testing compression, I need to be able to create large files, ideally in text, binary, and mixed formats. The content of the files should be neither completely random nor uniform. A binary file with all zeros is no good. A binary file with totally random data is also not good. For text, a file with totally random seq...
Our system looks like this: One or many applications containing one or many in-process COM component(s), that communicate with some hardware via a single COM server. (Hope that makes sense - please ask if it needs clarification) The design decisions that led to this system design have been lost in the mists of time, however I think tha...
I currently have a windows application which is automated and runs daily. the purpose is to access a webservice to download a dataset, inserting into sql 2005 database. Is a windows service application suitable in this situation, would it be more flexible, and would it perform better. ...
I'd like to add parts of the source code to the XML documentation. I could copy & paste source code to some <code> elements, like this: /// <summary> /// Says hello world in a very basic way: /// <code> /// System.Console.WriteLine("Hello World!"); /// System.Console.WriteLine("Press any key to exit."); /// System.Console.ReadKey(...
First, the problem: I have several free projects, and as any software they contains bugs. Some fellow users when encounter bug send me a bug-reports with stack traces. In order to simplify finding fault place, I want to see line numbers in this stack traces. If application shipped without .pdb files, then all line information is lost, so...
Using a FolderBrowserDialog in a USB Drive takes several minutes to offer subfolders (independently of how many subfolders are there). Whereas Windows Explorer does show them in a relatively quick manner. Code I'm using is: if (folderBrowserDialog1.ShowDialog() == DialogResult.OK) { //grab value } I navigate to the USB drive, and c...
Hi, A bunch of dotnet framework components use a DataSource component. I have an object that has a number of settings that can modify the DataSource which it represents. I would like to set this object as the dropdown DataSource of a set of ComboBoxes and DataGridViewComboBoxCells. My problem comes when trying to actually hook the thing...
I'm having trouble understanding how to use ORM generated objects. We're using LLBLGen for mapping our database model to objects. These objects we encapsulate in another layer which represents our business model(I think). Maybe this bit of code will explain this better. public class Book { // The class as used in our application pr...
Is it possible to use WinDBG as a server (instead of Visual Studio Remote Debugger) and connect to it using Visual Studio? ...
I have found various code and libraries for editing Exif. But they are only lossless when the image width and height is multiple of 16. I am looking for a library (or even a way to do it myself) to edit just the Exif portion in a JPEG file (or add Exif data if it doesn't exist yet), leaving the other data unmodified. Isn't that possibl...