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

 

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

Mirrored Weblogs

  • Retrieve data from an ASP.Net application using Ado.Net 2.0 disconnected model

    This is the second post in a series of posts regarding to ADO.Net 2.0. Have a look at the first post if you like. In this post I am going to investigate the "Disconnected" model. When I say "Disconnected" I mean Datasets . Datasets are in memory representations...( read more )...
    19-12-2010, 22:47 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Retrieve data from an ASP.Net application using ADO.Net 2.0 connected model

    I have been teaching Entity Framework,LINQ to SQL,LINQ to objects,LINQ to XML for some time now. I am huge fan of LINQ to Entities and I am using Entity Framework as my main data access technology. Entity framework is in the second version right now and...( read more )...
    19-12-2010, 20:37 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Track updated/inserted entities in LINQ to SQL applications

    In this post I would like to discuss in further detail the issue of track changing of entities in LINQ to SQL applications. I would like to show you how the DataContext object keeps track of all the items that are updated,deleted or inserted in the underlying...( read more )...
    19-12-2010, 19:10 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , ,
  • LINQ to SQL Inheritance model in an ASP.Net application

    One of the most important concepts in Object Oriented Programming is Inheritance. In this post I would like to talk about LINQ to SQL and the inheritance type that it supports which is Table per Class Hierarchy . In this type of hierarchy we have a single...( read more )...
    18-12-2010, 23:06 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Transactions in LINQ to SQL applications

    In this post I would like to talk about LINQ to SQL and transactions.When I have a LINQ to SQL class I always get asked this question, "How does LINQ treat Transactions?". When we use the DeleteOnSubmit() method or the InsertOnSubmit() method, all of...( read more )...
    17-12-2010, 21:46 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , ,
  • Select,Insert,Update and Delete data with LINQ to SQL in an ASP.Net application

    As you might have guessed I am continuing my LINQ to SQL posts. I am teaching a course right now on ADO.Net 3.5 (LINQ & EF) and I know a lot of people who have learned through my blog and my style of writing. I am going to use a step by step example...( read more )...
    17-12-2010, 01:04 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , ,
  • Linq to SQL Lazy Loading in ASP.Net applications

    In this post I would like to talk about LINQ to SQL and its native lazy loading functionality. I will show you how you can change this behavior. We will create a simple ASP.Net application to demonstrate this. I have seen a lot of people struggling with...( read more )...
    16-12-2010, 21:04 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , ,
  • Windows Events going with Metro UI

    This trend with Metro UI is getting quite hot nowadays and I am really interested in it. I find it extremely good looking, clear and IMHO it follows quite well with the rules of simplicity . I will save the details for another post. At this point I was interested in some problems that a colleague ( N.Baxevanis ) of mine had when trying to build a Metro UI window for WPF. As you will see in his relative post he was somehow under the impression that the LocationChanged event wasn't triggered. After we solved that he was trying to find out why another event, LostFocus, didn't fire on a Window level when he was moving his cursor to another application. To focus or not to focus? It seems that a lot of people have the same question around the net so I think I can clarify some things about windows in general. It seems to me that people that have no or little Windows API experience struggle when confronted with it's internals and to be honest the whole API can be a little intimidating for the newcomers. Back to the LostFocus...
    15-12-2010, 23:21 από Everyday's Software Design στο Everyday's Software Design
    Δημοσίευση στην κατηγορία: , , ,
  • Retrieving data using stored procedures with LINQ to SQL in an ASP.Net application

    In this post I would like to present a step by step example on how to use stored procedures with LINQ to SQL. Many people will wonder why I am bothering talking about LINQ to SQL so much. First of all I give a lot of seminars where people want to learn...( read more )...
    15-12-2010, 20:56 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , ,
  • Using Custom Validation with LINQ to SQL in an ASP.Net application

    A friend of mine is working in an ASP.Net application and using SQL Server as the backend. He also uses LINQ to SQL as his data access layer technology. I know that Entity framework is Microsoft's main data access technology. All the money and resources...( read more )...
    15-12-2010, 15:36 από Nikolaos Kantzelis-ASP.NET MVP στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , ,
  • Couch DB

    Cassandra, MongoDB, CouchDB etc... It's on my to-do list to take a deeper look onto that NoSQL trend but after seeing the following video I think I will change it's priority... (special thanks to N.Baxevanis ) CouchDB looks cool!...
    15-12-2010, 15:28 από Everyday's Software Design στο Everyday's Software Design
    Δημοσίευση στην κατηγορία:
  • C# 5, Async Exceptions Mysteries

    Studying the CTP of C# 5 I discovered that an asynchronous method will throw away anything other than the first exception in an AggregateException thrown by one of the tasks it's waiting for. Reading the TAP documentation, it seems this is partly expected behaviour and partly not. TAP claims (in a section about how "await" is achieved by the compiler): It is possible for a Task to fault due to multiple exceptions, in which case only one of these exceptions will be propagated; however, the Task’s Exception property will return an AggregateException containing all of the errors. Unfortunately, that appears not to be the case. Here's a test program demonstrating the difference between an async method and a somewhat-similar manually written method. static async Task ThrowMultipleAsync() { Task t1 = DelayedException(500); Task t2 = DelayedException(1000); await TaskEx.WhenAll(t1,t2); } static Task ThrowMultipleManually() { Task t1 = DelayedException(500); Task t2 = DelayedException(1000); return TaskEx.WhenAll(t1,...
    15-12-2010, 07:59 από Everyday's Software Design στο Everyday's Software Design
    Δημοσίευση στην κατηγορία: , ,
  • Software Design Patterns and Processes

    It is strange how much an architect can understand going through the design process of a system. I have tried a few approaches and I have studied a few more, all in all I am inclined to believe that DDD gets the best out of a software developer. I won't get into the details of DDD as the reader can get enough info around the web . It hard to get a grip of it though and I would recommend even the average developer to get some books. Thus, I strongly believe that whoever is serious about DDD should get the following: Domain Driven Design Applying Domain Driven Design and Patterns using .Net .Net Domain Driven Design with C# Is that all though? You wish... Truth is there are quite a few, brand new design processes. They are not widespread yet but they are gaining a lot of ground and anyone serious about designing large enterprise systems should have a serious look at them. I am going to give a bunch of links here and I will discuss each of them as we go, in new posts. First we go with BDD or Behaviour Driven Design,...
    14-12-2010, 07:35 από Everyday's Software Design στο Everyday's Software Design
    Δημοσίευση στην κατηγορία: , ,
  • ITBully Podcast Episode 5 - The Drupal Talk

    Το 5ο επεισόδιο του ITBully Podcast είναι διαθέσιμο για όποιον ενδιαφέρεται να το ακούσει. Αυτό το επεισόδιο είναι διαφορετικό από τα προηγούμενα καθώς δεν έχουμε ασχοληθεί με τα νέα της εβδομάδας και με κάποιο...
    07-12-2010, 12:30 από George Chatzimanolis Blog στο George Chatzimanolis Blog
    Δημοσίευση στην κατηγορία: , ,
  • Windows Azure Boot Camp Webcast series - Cloud is in the air

    If you are an IT guy, whether a developer or not, you must have heard something about the "Cloud". Don't you think it is about time to get into it more thorougly!? If you are indeed a developer, here is something to help you start. This is a series of web casts that started last week and will be completed until February. 11/29: MSDN Webcast: Azure Boot Camp: Introduction to Cloud Computing and Windows Azure 12/06: MSDN Webcast: Azure Boot Camp: Windows Azure and Web Roles 12/13: MSDN Webcast: Azure Boot Camp: Worker Roles 01/03: MSDN Webcast: Azure Boot Camp: Working with Messaging and Queues 01/10: MSDN Webcast: Azure Boot Camp: Using Windows Azure Table 01/17: MSDN Webcast: Azure Boot Camp: Diving into BLOB Storage 01/24: MSDN Webcast: Azure Boot Camp: Diagnostics and Service Management 01/31: MSDN Webcast: Azure Boot Camp: SQL Azure 02/07: MSDN Webcast: Azure Boot Camp: Connecting with AppFabric 02/14: MSDN Webcast: Azure Boot Camp: Cloud Computing Scenarios And here is also the upcoming Firestarter event:...
    06-12-2010, 18:03 από papadi Development Blog στο papadi DevBlog
  • Context programming

    I ll start this post with a phrase : WE HAVE TO REMEMBER TO NOT REINVENT THE WHEEL . Why I say that? XAF with the help of eXpand   is now a very mature framework. Almost all the tools required for build LOB applications are here. XAF has many ruling engines (Validation,EditorState,Appearence) and eXpand also the same ( AdditionalViewControls , ModelArtifactState , MasterDetail , ConditionalDetailViews). All the above engines provide a way to describe behaviors using rules and they operate over certain Contexts. What is a context some of you may ask. The answer is simple, context means the “when” the rule is going to be evaluated. For example Validation rules have 2 predefined contexts , those are Save,Delete. I am going to give an example of how powerful a context is . Let say we have a Customer-Order relationship and we have 2 cases like the following First record of Customer Orders cannot be deleted. Only the last record of Customer Orders can be deleted So what we need to design the above rules? First...
    06-12-2010, 07:35 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • Team Foundation Server requires Windows Live Messenger?

    ROFL that was really fun!!! Next thing you know it will complain about FaceBook being down... Team Foundation Error Windows Live Messenger is not running. Have fun! Dimitrios Staikos Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • WM_LBUTTONUP without WM_LBUTTONDOWN

    Hi, I guess things like this happen to you when you perform Sunday morning programming. My app got a WM_LBUTTONUP without a preceding WM_LBUTTONDOWN... And since that happened before any other button down/up activity in the application, some things were... Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • A new(?) kind of spam in blog comments

    WordPress just asked me to moderate a comment saying "of the many video clips that i download, i always watch those that are very funny" (with some emoticon ASCII chars following it). It was a comment on a post of mine about LvS which is related to video, so it looked ok, but the URL [...] Διαβάστε περισσότερα »...
    04-12-2010, 12:17 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , ,
  • Εφαρμογή για συγγραφή ελληνικών για Windows Phone 7

    Εδώ και λίγες έχει ανέβει στο Windows Phone Marketplace μία εφαρμογή που επιτρέπει τη συγγραφή ελληνικών για αποστολή SMS, E-Mail και αναζήτηση σε Bing και Google. Η εφαρμογή κατασκευάστηκε για το λόγο του ότι το Windows Phone 7 στην πρώτη έκδοση δεν επιτρέπει την εισαγωγή ελληνικών χαρακτήρων. Η εφαρμογή λέγεται GreekWP7 και διατίθεται δωρεάν, και υποστηρίζει εισαγωγή κειμένου σε ελληνικούς και λατινικούς χαρακτήρες. Screenshot της εφαρμογής στον emulator των Windows Phone 7 Δυστυχώς, υπάρχουν κάποιοι περιορισμοί 1. Οι χαρακτήρες είναι Unicode, οπότε αν γράψετε SMS με παραπάνω από 70 χαρακτήρες και το αποστείλετε, θα χρεωθείτε με δύο SMS. 2. Δεν μπορείτε να γράψετε ελληνικά στο Subject του E-mail, αλλά μόνο στο Body 3. Δεν μπορείτε να απαντήσετε σε e-mail, απλά μόνο να συντάξετε καινούριο. Θέλω να πιστεύω ότι με το update του Ιανουαρίου για Copy/Paste θα κυκλοφορήσει και το αντίστοιχο API, ώστε να μπορείτε να κάνετε copy το ελληνικό text από την εφαρμογή, και paste σε reply e-mail από την e-mail εφαρμογή του...
  • IT PRO DEV CONNECTIONS 2010–Ανάπτυξη εφαρμογών σε Windows Phone 7 με Silverlight και XNA

    Το περασμένο Σάββατο είχα τη χαρά να παρουσιάσω στο event “ITProDevConnections 2010” που διοργανώθηκε από τις κοινότητες www.autoexec.gr και www.dotnetzone.gr . Το θέμα της ομιλίας μου είχε τίτλο “Ανάπτυξη εφαρμογών σε Windows phone 7 με Silverlight και XNA” και το περιείχε μια εισαγωγή στο νέο λειτουργικό, ένα overview των εργαλείων ανάπτυξης, και μερικές demo εφαρμογές με Silverlight και XNA. Δυστυχώς, 5’ πριν την παρουσίαση ο Windows Phone emulator άρχισε να “κάνει νερά”, με αποτέλεσμα να μη δουλέψουν σωστά όλα τα demos αλλά και να χαθεί πολύτιμος χρόνος, οπότε δεν πρόλαβα να αναφερθώ σε όλα τα θέματα για όσο χρόνο αρχικά ήθελα (ειδικά στο Game Development με XNA). Σε κάθε περίπτωση, παραθέτω διάφορα links που σίγουρα θα φανούν χρήσιμα Μπορείτε να κατεβάσετε τον κώδικα και τα slides από εδώ: http://cid-10e568adbb498dc8.office.live.com/self.aspx/%ce%a0%ce%b1%cf%81%ce%bf%cf%85%cf%83%ce%b9%ce%ac%cf%83%ce%b5%ce%b9%cf%82/2010ITProDevConnections/code%5E_ppt.zip (το demo για launchers and choosers προέρχεται από εδώ...
  • Querying a database on Windows Phone 7 using WCF

    I had a request to create a proof of concept app on how to connect a Windows Phone 7 Silverlight application to a SQL Server database hosted on a PC. Since the Windows Phone API does not allow the developer to connect directly to the SQL Server, one has to create a WCF (Windows Communication Foundation) service that will expose operations to interact with the database. Let’s do this! 1. I’ll be using Northwind database for the sample, and I’m including it as part of the files for download. You can use any database you want, of course. First, let’s create a web service application. We’ll be using the ASP.NET empty website template for this matter. 2. Let’s create a new ADO.NET Entity Model, in order to use the powerful Entity Framework to do our job. We call it NorthwindModel 3. We generate it from database, choose to include sensitive data in our connection string, check the table “Customers” and check “Pluralize or singularize generated object names”. 4.We create a new *Silverlight-enabled” web service in our...
  • Modular User interface

    I was discussing with a friend some days ago about his project requirements. Solution had roles but they where fixed (Like Manager, Receptionist etc) Different UI is needed for each role At runtime there should be a way to change the UI using an action He told me that he was aware of eXpand Role models and he thought that they could help his case. Sure I told him ModelDifference module can help , however the approach would be slightly different from the one you had in your mind and here is why: Although the application have roles since there is no login (wanted to change UI from an action ) we could not use ModelDifference Role models.  What I suggested was to use disabled application models and then use eXpand api to just enabled them at runtime. In fact we could create as many application models as the fixed roles are in the updater with a code similar to     public class Updater : ModuleUpdater {         public Updater ( Session session, Version currentDBVersion)...
    02-12-2010, 04:52 από A.Bekiaris's .Net / Xaf Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • VC++ __declspec property

    Hi, For many years now the VC++ compiler has a very handy feature that none of the C++ programmer I have met knew about, so it may be worth writing about. The feature is called as "virtual data members" in... Διαβάστε περισσότερα »...
    Δημοσίευση στην κατηγορία:
  • An Extensible WPF client layout with RibbonTab submenus using MEF

    I was just experimenting with extensibility using MEF ( MEF is a .NET resident for .NET4 and SL4 ), when I created a small proof of this functionality that I could share via my blog. It is a semi-patterned (only for the main shell, my shell, not a PRISM one with viewregions and stuff, just an MVVM main area implemented with MVVMLight ), but it does what it is supposed to do. So what is is supposed to do? It is an application, which can be extended by simply, drag and dropping, dlls in the Plugins directory. Every plugin, contains a certain amount, of RibbonTabs and each one, can provide applications, via RibbonTabItems ( utilized the Microsoft Ribbon for WPF October 2010 ). By clicking each one of these items, one can open the corresponding application in the closable TabControl next to the plugin option menu. This menu, by the way is a WPF Outlook bar reused by this codeproject . The Favorites menu is a subset of the Applications option. The plugin system is based on MEF, demonstrating a simple plugin system....
    Δημοσίευση στην κατηγορία: , ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems