Recently I started to use the Shazam app on my iPhone. For those who don't know, this app identifies songs by listening to a small segment of the song playing. I was amazed by it's accuracy and speed so I decided to do a little digging.
I found a paper written by one of their developers here. In the paper the developer goes into a good ...
I'm writing a plug-in for a program that ultimately outputs some data into a few tables. The users need to be able to analyze this data through various reports. But right now the work flow is to export the tables from my plug-in to another program like excel or access to manipulate the data and generate reports. The users aren't the most...
Hi,
I have the following questions:
Is it possible to compile a C# project using VS.NET, and run it on mono?
Are there any performance benefits associated with approach 1 (vs compiling with the mono compiler)?
What about running the output .exe/.dll on linux? And what are the associated performance characteristics?
Thanks
...
I tried following the steps I describe below in VS 2010, but to no avail:
Create new Windows Forms App. Project
Add new empty ADO EDM to Project
Add new entity Customer with scalar properties FirstName and LastName
Generate db script
Execute db script to create tables in db
Add new Object Data Source based on EDM Model1
Select objec...
I have problem with types in my schema when trying to use xsd:any element
During validation i've got validation exception: The 'MerchantAccount' element is not declared.
The idea is to have ability to specify any properties and values within ExtendedProperties element.
Please advice what am i doing wrong.
Part of the schema
...
<xsd:...
When i hit the assert i was surprise bc i expected my implementation to be correct. It should work but didnt so i wrote the code below and comment out the assert and find. Why does my code work and find does not?
var z = n.Find(v[i], false);
//Debug.Assert(z.Count() == 1);
//n = z[0].Nodes;
...
I want to implement a custom assembly signature mechanism just like Strong Name,
then develop a program to write the signature info in the assembly Metadata,In the assembly of internal read and verification of the signature is correct.
Is possible to do this?
...
I cannot understand the Silverlight documentation on data binding. I seek a very simple example.
Suppose I define a UserControl in a XAML file. The toplevel child of the UserControl is a Grid, of n columns and m rows. Within the Grid is a Rectangle. Like this:
<UserControl....
<Grid ...>
<Rectangle ...>
The rectangle ...
-Edit- I feel like an idiot. I had a feeling something like the answer below would work but didnt see any google results similar to the answers below. So when i saw this complex code i thought it had to be this way.
I searched and found this http://stackoverflow.com/questions/24954/windows-list-and-launch-applications-associated-with-an...
This function returns 1210 but not 385, why ?
public int CalcSquaresSum() {
int sumOfSquares = 0;
List<Func<int>> functions = new List<Func<int>>();
for (int i = 1; i <= 10; i++) {
functions.Add(() => i * i);
}
foreach (var function in functions) {
sumOfSquares += function(); // why function() is al...
I have an Entity Framework model with table Employees. Each employee has a SupervisorId, which points to another record in the same Employees table. The entity model VS inferred from my DB design looked fine, but I could not update or insert records for the table with the self-reference. I have taken to using a view of the Employees t...
Hello everyone,
I am using VSTS2008 + C# + .Net 3.5 to develop a WCF service hosted in IIS 7.0/6.0. I am learning from the following MSDN link,
http://msdn.microsoft.com/en-us/library/ms733766.aspx
My question is, suppose I implement the WCF service inside a class library and compiled into some specific DLL assembly. In the service sv...
I've got a method that uses sp_sproc_columns to find all parameters that need to be send for a stored procedure.
My question is how can I do something similar for inline SQL querys?
I want to get a list of the parameters the query is expecting.
Would the only way achieving this will be to use Regular expression? Any examples?
Exam...
What are the challenges in porting your existing applications to Azure?
Here are few points I'm already aware about.
1) No Support for Session Affinity (Azure is Stateless) - I'm aware that Azure load balancing doesn't support Session Affinity - hence if the existing web application should be changed if it has session affinity.
2) I...
Are there any c#, .net news aggregator sites similar to DelphiFeeds? I have found C# Feeds but nothing else.
...
I'm new to .Net RIA Services, but I think, its essence, is to target RAD what Microsoft usually cares about. But, does not that introduce more coupling between Presentation and Application/Business Logic? How can this new technology help increasing number of developers who are interested in OOAD Best Practices and concepts like SOLID, GR...
Sometimes i generate data that is as little as 1k. I thought it may be good if i could convert it to text so i can paste it to someone on a forum or on MSN. How can i convert data into text then convert back? How many bits can i use? I must have it compatible with pasting on forums and i would like it to be compatible with msn if the str...
Hi,
I want to separate modules of my program to communicate with each other. They could be on the same computer, but possibly on different ones.
I was considering 2 methods:
create a class with all details. Send it of to the communication layer. This one serializes it, sends it, the other side deserializes it back to the class and th...
I'm trying to write a SAMPLER program, where each key has a different sound (a WAV file).
Can someone explain to me or give me a link to an explanation where i can learn how to play the WAV files?
If it matters, I'm working with Microsoft Visual C# and using WinForms.
...
Is it possible to have multiple worker processes on Azure or do I need to create a separate thread for each to get that behavior?
If Azure currently does not support this, are there plans to add this in the future?
...