WPF Thread STA problem

When do use Wpf application  is thread  having  "The calling thread must be STA, because many UI components require this"

Sample Code:

Thread thrTest= new Thread(new ThreadStart(YourFunctionName));
           thrTest.Start();

build this code not error but runtime "The calling thread must be STA, because many UI components require this"

This Code:

Thread thrTest= new Thread(new ThreadStart(YourFunctionName));
           thrTest.SetApartmentState(ApartmentState.STA);
           thrTest.Start();

build and no error :)

continue >>

DataContractJsonSerializer - Tips / Trick

If you development windows or wpf application and need json serializer class is "DataContractJsonSerializer" performance is good

which namespace ?

System.Runtime.Serialization

System.ServiceModel.Web

continue >>

OS Loader lock exception

If see this error "attempting managed execution inside OS Loader lock"  unchecking LoaderLock on Visual Studio Exception

- Visual Studio 2010

  • ctrl + alt + e  "open exception form"
  • Managed Debuggin Assistants
  • Unchecking LoaderLock

- other

Debug -> Exceptions -> Managed Debug Assistants

continue >>

Grooveshark Desktop

I'm not use grooveshark.com  but office and other friends using.Complaints right banner and havent  free desktop version. Two or three hours make new desktop groveshark desktop application free and desktop :)

Grooveshark Desktop - iLyax edition :)

ps:

  • Update new exe 16.06.2010

continue >>

IBlox blog = new IBlox();

Hi everybody, short time ago using asp.net MVC and IBlox new version developed upgrade usability and access web or windows platform some release note ;

  • Search System activated
  • Optinal slug method
  • Tag system activated
  • OOB design change
  • Added paging to all the systems
  • IBlox Core change
  • Using Asp.net MVC 2
  • Sql Server 2005-2008
  • Socials buttons
  • Comment system activated
  • Configuration upgrade
  • Jquery-1.4.1 upgrade

Now IBlox is real CMS system my Blox is IBlox
Ilyax :)

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