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

 

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

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

  • Using Entity Framework Table splitting customisations in an ASP.Net application

    I have been teaching in the past few weeks many people on how to use Entity Framework. I have decided to provide some of the samples I am using in my classes. First let’s try to define what EF is and why it is going to help us to create easily data-centric...( read more )...
    31-03-2012, 22:23 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Using the bcp utility to insert rows in a table with triggers and constraints

    In this post I would like to talk about how to import and export data using the bcp utility. I will also explain how the bcp utility works with tables that have constraints and triggers attached on them. No databases exist in isolation. We need to import data from other databases. We need to import data from text files,spreadsheets.We also need to export data to other systems or databases.One way to achieve is using the bcp utility. ( read more )...
    26-03-2012, 02:08 από το μέλος nikolaosk στο Dot Net Rules
  • Using the BULK INSERT statement to insert rows in a table with triggers and constraints

    In this post I would like to talk about how to import data (from a text file) using the BULK INSERT statement. If you want to find out more about BULK INSERT have a look here . I will also explain how the BULK INSERT statement works with tables that have constraints and triggers attached on them. If you want to have a look in similar post in my blog regarding the bcp utility click here . ( read more )...
    26-03-2012, 02:06 από το μέλος nikolaosk στο Dot Net Rules
  • (Windows8) WinJS single page navigation and ViewModels

    In the previous post , we have seen simple data-binding scenarios using WinJS and got a glimpse on the way a ViewModel can be created (following the MVVM pattern). In this post, we will build and application where there are more than one views (pages - simple page navigation app) with simple html elements and ListViews with real data. The question we need to answer is:   “ How do the ViewModels and MVVM can be applied in a single page navigation   WinJS application?” ( FOR .NET Developers: if you are coming from the .NET world and especially XAML you will also get a chance to see how things like INotifyPropertyChanged and ObservableCollections apply to the WinJS world. The ViewModel presented here is as close as possible to the one that would be applied in a WPF-Silverlight window)   We will create a simple app that displays the births and deaths of celebrities in today’s date. Data will come from the RSS feeds provided by IMDB. Clicking on a celebrity should lead us to a new page where we get the...
    Δημοσίευση στην κατηγορία: , ,
  • Get your Visual Studio toolbox in fit

    So, it has been a while since I joined the club of those who faced the intimidating Loading toolbox content from package Microsoft.VisualStudio.IDE.Toolbox.ControlInstaller.ToolboxInstallerPackage ‘{2C98B35-07DA-45F1-96A3-BE55D91C8D7A}’ problem, every time I opened a new instance of Visual Studio and used the XAML designer. After some search, I found a decent solution. Mind you, do not follow the first [...]...
    21-03-2012, 23:01 από Manos Kelaiditis' blog v2.0 στο Manos Kelaiditis' Weblog
    Δημοσίευση στην κατηγορία: , ,
  • WCF or ASP .NET 4.5 Web API

    A couple of weeks ago (around Feb. 16) the WCF WebAPIs - a framework for building RESTful/Hypermedia/HTTP services, which was in development over the past 1.5 years as a side-project on CodePlex , has been formally integrated into ASP.NET and its name changed to the ASP.NET Web API. These past two weeks, there has been a lot of questions among WCF developers: What does it mean that the Web APIs are no longer a part of WCF – is WCF dead? Has SOAP gone bankrupted? is HTTP the new way to go for interoperability? To get a better understanding of what happened and what is the way to go, we need to answer a couple of questions: What is the purpose of the WebAPIs? Why do we need HTTP services? What’s wrong with SOAP-over-HTTP? Why did the WebAPIs move from WCF to ASP.NET MVC? Is there still a use for WCF? When should I choose Web APIs over WCF? What is the purpose of the WebAPIs? When WCF was conceived back in its Indigo and .NET 3 days, the main goal was to support SOAP + WS-* over a wide variety of transports. However,...
    21-03-2012, 22:32 από Stories of Software Design στο Everyday's Software Design
    Δημοσίευση στην κατηγορία: , , ,
  • Patterns & Practices Symposium

    Microsoft patterns & practices symposiums are held regularly in the U.S. and abroad, with top speakers on current topics. Most of the speakers are from Microsoft patterns & practices (p&p) team. The event is aimed primarily at software architects, developers, and technical managers. Patterns & practices develops applied engineering guidelines to help software developers and architects build great solutions on the Microsoft platform. The April 24th online p&p symposium program 2012 will include keynote sessions and technical sessions focusing on building scalable applications in Azure, mobile development, node.js, CQRS, .NET Gadgeteer and a general overview of p&p roadmap.* Planned Schedule: * All sessions will be streamed live , but we will also record them all for those unable to attend the event. * Currently planned and approved sessions. Topics and times subject to change. All times pacific. Twitter hashtag #pnpsym...
    19-03-2012, 17:34 από K# στο K#
    Δημοσίευση στην κατηγορία: ,
  • Patterns & Practices Symposium

    Microsoft patterns & practices symposiums are held regularly in the U.S. and abroad, with top speakers on current topics. Most of the speakers are from Microsoft patterns & practices (p&p) team. The event is aimed primarily at software architects, developers, and technical managers. Patterns & practices develops applied engineering guidelines to help software developers and [...]...
    19-03-2012, 17:34 από Κ# on Cloud στο K#
    Δημοσίευση στην κατηγορία: ,
  • Create a master-detail Windows Forms application with EF

    I have been teaching in the past few weeks many people on how to use Entity Framework. I have decided to provide some of the samples I am using in my classes. In this post I will show you a step by step example on how to build a Windows Forms (Master – Details) application with C# and Entity Framework. Have a look in this post if you would like to see how to implement similar functionality with WPF. ( read more )...
    15-03-2012, 19:11 από το μέλος nikolaosk στο Dot Net Rules
  • Μεταφορά λογαριασμών μεταξύ Servers (WHM/Cpanel)

    Πρόσφατα αντιμετώπισα μία πρόκληση οπότε θεωρώ ότι θα ήταν καλό να μοιραστώ μαζί σας την εμπειρία μου και πως ξεπέρασα τα προβλήματα που προέκυψαν. Έως πρόσφατα είχα αγοράσει ένα πακέτο VPS Hosting στην GoDaddy στην οποία και συντηρούσα διάφορα Websites δικά μου αλλά και πελατών μου. Οι ανάγκες μου όμως αυξήθηκαν και ανακάλυψα ότι το πακέτο που είχα προμηθευτεί δεν με κάλυπτε. Έτσι αφού έκανα μία μικρή έρευνα αγοράς αποφάσισα να αγοράσω ένα Dedicated Server από τη Hetzner (θα μοιραστώ σε άλλο post την εμπειρία μου και το αν είμαι ικανοποιημένος). Το μεγάλο πρόβλημα όμως ήταν η μεταφορά των λογαριασμών-websites από τον παλιό Server στο νέο. Δεν ήθελα να τα στήσω όλα από την αρχή και ειδικά στο θέμα των mailboxes δεν ήθελα με τίποτα να χαθούν. Ευτυχώς που οι γνώσεις μου στο Linux βοήθησαν λιγάκι και μαζί με τη βοήθεια που παρέχει το WHM / Cpanel (το χρησιμοποιώ στο Server γιατί δεν είμαι και linux-guru) πραγματοποίησα τη μεταφορά πολύ γρήγορα. Στη λύση λοιπόν που παρουσιάζω παρακάτω υπάρχουν 2 προϋποθέσεις. Να υπάρχει...
    15-03-2012, 15:48 από George Chatzimanolis Blog στο George Chatzimanolis Blog
    Δημοσίευση στην κατηγορία:
  • Connecting to any database at runtime

    In this post we will discuss how straight forward is to provide a solution for this science fiction subject! Our frameworks (XAF and XPO) along with a few smart classes are fully capable of doing all the hard job and spare our resources. At the end we will be able to apply all the XAF tools / modules in any legacy database. The module can connect the database world with powerful tools like the DX grids. In addition we can use use XAF ’s main metadata storage (the model), the security system and all XAF’s modules. These tools are are so powerful that are able to produce logic by themselves! Having such great configuration flexibility it is possible to write behavior after distribution thus you enter new markets and ideas! In addition the module allows you to control the logic after generation using Xaf’s meta driven developing model. Retrieving any database metadata XPO is the best candidate for this. since it can transparently talk  to more than 15 different database systems! The metadata API used from XPO...
    12-03-2012, 14:53 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: , ,
  • (Windows8) WinJS Basic Javascript Objects and the ViewModel pattern

    When someone starts implementing small programs in Visual Studio 2011 and starts playing with the VS2011 templates for Metro applications in Javascript, he soon wonders about the differences that WinJS brings in Javascript object creation and what is the best practice of connecting the view (HTML) with the model (Javascript). he second relates to the functionality that WinJS brings and is similar to other data binding libraries like for example Knockoutjs .In this blog we will see a general overview of the object and ViewModel creation patterns using only WinJS via the implementation of a simple “Metro Style” application.   Please note that due to the lack of complete documentation for the WinJS library and its workings, some of the statements below are my assumptions and may not reflect 100% the reality. Of course every single line of code below is tested and works but bear in mind that there may be a better way of doing this and I will definitely keep researching for it.   How do I try the examples...
    Δημοσίευση στην κατηγορία: ,
  • Windows 8 Metro development Train-the-Trainer

    Την εβδομάδα που μας πέρασε, είχα την χαρά να παρακολουθήσω ένα Train-the-Trainer course για Windows 8 Metro development στο Amsterdam. Μέσα σε τρεις μέρες είδαμε την ανάπτυξη μιας εφαρμογής end to end καθώς και το πώς σχεδιάζουμε το UX στις Metro εφαρμογές. Όλα ήταν πολύ ενδιαφέροντα ακόμα και για κάποιον που έχει γράψει εφαρμογές σε [...]...
    09-03-2012, 22:51 από Manos Kelaiditis' blog v2.0 στο Manos Kelaiditis' Weblog
    Δημοσίευση στην κατηγορία: ,
  • February news

    We appreciate your support and efforts in raising issues that help stabilizing our framework! This list is of what we have managed within February. Latest Collaborations Fixed bugs with SequenceGenerator and MiddleTier http://goo.gl/qhzwk Foreign key feature violations http://goo.gl/Mha6S Provided association bug with Domain components Upgrade to 11.2.8 Fix Jobscheduler initialization, causing thread keeping alive. http://goo.gl/LFUpa Modeldifference model combing exception http://goo.gl/Qq03J Master detail should tamper only states of actions in ViewController Clear build warnings ConditionalDetailView support for ViewShowing Execution context. This make it possible to have conditional view when creating a new object. http://goo.gl/5iKrM...
    07-03-2012, 13:00 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
  • How to configure WAS for TCP endpoints in IIS

    In this post I would like to show you how to activate Windows Activation Services or WAS for TCP based activation.What this means is that it is possible to host WCF Services in IIS and expose TCP endpoints. ( read more )...
    05-03-2012, 02:18 από το μέλος nikolaosk στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • Self-hosting WCF Services

    In this post I will show you how to host a WCF Service in your own applications.This is referred as self hosting, meaning the hosting of a WCF Service in a Console application or a Windows Forms application. This is the third post in a series of posts on the various options we have when it comes to hosting WCF Services. ( read more )...
    04-03-2012, 18:19 από το μέλος nikolaosk στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • 1η μέρα με τα Windows 8 Consumer Preview

      Τα Windows 8 εγκαταστάθηκαν (Core 2 Duo, 4GB RAM). Αν χρησιμοποιήσετε το εργαλείο εγκατάστασης που προτείνει η Microsoft τότε απλά κατεβάζετε 5MB, ξεκινάτε την εγκατάσταση μέσα από τα Windows που ήδη έχετε και όλα τα υπόλοιπα έρχονται στον υπολογιστή σας κατευθείαν από το Internet. Για ένα Λειτουργικό Σύστημα τέτοιου μεγέθους η διαδικασία είναι πρωτόγνωρη και φανταστική. Από τα screenshots που πήρα κατά τη διάρκεια της εγκατάστασης νομίζω τα πιο σημαντικά είναι αυτά: “Feel free to keep using your PC” Έλεγχος συμβατότητας Η διαδικασία εγκατάστασης περιλαμβάνει έλεγχο συμβατότητας των εφαρμογών και των συσκευών σας. Για το 2ο δεν τίθεται καν το ζήτημα όπως άλλωστε έχουμε συνηθίσει με τα Windows τα τελευταία χρόνια. Όλες οι συσκευές αναγνωρίστηκαν και δούλεψαν άψογα. Από την άλλη, καμία από τις υπάρχουσες εφαρμογές δεν ήταν συμβατή (βλέπε εικόνα: Compatibility report).   Λειτουργία & Παρατηρήσεις Όλοι ψάχνουν να βρουν το Start button αλλά μάταια. Τα πράγματα είναι απλά: το Start button τώρα λέγεται...
    04-03-2012, 10:01 από το μέλος dpant στο Dim Pant's .NET Blog
    Δημοσίευση στην κατηγορία: ,
  • Host WCF Services in Window Services

    In this post I will show you how to host a WCF Service in a Windows service.This is the second post in a series of posts on the various options we have when it comes to hosting WCF Services.If you want to know how to host the WCF Service in IIS have a look in this post. I will use a simple a WCF service that just completes some basic math tasks.The main focus in this post is not to implement a very complicated WCF Service. The main focus is demonstrating how to host the WCF Service in IIS.( read more )...
    04-03-2012, 02:17 από το μέλος nikolaosk στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • Hosting WCF Services in IIS

    I am going to start a series of posts regarding the various options we have when we want to host a WCF Service. I am going to show you (in seperate posts) how to host WCF Services in IIS, in Window Services and self-host them. In this post I will show you to host WCF Services in ASP.Net Web Applications in IIS.I will use a simple a WCF service that just completes some basic math tasks.The main focus in this post is not to implement a very complicated WCF Service. The main focus is demonstrating how to host the WCF Service in IIS.( read more )...
    03-03-2012, 20:34 από το μέλος nikolaosk στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Τα Windows 8 Consumer Preview είναι εδώ!

    Μπορείτε να κατεβάσετε και να δοκιμάσετε εντελώς δωρεάν τα Windows 8 από εδώ: http://preview.windows.com Για πληροφορίες δείτε εδώ: http://www.microsoft.com/presspass/presskits/windows/   Διαβάστε περισσότερα »...
  • Έφτασε η BETA του Visual Studio 11!

    Κατεβάστε το εδώ ! Από σήμερα είναι διαθέσιμη η δοκιμαστική έκδοση του Visual Studio 11, την οποία μπορείτε να κατεβάσετε και να δοκιμάσετε για να δείτε τα νέα χαρακτηριστικά και αν θέλετε, να μας δώσετε το feedback σας για την τελική έκδοση! Συνοπτικά λοιπόν τα νέα χαρακτηριστικά: Κατασκευή εφαρμογών για Windows Βελτιώσεις στην παραγωγικότητα · .NET Framework 4.5 · Τα Productivity Power Tools είναι ενσωματωμένα · Συμβατότητα με παλιά projects · Ενσωματωμένη δυνατότητα για packaging εφαρμογών · Πλήρης υποστήριξη Windows 8 simulator με υποστήριξη αισθητήρων Testing και profiling · Profiling σε πολλαπλές πλατφόρμες · Unit testing για C++ Κατασκευή · Κλασσικών desktop εφαρμογών · Graphics intensive εφαρμογών · Device Drivers · Windows 8 Metro style εφαρμογών Βελτιώσεις στο ασύγχρονο programming · Ξεχάστε το XXXAsync και το XXXCompleted . Τα νέα keywords “ async ” και “ wait ” είναι εδώ για να σας λύσουν τα χέρια · Νέα εργαλεία για κατασκευή DirectX εφαρμογών Κατασκευή Windows 8 Metro style εφαρμογών · Ενσωμάτωση...
  • Αλήθεια, τι γνωρίζετε για το DNS;

    Κάπου πήρε το αυτί μου ότι οι λεγεώνες των Anonymous σκοπεύουν να “κλείσουν” το Internet επιτιθέμενοι στους κεντρικούς DNS Servers του. Δεν με απασχολούν ιδιαίτερα οι λεπτομέρειες της επίθεσης (αν κατάλαβα καλά θα δημιουργήσουν ένα άνευ προηγουμένου bottleneck δρομολογώντας έναν απύθμενο αριθμό DNS αιτήσεων στους συγκεκριμένους servers) και το κατά πόσο αυτό είναι εφικτό μένει να αποδειχθεί. Ένα ερώτημα όμως είναι: πόσο καλά γνωρίζουμε το Domain Name Service , μια υπηρεσία που όλοι καθημερινά χρησιμοποιούμε και η οποία αποτελεί θεμελιώδη λίθο του Internet;   Λίγη Ιστορία Το DNS είναι μια υπηρεσία ονοματοδοσίας (naming service) σχεδιασμένη ώστε να μπορεί να χρησιμοποιηθεί σε διάφορες υλοποιήσεις. Παρά το γεγονός, λοιπόν, ότι, αρχιτεκτονικά, μπορεί να υποστηρίξει πολλά και διάφορα σύνολα ονομάτων (name spaces), στην πραγματικότητα το DNS χρησιμοποιείται κυρίως στο Internet και η βάση δεδομένων του (δηλαδή, το σύνολο των ονομάτων τα οποία χειρίζεται) αποτελείται από τα γνωστά μας domain names. Η ανακάλυψή του...
    26-02-2012, 11:04 από το μέλος dpant στο Dim Pant's .NET Blog
    Δημοσίευση στην κατηγορία:
  • WM7.5 Hackathon

    This weekend I had a chance to participate in the first Athens Windows Mobile 7.5 Hackathon. This was the first time Microsoft hosted an event that aimed in helping and encouraging developers in building actual applications and I have to say that I was really impressed with the participation and outcome. I’m guessing that more than 150 developers patiently attended the whole two days event, listened to 20 mini tutorial style sessions and finally 32 of them came up with very interesting ideas and application for the windows mobile platform, although some of my favorite applications didn’t make the top 6 (I guess my criteria are different from the judging committee one’s ). If you didn’t make it, you can catch a glimpse of what happened from the following image gallery. I was assigned three slots where I presented Application Bar & System tray Isolated Storage Launchers and Choosers Live Tiles & Push notifications You can find the slide decks as well as the demo code I used here:...
    19-02-2012, 23:32 από K# στο K#
    Δημοσίευση στην κατηγορία: ,
  • IIS 7.5 + ISAPI HOW TO

    In my last post I’ve mentioned connecting the JavaScript client-side code to various server data sources and have had a WCF HTTP service implemented as an example. Another –rather old fashioned but still viable, option is an ISAPI serving JSON data. You can, of course, create the ISAPI DLL using a number of tools. What I’ve always had difficulty remembering though is the exact steps needed to host the DLL in IIS. If nothing else this post is a reminder on how to have an ISAPI hosted in a Virtual Directory under IIS 7.5, which ships with Windows 7.   Install IIS Install IIS if you haven’t already done so. Besides the bare minimum make sure you have the ISAPI options ( ISAPI Extensions and ISAPI Filt ers ) checked as shown in the figure below.   Configure for ISAPI DLL Open IIS Manager. Assuming you already have a Virtual Directory created under the Default Web Site node select it and double click the Handler Mappings icon. Click Edit Feature Permissions in Actions panel. Check Execute in the Edit Feature...
    19-02-2012, 06:51 από το μέλος dpant στο Dim Pant's .NET Blog
    Δημοσίευση στην κατηγορία: ,
  • Windows Phone Hackathon Day 1 Recap

    cross posted in http://blogs.msdn.com/b/devhellas/archive/2012/02/17/windows-phone-hackathon-day-1-recap.aspx Πρώτη μέρα του Windows Phone Hackathon σήμερα στη Microsoft Ελλάς! Τι μας έμεινε (random order): - πάνω από 100 developers - 3 αίθουσες, συμμετοχή σε ομάδες για κατασκευή εφαρμογών - ευχάριστο γεγονός η απρόσμενη συμμετοχή πολλών game developers! - οι developers που ήρθανε από κάθε γωνιά της Ελλάδος (Λάρισα, Καστοριά, Λευκάδα, Πάτρα, Θεσσαλονίκη κ.α.) - οι δυνατές παρουσιάσεις των ομιλητών, με το πολύ καλό feedback - τα αρκετά ενδιαφέροντα πρώτα prototypes των εφαρμογών που αρχίσανε να χτίζονται σιγά σιγά - οι πίτσες - η μουσική του djsolid που ακουγόταν σε όλο το ισόγειο - η coca cola που άργησε να έρθει (αλλά θα καταναλωθεί αύριο σε ελάχιστο χρονικό διάστημα) - η ομολογία της Μαρίας για την αντίδρασή της όταν είδε το Metro UI - οι γραφιστικές παρεμβάσεις της Ισαβέλλας - ο Windows Phone κύβος στην έξοδο που έγινε αιτία να χαλάσει ένα νύχι (δεν λέμε ποιας) :D - τα μπλουζάκια που έγιναν ανάρπαστα - οι συζητήσεις...
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems