I am using Facebook Toolkit.
I have appKey and appSecret, but I dont want that visitor need to conenct to facebook. I will use my login/passwork to get my wall posts. This is possible?
Ex 1:
"autor.ComentariosWorkItens.Add(comentarioWorkItem);"
autor.ComentariosWorkItens makes EF4 load all ComentariosWorkItens.
Ex 2:
comentarioWorkItem.Usuario = autor;
Fixup make EF load all ComentariosWorkItens too:
private void FixupUsuario(Usuario previousValue)
{
if (previousValue != null &&…
I dont know if is possible.
I want a class to encapsulate all Cache of my site. I thinking about the best way to do this to avoid conflict with keys.
My first idea is something like this:
public static TResult Cachear<TResult>(this Cache cache, Expression<Func<TResult>> funcao)
{
string…
I am using ListView/DataPager.
For performance reasons I page my results at database, using ROW_NUMBER(SQl2005).
At my C# code just comes one page at time. How can I say to DataPager that I have more rows that really are at my List?
I making a method that generate a unique string key for some parameters. But the same key if call with same values.
I just accept primitive types, string, DateTime, Guid, and Nullable(since I append types together, I can distinguish who is int and who is int?), because I can convert all to string without lost values or…
private static void SaveOrRemove<T>(string key, T value)
{
if (value == null)
{
Console.WriteLine("Remove: " +key);
}
....
}
If I call passing 0 to value: SaveOrRemove("MyKey", 0), the condition (value == null) is false, then CLR dont make a (value == default(T)). What…
CodePlex Daily Summary for Friday, March 05, 2010New Projects.svn Folders Cleanup Tool: dotSVN Cleanup is a tool that allows you to remove the .svn folders .
Just click, browse, say abracadabra ...and the magic is done.
Have fun with...Accord: The Accord framework creates an easy we to integrate any Dependency…