|
Πρόσφατες Δημοσιεύσεις
-
Έχω κάνει κατά καιρούς πολλά λάθη στην καριέρα μου. Εκ των υστέρων, βέβαια, χτυπάω το κεφάλι μου και αναρωτιέμαι πώς δεν μπόρεσα να δω εγκαίρως τι με περίμενε. Αλλά, όπως λένε οι σοφότεροι εξ ημών, κάνε με προφήτη, να σε κάνω πλούσιο! Πάντως τα λάθη που μου προκάλεσαν τη μεγαλύτερη ενόχληση δεν είναι εκείνα που θα μπορούσα ν’ αποφύγω μόνο αν είχα το χάρισμα της προφητείας. Δυστυχώς, μια μεγάλη μερίδα λαθών οφειλόταν στη δική μου ανικανότητα ν’ αντιληφθώ την πραγματικότητα, είτε λόγω νεανικής απειρίας, είτε λόγω ιδεαλιστικής ιδεοληψίας, είτε λόγω καθαρής βλακείας… Για παράδειγμα, κάποτε πίστευα ότι όλοι οι άνθρωποι που δουλεύουν στην ίδια εταιρεία βρίσκονται και στο ίδιο στρατόπεδο. Επηρεασμένος ίσως από το Σοφοκλή, έβλεπα την εταιρεία σαν ένα καράβι, που αν βουλιάξει, πάνε στον πάτο όλοι οι επιβαίνοντες, ανεξαιρέτως των ευθυνών που έχουν για το ναυάγιο και ανεξαιρέτως των προσπαθειών που έκαναν για να το αποφύγουν. Βέβαια ο Σοφοκλής δε μιλούσε για εταιρείες, αλλά για πόλεις-κράτη, όμως δε νομίζω να είχε αντίρρηση...
|
-
As I already mentioned earlier , Facebook has recently removed the friends status RSS feed from its pages causing myFacebook gadget users a problem as they couldn’t easily configure myFacebook sidebar gadget to display friend statuses. To resolve this issue I changed the way myFacebook gadget retrieved those statuses by removing the RSS feed and instead using the brand new Facebook Διαβάστε περισσότερα »...
|
-
Yes I know that is not the best practice. When using Xaf or Xpo you should first design your objects and let the framework create the database schema based on objects metadata (attributes). But there are many cases that the database is already design and you can not change it. What about those projects? Are you going to say to your customer that you do not want that project? Are you going to sit down and write all classes by hand? The best solution on this is to use some Template engine like Codesmith to create the initial implementation for you and then you can change them to meet your needs. You can also find a freeware version of Codesmith here Devexpress also has a persistent class generation Util which ca be invoked from the add new item form Διαβάστε περισσότερα »...
|
-
Since I am the first user of TypeMock !!!, Gil Zilberfeld which is a technology Evangelist at TypeMock offer me a TypeMock MVP title. Also that title gaves me access to see all future TypeMock exciting stuff before go official. Do not know if I can blog about them though. Thank you Gil and TypeMock it is my honor to use such a great tool!!! Διαβάστε περισσότερα »...
|
-
One of the new cool features introduced in C# 4.0 is optional parameters. They’ve been around for a long time in other languages like C++ but also VB.NET (you can’t rub it in our faces anymore, can you?) and it was about time we get this feature implemented in C# too. Using optional parameters we can avoid a lot of overloading in our methods just to make sure we predicted all possible combinations and all default values in each overload. So, how can I use it? It’s pretty straightforward. You just add an equal sign “=” next to your parameter and add the default value. public void SaySomething( bool sayHello = false , bool sayGoodbye = false ) { if (sayHello) Console.WriteLine(“Hello!”); if (sayGoodbye) Console.WriteLine(“Goodbye!”); } Now what if I want to explicitly set the value for sayGoodbye to true and leave the rest as is? You can notice sayGoodbye is the SECOND parameter in my method so if I want to pass a value to it, I have to pass a value to sayHello too. This is were named parameters come to rescue....
|
-
In this post I will show you a step by step example on how to build an ASP.NET application with C# and Entity Framework. First let's try to define what EF is and why it is going to help us to create easily data-centric applications.Entity Framework is an object-relational mapping (ORM) framework for the .NET Framework.EF addresses the problem of Object-relational impedance mismatch. Διαβάστε περισσότερα »...
|
-
In this post I will talk about Viewstate management in ASP.NET 4.0. Διαβάστε περισσότερα »...
|
-
In this post I will try with a step by step example to highlight the new features of VB 10.0. I will also highlight some of the new enhancements on VS 2010 IDE. Διαβάστε περισσότερα »...
|
-
Information on upcoming changes SharePoint versions, whether they are full versions or service packs, is a matter of life and death for us developers and administrators that don't want to face mildly disconcerting surprises. Yet finding information on upcoming versions of SharePoint has been somewhat challenging historically - to say the least. With SharePoint 2010 coming sometime late this year or early next year, a lot of people have started making informed guesses on changes and new features. Some of the guesses are based on announcements and conversations in conferences, some are based on slips by Microsoft employees, some on the semi-official warnings of SharePoint SP2's upgrade checker. Here are some of my guesses, including their sources. Business Data Catalog will use a provider model to communicate with other systems. The current version requires a complicated XML configuration file with to communicate with other systems. The complexity of this file and lack of tooling means that it is often easier to...
|
-
Το TortoiseSVN είναι ένας από τους καλύτερους version control clients για το Subversion. Εγκαθίσταται σαν shelll extension στον Explorer και μπορείτε να δημιουργήσετε βάσεις κώδικα (repositories) είτε τοπικά σε έναν φάκελο -αν δουλεύετε μόνος- ή σε έναν web server. Εκτός από checkout/checkin υποστηρίζει προχωρημένες λειτουργίες branch/merge κλπ. Μπορείτε να το κατεβάσετε δωρεάν από εδώ. Ta open source sites CodePlex και SourceForge σας παρέχουν δωρεάν Subversion repositories για τα Projects που δημιουργείτε. Έτσι μπορείτε να κρατάτε πολλαπλές versions και να δουλεύετε μαζί με άλλους από μακρυά σε open source projects. Επειδή η χρήση του TortoiseSVN δεν είναι προφανής (ευτυχώς έχει καλό manual αν έχει κανείς υπομονή να το διαβάσει), θα περιγράψω την διαδικασία ανεβάσματος ενός project στο CodePlex (τα ίδια ισχύουν και στο sourceforge). Δημιουργήστε στο σκληρό σας δίσκο έναν φάκελο που θα περιέχει τα αρχεία που θα ανεβάζετε στο CodePlex (κάτι σαν το local workspace του TFS) έστω π.χ. X:\SVN\CheckOuts-CodePlex....
|
-
Related posts: eXpand RWF = (Real world framework)--->First thoughts Refactoring namespaces I am going to start refactoring today and I am going to use Resharper and its rename NameSpace feature to accompish it. I though it will be easy, but nothing is easy at this life. What happen ? At my pc Core 2 Quad with 8G memory I tried to refactor directly the word XAFPoint which is the root namespace in all assemplies. Yes you can do that!!! if you have for example a namespace like: RootNameSpace.SubNameSpace1.SubSubNameSpace at assembly 1 RootNameSpace.SubNameSpace2.SubSubNameSpace at assembly 2 and you try to rename using ReSharper the RootNamepace to RenamedNameSpace you will end up with: RenamedNameSpace.SubNameSpace1.SubSubNameSpace at assembly 1 RenamedNameSpace.SubNameSpace2.SubSubNameSpace Διαβάστε περισσότερα »...
|
-
Πραγματικά ενδιαφέρον δείτε το http://edge.technet.com/Media/Dual-Boot-from-VHD-with-Windows-7-and-Windows-Sever-2008-R2/...
|
-
Another idea-concept that is tightly linked with LINQ is LAMBDA expressions. Lambda expressions are shorthand for anonymous delegates . Basically delegates allow you to create a variable that “points” to a method. We can use this variable at any time to invoke the method. Διαβάστε περισσότερα »...
|
-
Στις 24 Ιουνίου διοργανώθηκε το 31ο dotNETZone.gr Community Event με θέμα «NHibernate 101». Τα slides της παρουσίασης και το source code των demos (C#) μπορούν να γίνουν download από την επιλογή Αρχειοθήκες (Κατάλογος: Παρουσιάσεις)....
|
-
If you do not know about TypeMock see some cool video tutorials here . TDD is an software design approach that states: In order to design your software from the correct angle and don’t get lost in the info you have first write down a test that describes a behavior and then by using tools like ReSharper to actually create the “at most as code is required to make that test past” There is an excellent video from Gary and Oliver on how to TDD with Xaf . These guys know a lot but you have to analyze each word they say to get the real power out of it. Nice work guys!! and we love to see more videos like that but going deeper onto the “software design” stuff. Test Driven Development Techniques Now that I am sure that you know what is TDD is I am going to saw you the Διαβάστε περισσότερα »...
|
-
Βιβλιοπωλείο Γνώση Εκδόσεις ΚΕΔΡΟΣ Εκδόσεις ΠΑΤΑΚΗΣ Εκδόσεις ΨΥΧΟΓΙΟΣ Παλαιοβιβλιοπωλείο Παπασωτηρίου Anubis BibliOasi GreekBooks Διαβάστε περισσότερα »...
|
-
1.Run Registry Editor 2.Navigate to the following registry key: KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Live\Messenge For 64-bit (x64) OS, go to following registry branch instead: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows Live\Messenger 3.In the right pane, right click on any blank space, select New on context menu, and then click on DWORD (32-bit) Value. 4.Name the new registry value entry as MultipleInstances. 5.Modify the MultipleInstances and set its value data as 1. 6.Start as many Windows Live Messenger windows as you want from Start Menu....
|
-
Thnks to my friend Aristeidis I have in my hands a WebPropertyEditors that contains an AspxTreeList implementation and I can share it with the community. Since I didn’t write the code I cannot answer to many questions but from a first look I an IWebTreeNode interface that should be implemented by your persistent object along with ITreeNode. thnk you for sharing this one Aris Download Διαβάστε περισσότερα »...
|
-
The last few months me and my friend John have been working on a framework build using X af . It is called XafPoint and has almost 40 generic modules!!! What is it? What it does ? It is build using the same architecture as Xaf and contains abstract modules like the Xaf one’s so we can build our every day scenario. How it was build ? Since I am from the first beta day a Xaf user I managed to have a strong and abstract layer just above xaf. Then I met john that had a large project and he was using SharePoint services to implement it. But when I told him some cool stuff on Xaf he got very excited and he told me that he wanted to use Xaf as the data management feature of SharePoint so we tried and in a few months join our knowledge and tools and we build a Διαβάστε περισσότερα »...
|
-
Here’s an interesting free e-learning offer from Microsoft Learning : Collection 6261: Developing Rich Experiences using Microsoft .NET Framework 3.5 & Visual Studio 2008 This collection of 3 2-hour premium clinics teaches about the new capabilities provided by the .NET Framework 3.5. These clinics are for experienced Developers and Software Architects who are looking to adopt Microsoft's Διαβάστε περισσότερα »...
|
-
The Code Project is a big resource of high quality software development and design articles with downloadable source code examples, with good discussion facilities and up to date software development news. Now it’s even more versatile with the addition of an add-in (a dockable frame) for Visual Studio 2008, that searches all 23,000+ Code Project articles and lists the results in order Διαβάστε περισσότερα »...
|
-
For Silverlight 2 starters I recommend this free tutorial from silverlight.net: http://silverlight.net/learn/tutorials.aspx There is code available both in C# and VB. Διαβάστε περισσότερα »...
|
-
In this post I will try to explain Object Oriented programming model-paradigm.Some of the topics-concepts, I will try to cover topics like Classes ,Properties , Methods ,Fields ,Members ,Enums,Structures, Abstraction , Encapsulation ,Interfaces ,Static classes, Constructors ,Method overloading,Inheritance ,Overriding methods,Virtual methods,Abstract classes ,Polymorphism ,Delegates ,Events Διαβάστε περισσότερα »...
|
-
VMMap v2.0 By Mark Russinovich and Bryce Cogswell Published: June 4, 2009 Introduction VMMap is a process virtual and physical memory analysis utility. It shows a breakdown of a process's committed virtual memory types as well as the amount of physical memory (working set) assigned by the operating system to those types. Besides graphical representations of memory usage, VMMap also shows summary information and a detailed process memory map. Powerful filtering and refresh capabilities allow you to identify the sources of process memory usage and the memory cost of application features. Besides flexible views for analyzing live processes, VMMap supports the export of data in multiple forms, including a native format that preserves all the information so that you can load back in. It also includes command-line options that enable scripting scenarios. VMMap is the ideal tool for developers wanting to understand and optimize their application's memory resource usage . Screenshot this article is an actual copy of page...
|
-
if you do not know about ITreenode’s purpose read this The problem I just came back from my friend Aristeidis home . Aris told me that he want me to have a look a his brand new AspxTreelistEditor and have also some cold beers we can drink . After some beers Aris ask was telling me how he solved the circularReferences between parent child relation. Because ITreenode implementation is too simple or you are lazy to search for the best practice you possibly implement like Aris and I do it up to today. But today is different cause while exploring Devexpress sources I found DevExpress.Persistent.BaseImpl.HCategory that solves that problem one more secret reveal !!!! Διαβάστε περισσότερα »...
|
|
|
|