What is the best practice to load an UserControl into an Window with MVVM-Light?
Where create the UserControl instance, in the ViewModel from Window or direct in the window?
Hi,
Is C# 'RSACryptoServiceProvider' cryptographic algorithm is a part of Microsoft- CryptoAPI?
Any advantage we have for normal asymmetric encryption by using CryptoAPI over 'RSACryptoServiceProvider' in .Net?
I cannot understand the difference between them?And which one is best and safty?
Could you please help?
Thanks
Karthik
Hi.
I'm building a location aware mobile application which uses GPS, but i'd like to be able to add cell location too.
The best thing I have found so far is to use Google Gears, which has a location API available, but my application is not web based.
Are there any good public cell id databases that can be accessed from any kind of application?
I have found a few interesting projects out there like OpenCellID, but the database is very poor right now.
What is the best way to turn strings like "red", "green", "yellow", "aliceblue", etc... into the actual System.Drawing.Color value?
I was looking at reflection and something about that didn't seem right.
A potential client is asking me if I can generate a thumbnail image from .eps and .ai files. The standard .NET Image class is not able to do this, so I suppose I need a 3rd party API, but I am not sure what is the best approach. Any ideas?
Roger
Gallery Server Pro
I am using Lucene .NEt to do full-text searching. Till now I have been indexing PDF docs, but now I have a few webpages that I need to index. What's the best/easiest way to index HTML documents to add to my Lucene index? I am using .NET/C#
I'm used to the Java model where you can have one public class per file. Python doesn't have this restriction, and I'm wondering what's the best practice for organising classes.
How do you test the usability of the user interfaces of your applications - be they web or desktop? Do you just throw it all together and then tweak it based on user experience once the application is live? Or do you pass it to a specific usability team for testing prior to release?
We are a small software house, but I am interested in the best practices of how to measure usability.
Any help appreciated.
Hello, I'm trying to Start command promt process with args. Now I want to obtain information about errors if they exist.
someProcess = System.Diagnostics.Process.Start(cmd, someArgs);
Best regards, loviji
How do I block main navigation on (mainpage.xaml) as in all silverlight navigation application and block page's controls ( i.e whichever page is it in ) during async webservice calls? Any best practices?
A quick, fun question - What is the difference between a function declaration in C/C++ and an else-if statement block from a purely parsing standpoint?
void function_name(arguments) {
[statement-block]
}
else if(arguments) {
[statement-block]
}
Looking for the best solution! =)
I am building a .NET application that given a connection string, at run time, needs to be able to retrieve information from the corresponding database schema, such as available columns, datatypes, and whether they are nullable.
What is the best way to accomplish this? Has anyone done anything like this before?
Many thanks, Nigel.
Using jQuery, what's the best way to automatically initialize a plugin on all current and future elements of a specific class?
For example, say I want all <input type="text" class="datepicker" /> elements to have the jQuery UI Datepicker plugin, including any I might create at runtime.
Essentially, I want to do something like this:
$('.datepicker').live('create', function() {
$(this).datepicker();
});
But, of course, there isn't a create event I can use.
HI,
I am using the MVCContrib grid and I would like to display images depending on the values of a column, e.g.:
if the column's value is null display the image "<img src="true.gif">"
otherwise display the image "<img src="false.gif">
Furthermore I would also need (this should be the same approeach I think) to display different actions depending on the column's/rows' value ...
Thanks in advance for your answers!
Best regards
Stefan
How can I add a string as a file on amazon s3.from whaterver I searched , I got to know that we can upload a file to s3.what is the best way to upload data without creating file.?
Hi,
i have added the below xsl:output tag in xslt
<xsl:output method="html" indent="yes" encoding="utf-8" doctype-public="-//W3C//DTD HTML 4.0 Transitional//EN" </xsl:output
as a result i get the below doctype tag in the html output-
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
how can i mention the url in the doctype tag using xsl:output which would output a doctype tag that looks like below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "_http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
Best Regards, Keshav
I am working on some reusable Android code that I would like to distribute to other developers for use within their own applications. The code has some resource dependencies (layouts, xml & png drawables) that I would like to be able to include and reference within a single package (Jar file).
Is this possible, and if so what is the best method to do this?
i'm interested in picking up silverlight as another tool to use when appropriate, and i'm looking to get some suggestions on the best way to get started.
i have visual studio 2010, and can purchase expression blend if necessary (is it out of beta?), though i haven't quite been able to grasp the relationship between them.
are there any good books, tutorials, blogs etc that i should use to familiarize myself with silverlight 4?
Hi,
I use Entity Framework V4 and i want to update Customer who have Visits.
My code :
EntityKey key;
object originalItem;
key = this._modelContainer.CreateEntityKey("Customers", customer);
if (this._modelContainer.TryGetObjectByKey(key, out originalItem))
{
this._modelContainer.ApplyCurrentValues(key.EntitySetName, customer);
}
this._modelContainer.SaveChanges();
It works for Scalar Property only. The customers.Visits collection is not updated.
Best Regards :)
I have a win32 GUI (MFC) application which I need to port to a WIN CE environment. I keep encountering undefined identifiers. What is the best way to deal with this- is there some site where i can get a mapping of some kind between win32 supported features and corresponding wince features (even if they are not supported, the information that they are not is valuable)
My users upload Word 2007 documents to our site and I'd like to load them into a rich edit control of some kind so the users can make modifications/ comment, etc.
What mechanisms are available to:
load the Word document via ASP.NET, and
parse/format/display the document in a rich editing control?
Also, what kinds of rich editing controls are best to use in this circumstance?
I would like to have a mapping which maps two string into one string. For example: map["MainServer","Status"] return "active". What is the best way to do it in Java. Should I use HashMap which include another HashMap as its elements?
I would like to implement a naive bayes classifier for spam filtering from scratch as a learning exercise. What would be the best langauge of the following to try this out in?
Java
Ruby
C++
C
something else
Please give reasons (it would help greatly!)