MK Visual C# UG

MK Visual C# UG
Се за Microsoft .NET Framework почнувајќи од WinForms па се до Mobile Device Development
Tagged Content List
  • Blog Post: Да рефлектираме малку

    Рефлексијата е делот од .net framework-от кој ни овозможува да добиеме информации за објектите за време на извршување. Е сега, што тоа значи? Тоа, во основа, значи дека можеме да го прашаме еден објект дали има одреден метод, или одредено својство, да видеме од кој тип е некој објект и слични работи...
  • Blog Post: Anonymous Delegates - The Method With No Name (1/6)

    Иако веќе една година цел .net свет врие заради новостите во 3.5, во овој пост (и неколкуте наредни) ќе обрнам малку внимание на едно релативно ретко користено подобрување воведено во Framework 2.0 – анонимните методи. Во верзија 1.1 доколку сакаме да повикаме методи кои се надвор од тековниот scope...
  • Blog Post: Turn on Versioning on SharePoint document library

    Shared Documents is default document library that is created when you create new Site on SharePoint Server 2007. By default Versioning or Checkout is turned off, but these features are very useful for document management. First one when turned on will create new document version whenever document is...
  • Blog Post: Run a .sql script files in C#

    If you have placed in situation to execute .sql script files from .NET code on SQL Server, you will see that SqlCommand class is not that useful. In other words, you can't execute batch commands that contains 'GO' (batch finalizer command). So you can think of several options, like split...
  • Blog Post: Anonymous Delegates – Find Me If You Can (2/6)

    Најголемата придовка од Framework 2.0 е, без дискусија, воведувањето на генеричките типови, и заедно со нив типизираните листи. Наместо како во 1.1 да се става се и сешто во ArrayList, и да се троши многу време и енергија на boxing и unboxing, во 2.0 можеме лесно да си креираме List<Invoice>, List<Order>...
  • Blog Post: Dummy methods

    I have noticed that in every language, in every environment, there are always many dummy methods. My definition for dummy methods is a method that is there just to support some backward compatibility, or there is a new much better method but the old still exists, methods that have some dummy overloads...
  • Blog Post: Measure memory consumption by .NET object

    There are many profiling tools like dotTrace (My favorite), CLR Profiler, ANTS, NProf and many others. I use dotTrace regularly, but sometimes I need to measure the size of two objects only, and just to see the difference. I don't wish for such a small operation to start debugging with any tool....
  • Blog Post: Simple Class for Performance Test

    My last post was about measuring memory consumption of .Net objects. So I though, why don't continue with simplest performance testing class. We are very often in doubt about particular part of code, could we make it faster. So you make a change and rely on your expectation but not on real proof...
  • Blog Post: CodeSmith, a tool for every developer

    I first had a contact with this tool, few years ago. My first impression was not good at all. In that moment I didn’t find it useful, especially the templates that comes with it. After some time I saw a very good template for procedures that was some 70% of my expectations. I decide to spend and have...
  • Blog Post: 20 Database Checks

    Recently I discovered a small application named SqlCop that integrates many database tests. I tried the tool and it was pretty much ok, although I’ve discovered some application bugs and also some of the queries(tests) were not working in my environment. So I decided to completely rewrite all those...
  • Blog Post: Hello TypeScript

    Не е тајна дека не сум обожавател на JavaScript. "Ако биде биде" пристапот не ми се допаѓаше воопшто, а и неможноста човечки да се дебагира JavaScript на почетокот на 2000-те не помагаше. Всушност, памтам дека, во една од моите први поголеми битки со JavaScript, изгубив цел работен дел ловејќи...
  • Blog Post: Конструкторот кој не беше присутен

    Промените кои го кршат кодот се лоши, и често тешко се убедуваме дека навистина ни се потребни. Сепак, уште полошо е кога ќе направеме некоја невина промена, која не би требало да афектира ништо, и ќе видеме дека двеста тестови паднале заради тоа. Или уште позабавно, кога се ќе е во ред, се додека, неколку...