Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια

 

Αρχική σελίδα Ιστολόγια Συζητήσεις Εκθέσεις Φωτογραφιών Αρχειοθήκες

Πρόσφατες Δημοσιεύσεις

  • Silverlight Out Of Browser Presentation Source code

    Back from my holidays and straight to work. Reading through my emails though, I came by one where one of my friends have noticed that I’ve neglected to post my Silverlight Out Of Browser Applications presentation content. So with my deepest apologies here it is. < </iframe> Διαβάστε περισσότερα »...
    30-08-2010, 15:52 από K# στο K#
    Δημοσίευση στην κατηγορία: ,
  • Controlling DevExpress XtraGrid Part-3 (The Columns)

    Continuning the Controlling XtraGrid Control series.. Contolling DevExpress XtraGrid Part-2 (Master Detail) Controlling DevExpress AspxGridControl at runtime Controlling DevExpress XtraGrid Control at runtime With the great help of DevExpress Support Guys eXpand now has an engine that can push any class property to your model and then using the power of modeldifference module allow you to change its value at runtime. See for example how simple we have define all the the options of a GridColumn and push them to the model public interface IModelColumnOptions : IModelColumnOptionsBase {     IModelGridColumnOptions GridColumnOptions { get ; set ; } }   public interface IModelGridColumnOptions : IModelNode {     IModelGridColumnOptionsColumn Διαβάστε περισσότερα »...
    30-08-2010, 13:58 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: ,
  • ModelArtifactState

    After I posted the Contolling DevExpress XtraGrid Part-2 (Master Detail) I got many requests to speak about how easy will be to make a behaviout conditional so I am going to explain again how ModelArtifact module was build that is based on eXpand logic architecture Is based on the eXpand Logic architecture and more specifically at eXpand Conditional Logic architecture. That means that Conditional Logic architecture is designed to execute conditional logic rules and from the name of the module one can easily understand that the rules are responsible to change the state of model artifacts, and what are the model artifacts? Controllers and actions. tell how and when the state is changed So for all modelartifacts have a common attribute the Module (one can define Διαβάστε περισσότερα »...
    27-08-2010, 14:10 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: ,
  • Creating autorun disks specifically for Windows x64 systems

    Was just burning (with Windows7 included image burner) some backup ISO images of Windows Vista x64 final (MVPs who had submitted bugs on Microsoft Connect during Vista beta test cycle were getting both x86 and x64 final Ultimate versions for free). After reinserting the disk I noticed it was trying to run sperr32.exe instead of setup.exe . Looking at autorun.inf it was obvious that Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • Custom pivot sorting

    I will start this blog with an embrace to the genius architecture of DevExpress Xaf framework. As the time passes by and you get more experienced in using it you will soon realize that it has teach you to write so declarative code that almost 95% of it is reusable and should go to your base libraries or else to eXpand !! So the new addition to eXpand has to do with custom pivot sorting . Say that for a domain model similar to you have design an analysis object using your win UI like as you can see Xaf by default is going to sort your products by using the default property of the Product persistent object with is name . But your client asked you to sort by the Sort property of Product which values can be controlled by him through the UI. For that reason you could Διαβάστε περισσότερα »...
    25-08-2010, 13:07 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • Tracing at application and page level in ASP.NET applications

    When we debug our applications we need to have as much information as possible at our disposal. There are a lot of techniques and ways to achieve that. One way to get lots of debugging information is to use Tracing. We can enable Tracing at the Page Level and Application Level. We can view the viewstate information and the events chain when a page is executing, among other things. Διαβάστε περισσότερα »...
    24-08-2010, 21:36 από DOT NET RULES στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , ,
  • JQuery and ASP.Net – How to access all textboxes using JQuery

    I am going to start a series of posts on ASP.Net and JQuery that will explain a lot of common tasks that can be accomplished using this fantastic open source Javascript library. Διαβάστε περισσότερα »...
    24-08-2010, 21:18 από DOT NET RULES στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • Change the master page depending on the client’s browser

    In one of my seminars on ASP.Net, I was asked a question from a student regarding master pages and the various browser appications. He basically asked if it was possible to have a different master page depending on the client's browser. Διαβάστε περισσότερα »...
    24-08-2010, 20:55 από DOT NET RULES στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Xaf Models Xaf Models and again Xaf Models

    This is a sneak peek for eXpand v10. Now it is possible to have multiple models per module as shown in the pic bellow The question is how the use them ? I will say a few words about current approaches. First of all your adiitional models should have Embedded Resource as Build Action Design Time you could use eXpand Model Editor that is based on Devexpress standalone editor. (See here more info about it here) Now when you hit enter or double click an entry in that list the standalone editor will open up and will compine all models but will add as lastlayer the selected one thus forcing model editor to display that model as diffs (bold), and of course when you save is going to use the selected resource file as well. Another question will be how to support child Διαβάστε περισσότερα »...
    23-08-2010, 14:02 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: ,
  • Monadic Memoization in F#

    Πρόσφατα χρειάστηκε να χρησιμοποιήσω μια memoization συνάρτηση για ένα πρόβλημα δυναμικού προγραμματισμού. Υλοποιώντας την κλασσική τεχνική χρειαζόμαστε μια συνάρτηση σαν την παρακάτω: let memoize f = let cache = new Dictionary<_, _>() (fun x -> match cache.TryGetValue(x) with | true , y -> y | _ -> let v = f(x) cache.Add(x, v) v) Το πρόβλημα με την παραπάνω συνάρτηση είναι ότι χρειαζόμαστε "κριμένα" side effects. Μετά από μελέτη κατέληξα ότι η pure functional λύση θα περιελάμβανε τον Y combinator και το State Monad. Η κεντρική ιδέα είναι να μετατρέψουμε μια συνάρτηση από a -> b σε a -> m b, plus ότι χρειαζόμαστε να κάνουμε abstract και τις αναδρομικές κλήσεις για να εισάγουμε τους ελεγχους στα arguments. My F# solution: type StateMonad<'a, 's> = StateMonad of ('s -> ('a * 's)) type StateBuilder() = member self.Return value = StateMonad (fun state -> (value, state)) member self.Bind (StateMonad stateMonad, f) = StateMonad (fun state -> let value, state' = stateMonad state in...
    16-08-2010, 22:38 από το μέλος PALLADIN στο Thoughts and Code
  • Contolling DevExpress XtraGrid Part-2 (Master Detail)

    This is a sneak peak for eXpand v10 We have control trhough model all of the options of GridView as shown at  Controlling DevExpress AspxGridControl at runtime   eXpand had already a very simple implementation of master detail but did not support many levels. Since that implementation was too old i wrote it almost when I started using Xaf I though I give it a try now that I am more experienced so I wrote down some specs about what I wanted The requirements Be able to configure the grid views at any level Be able to control the grid views at any level through controllers Run Master View actions at child views (eg.delete,save etc) Support different detailviews per master row Only special user roles should have the permission to see master detail views Διαβάστε περισσότερα »...
    16-08-2010, 11:44 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: ,
  • Free Visual Studio 2010 Ultimate with MSDN subscription

    I have a spare Visual Studio 2010 Ultimate with MSDN subscription (development & test only) from Microsoft to give away. So if you're on Twitter just follow @ zoomicon and @ visualstudio and send the following message on Twitter for a chance to get the subscription code: Can win a Visual Studio 2010 Ultimate with MSDN subscription (dev & test only): Follow @ zoomicon and @ visualstudio Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • ASP.NET MVC 3 Preview 1 - Source Code

    Η Microsoft μετά την κυκλοφορία του ASP.NET MVC 3 Preview 1 , το οποίο μπορείτε να κατεβάσετε από εδώ, ανέβασε στο Codeplex και τον πηγαίο κώδικα έτσι ώστε να μπορεί να ρίξει μία ματιά όποιος ενδιαφέρετε. Διαβάστε περισσότερα »...
    09-08-2010, 09:59 από George Chatzimanolis Blog στο George Chatzimanolis Blog
    Δημοσίευση στην κατηγορία:
  • Priceless...

    Διαβάστε περισσότερα »...
    03-08-2010, 18:57 από Geek by design στο Geek by design
    Δημοσίευση στην κατηγορία: , ,
  • 3 pictures 3000 words!!!

    The last few months i have been silent but not lazy at all so I post the next 3 pictures to give you an idea what eXpand will deliver by v10   So what you think? I just can’t wait to finish. Διαβάστε περισσότερα »...
    03-08-2010, 17:30 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: ,
  • fix: Java SE Development Kit (JDK) was not found on this computer

    I was just installing the fine IDE NetBeans 6.9 and its installer asked me to install the Java JDK first. It was saying "Java SE Development Kit (JDK) was not found on this computer" (see screenshot). The dialog points one to download the JDK at http://java.sun.com/javase/downloads . Since Oracle acquired Sun, now that redirects to http://www.oracle.com/technetwork/java/javase/downloads/index.html Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • Ανέκδοτο: Επίκαιρο - στην υγειά μας...

    Εν αρχή ο Θεός γέμισε τη γη με μπρόκολο, κουνουπίδι και σπανάκι, πράσινα, κίτρινα και κόκκινα λαχανικά όλων των ειδών, ώστε ο άνδρας και η γυναίκα να ζήσουν υγιεινά και παντοτινά. Ο σατανάς όμως δημιούργησε τα Haagen Dazs... και τα διάφορα cookies. Και ρώτησε: «Λίγη ακόμη σάλτσα βύσσινου;» και ο άνδρας απήντησε: «Ευχαρίστως!» και η γυναίκα πρόσθεσε: «Παρακαλώ για μένα άλλη μια ζεστή Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • Ανέκδοτο: Συμβουλευτική...

    Ένας ßοσκός, ενώ έßοσκε τα πρόßατά του σε µια απόµερη τοποθεσία, ßλέπει από µακριά να πλησιάζει µια αστραφτερή ΒΜW. Ο οδηγός, ένας νεαρός ντυµένος µε κοστούµι Versace, παπούτσια Gucci, γυαλιά ηλίου Ray Ban και Yves Saint Laurent γραßάτα, σταµατάει δίπλα του, κατεßάζει το παράθυρο και του λέει: - Aν σου πω ακριßώς πόσα πρόßατα έχεις στο κοπάδι σου, θα µου δώσεις ένα; Ο ßοσκός κοιτάει Διαβάστε περισσότερα »...
  • Is Java Plugin a threat to your computer's security?

    Just recently I took upon the task to remove some trojans from a system that was showing AdultFriendFinder ads when the user was conducting searches on the Internet. Searching for the cause of the infection, since the user had been very cautious in the first place (however not consistently using an antivirus due to machine performance issues), the most probable security hole on the Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • IsNull in F#

    A simple isNull for string functionality with Active Patterns 1 2 3 4 5 6 7 8 9 10 11 12 13 14 open System let (|Empty|Null|String|) (s: string ) = if s = null then Null elif s.Trim() |> String.IsNullOrEmpty then Empty else String (s.Trim()) let public IsNull (rep: string ) (s: string ) = match s with | Empty | Null -> rep. ToString() | String _ -> s If someone knows why the underlined ToString() is needed I would appreciate it...
    29-07-2010, 14:49 από το μέλος napoleon στο count zero
    Δημοσίευση στην κατηγορία:
  • Watch out for "Firefox security" at your Mozilla Firefox add-ons

    If you go to Tools / Add-ons menu (might be calling them "Plugins" or "Extensions", don't remember the exact English text there) at Mozilla FireFox, do you see one called "Firefox security" there with subtitle "Internal security options editor."? If so, then uninstall it immediately, it's Trojan JS/Dursg.C or a variant. See more info at the JS/Dursg.C Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • Bubble Breaker in Windows Phone 7 using XNA

    Introduction Continuing my adventure in XNA after porting Arkanoid for Windows Phone 7 , I’ve been busy during the last days in an attempt to re-create the famous Windows Mobile 6.x game called “Bubble Breaker” for Windows Phone 7. This is a great game to spend your time, and I find it highly addictive. I had two choices to implement it; either Silverlight or XNA. I chose XNA for this Διαβάστε περισσότερα »...
  • Suggestion: why not have a "Recent folders" pane at Outlook's "Mail" sidebar?

    I'd like to see a "Recent folders" pane at Outlook under "Mail" sidebar view (not just "Favorite Folders" and "Mail folders"). Not sure if Outlook 2010 has added this already though, haven't found the time to install it yet. Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • Making Internals visible

    A very interesting entry to AssemblyInfo that I found is InternalsVisibleTo. If added to a project makes visible internal classes & members to a calling assembly [ assembly : InternalsVisibleTo ( "MyProject.Tests.Unit" )]...
    24-07-2010, 17:46 από το μέλος napoleon στο count zero
    Δημοσίευση στην κατηγορία:
  • F# Sources

    First, I would like to thank N.Palladinos for his various help on F#. F# is a new language officially hosted in VS 2010. Worth mentioning is that even if someone does not choose to write in that language, the knowledge may make him a better programmer. Very good sources for F# are: Don Syme's blog founder of F# Phillip Trelford's blog Luke Hoban's blog Jon Harrop's blog Fsharp.net the official site Most people recommend Chris Smith's Programming F# for a book. I have read Don Syme's Expert F# which is very good but requires some experience in the first place....
    24-07-2010, 15:17 από το μέλος napoleon στο count zero
    Δημοσίευση στην κατηγορία: ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems