-
Za sve zainteresovane, možete preuzeti demo kod sa predavanja sa .NET User Grupe o upotrebi reflectiona. Nalazi se u prilogu ovog posta.
-
On Wednesday, April 23th at 18:30 I'll be doing a technical speech on " Populating entity objects using Reflection " at .NET User Group meeting in Belgrade. We'll talk about reflection and how you can use it to make your code "sing". See you on Wednesday!
-
I finally manage to start another blog - Janko At Warp Speed . It will help yo build functional and good looking web applications. That means the focus will be on users and user experience. I'll cover web user interface design and development using ASP.NET, Ajax, CSS and C#. OF course, there will...
-
Ćao ljudi, htedoh da podelim sa vama dve pesme jednog našeg kolege čijem izvođenju sam imao čast da prisustvujem u Barseloni na Tech Ed-u 2007. Uživajte :):):) Roy Osherove singing 'Every Build You Brake' Roy Osherove's Reflection Song
-
Visual Studio 2008 and Framework 3.5 include an exciting new feature - extension methods . Extension methods enables writing custom methods and "attaching" them to existing classes inside the Framework. In other words, you can extend Framework classes with your own methods. Let's demonstrate...
-
Ko od vas ima decu? Ko od vas želi da mu deca budu geekovi kao vi? Ako želite da naučite klince kako se pravi softver posetite dečji ugao na MSDN-u :-) http://msdn2.microsoft.com/en-us/beginner/bb308754.aspx Na ovom mestu možete besplatno preuzeti elektronske knjige sa primerima za C#, VB, HTML, ASP...
-
If you want to build your own setup project for any kind of application, it is good to know something about installer classes . I will make a little example to show you how to pass the value from custom setup dialogs to installer class. First you add installer class into your project or you can make...
-
" Don't throw exceptions when you don't have to - it is expensive in managed world " - this is something that you will often hear or read. But developers often throw exceptions from middle-tier just to return appropriate message to the client. This article will show you an alternative...
-
Just a short note for those who haven't visited it yet - there is a bunch of sample applications, code snippets, and other resources provided by devlopers on MSDN Code Gallery . Most popular tags are C#, Visual Basic, LINQ and more. Enjoy!
-
Oni koji često upotrebljavajuToString() metodu za formatiranje brojeva, datuma ili valuta, a zaboravljaju na koje sve načine mogu da upotrebljavaju metodu (kao npr. ja), dobro znaju koliko je ovakav podsetnik dobrodošao. Pogledaćemo i kako možete da implementirate sopstveni, kompleksni ToString() metod...
-
Nakon predavanja koje sam održao na WebFfu 2007 bilo je dosta zainteresovanih za primere, tako da sam postavio zip arhivu koja sadrži sve primere i slide deck predavanja. Pozdrav!
-
Here is the full source code for Event Broker Implementation in C#. In zipped file you can find EventBroker with associated tests ans simple sample application that describes how loosely coupled objects can exchange data in any host. EventBroker Internals EventBroker is implemented as Singleton. That...
-
You can find a lot of articles on the internet that explain .Sort() and .Find() methods, but I'll explain the shortest way to do so. Sorting Suppose you have the User object that has Name, Age, Address and Phone properties and that you want to sort the list of Users by Name. The code will look like...
-
Here is the simple implementation of EventBroker service. You can use in your aplications to implement communicationamong loosely connected components like plugins for example. EventBroker follows publisher / subscriber pattern. I am preparing pacakaged building block with associated tests and sample...
-
You can check whether current user belongs to Local Admin Group like this 1. Get reference to current WindowsIdentity WindowsIdentity wi = WindowsIdentity.GetCurrent(); 2. Create WindowsPrincipal using current windows identity WindowsPrincipal wp = new WindowsPrincipal(wi); 3. Check if user is in "BUILTIN...