GoDaddy CNAME Domain to Azure

Redirect your custom domain for Azure service

continue >>

JavaScriptSerializer is best

tips / trick continue JavaScriptSerializer class

Foo foo = new Foo()
foo.Name = "Anders";
foo.Surname = "Hejlsberg";
JavaScriptSerializer ser = new JavaScriptSerializer();

Console.WriteLine(ser.Serialize(foo));

JavaScriptSerializer namespace is  System.Web.Script.Serialization

continue >>

Idbo - db4o helper

Idbo my new helper class for db4o , i like tiny project and test  any technology sometimes for hours ,sometimes for days especially database operations taking my time, create database, table, column etc. usally using working on xml file but i 'm not happy :) file, ,read ,cast, node ...  i dont have control , such as and first spare time looks db4o documention writing helper class i like it and easy to use

Friend tmpFriend = new Friend();
tmpFriend.Name = "Bill";
tmpFriend.Surname = "Gates";

Idbo.IdboHelper<Friend>.Insert(tmpFriend);

Only write yours entity and insert

List<Friend> friendList = Idbo.IdboHelper<Friend>.SelectAll();

foreach (Friend tmpFriend in friendList)
{
Console.WriteLine(" " + tmpFriend.Name + " " + tmpFriend.Surname);
}

quickly get

What makes Idbo helper?

  • Insert
  • Update
  • Delete
  • Select All
  • Select (only ID selector)

this can be expanded.

I added source code and demo project in GitHub

Nuget - http://nuget.org/List/Packages/Idbo

Idbo -1
Idbo -2

continue >>

Application startup path with wpf

continue to work with WPF, other project types different wpf application startup path to get this code

"AppDomain.CurrentDomain.BaseDirectory"

continue >>

WPF Dispatcher.CheckAccess() bug

Today working on WPF, small but significant problem encountered "Dispatcher.CheckAccess()" , walking thread meeting with such an error frustrating if working on WPF not work intellisense .CheckAccess() function but compile the application does not error :) took my time with more than Dispatcher.CheckAccess() work WPF

continue >>
Page 2 of 7   <<   2 3 4 5 6   >>