Here's an interesting problem. I have an ETL script written in c# that I have been running manually on a somewhat regular basis. It is used to update my web app's database.
I want to automate the ETL process AND create an interface for the web app admins to manually start the ETL process.
I could have sql server kick off the ETL proce...
Hello
I'm planning on doing a small page where user uploads a movie, and it should be converted to flashmovie format.
Is there some good api there for .NET that is rather affordable?
I found this one:
http://www.all4dotnet.com/features.aspx
Are there better ones out there?
/M
...
My post title almost states it all: How do I download a file from an FTP server using FTP over SSL using .NET? I have read a bit and there are several 3rd party components to purchase that wrap up this functionality.
The deal is, this is a very specefic need and is not going to grow much, so if downloading a file from an FTP server us...
Suppose I want to create a "custom" FTP server, that is:
It will look like a standard FTP server to the outside world
It will actually serve data from either in-memory streams of data (dynamically generated by code) or from network streams, instead of from the actual file system
Is there an existing FTP server implementation that I ...
This doesn't work.
var result =
from row in grid.Rows
where (string) row.Cells["COLUMN_1"].Value == "Test"
select row.Cells["COLUMN_2"].Value as int?;
But this does.
var result =
from row in grid.Rows.Cast<DataGridViewRow>()
where (string) row.Cells["COLUMN_1"].Value == "Test"
select row.Cells["COLUMN_2"].Va...
It is known generics do not support equality comparing if "class" restriction is not applied to a parameter. How can we workaround it for LINQ To Entities?
query.Where(p => p.CategoryId == categoryId); //doesn't work
The workaround I saw before was to use EqualityComparer.Default.Equal, but it can't be translated to SQL.
I also tried...
Hi all. Does anybody know what type of control is used in WP7 Settings > Theme > Background?
...
Microsoft announced the Visual Studio Async CTP today that introduces the async and await keywords into C#/VB for asynchronous method execution.
First I thought that the compiler translates the keywords into the creation of a thread but according to the white paper and Anders Hejlsberg's PDC presentation (at 31:00) the asynchronous ope...
I recently installed Visual-Web-Developer 10 and open my old asp.net 3.5 solution in it
and converted it to asp.net 4 solution.
every thing is working fine exept one strange problem:
suddenly all chars like: ' or " in header script code become: ' or "
and this making all my javascript do not work and give error in all my solut...
I am on a linux server connecting to a webservice via PHP/Soap.
The problem is that a method is zipping the response via SharpZipLib. So all I get in return is a garbled string.
Does anyone know of a way to unzip this with PHP or JS?
Thanks!
Update:
This is the compressed test data that gets returned:
UEsDBC0AAAAIAI5TWz3XB/zi////...
Does the Common Service Locator, used for "providing an abstraction over IoC containers and service locators", support Mono .NET?
...
I would like to alter the following control (link) to represent the nodes in a 3D space. Are there any libraries which would enable such an alteration or are there any other controls available which do basically that?
...
I have a webpage that needs to selectively show or hide a substantial number of controls. Each control's visibility is determined based on which of 3 conditions are true.
So, for example, given the conditions A, B, and C;
Control1 needs to be visible only when A and B are true and C is false.
Control2 needs to be visible only when B a...
Hi,
I am using Lucene.Net but there are some interesting Java components for Lucene (especially analyzers) that haven't been ported to Lucene.NET yet so maybe IKVM is a better choice. Some research has shown that IKVM seems to work pretty well, but I haven't seen anything regarding Lucene.
Does anybody have experience running Lucene wi...
What would be the fastest way to sort a list that contains a list of objects, based upon another list? An example follows:
Say I have multiple lists of employees. Each individual list has a common property value, say "Department". So I have a list of employees, in one list they all have the department string value of "Sales". In ano...
I am opening a System.Diagnostic.Process to read the stdout from a process and I would like to be able to interrupt it after a certain elapsed time.
try
{
output = outputStream.ReadToEnd();
}
catch (ThreadInterruptedException e)
{
return;
}
That doesn't work since the thread is in the ReadToEnd() method. I attempted to close t...
Using the Tamir.SharpSsh.jsch I am trying to run a custom command in VB2005. so i opened an "Exec" channel and setup the command "dumper df_500.bin". it returns a response that dumper does not exist. so I tried doing the exact same command in a command window in Tunnelier and it works in that environment. the only thing special about thi...
I have a linq union statement that has been giving me some trouble and I can't see where the issue is. Any help would be appreciated.
The error is....
All queries combined using a UNION, INTERSECT or EXCEPT operator must have an equal number of expressions in their target lists.
I know the error means that I am selecting different amo...
I noticed that when you type ctor then hit the tab button, VS will automatically create a constructor skeleton for you.
I also saw in a screencast, the speaker could generate, among other things :Console.WriteLine, and also skeleton methods for all interface methods using keyboard shortcuts.
However, I couldn't get what keyword he wa...
I was doing some web scraping and i was looking for some div elements with particular class names and markup.
This is my objective , i have to extract everything within the div having the class s_specs_box s_box_4
Could someone please provide the regular expression in .NET terms (i.e., which can be straight away passed into Regex's con...