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

 

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

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

  • Building an ASP.Net 4.5 Web forms application - part 5

    Τhis is the fifth post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line . There are 4 more posts in this series of posts.Please make sure you read them first.You can find the first post here . You can find the second post here . You can find the third post here .You can find the fourth here . In this new post we will build on the previous posts and we will demonstrate how to display the details of a poster when the user clicks on an individual poster photo/link. We will add a FormView control on a web form and will bind data from the database. FormView is a great web server control for displaying the details of a single record. 1) Launch Visual Studio and open your solution where your project lives 2) Add a new web form item on the project.Make sure you include the Master Page.Name it PosterDetails.aspx 3) Open the PosterDetails.aspx page. We will add some markup in this page. Have a look at the code below <asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent"...
    05-10-2012, 22:18 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Building an ASP.Net 4.5 Web forms application - part 4

    Τhis is the fourth post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line. There are 3 more posts in this series of posts.Please make sure you read them first.You can find the first post here . You can find the second post here . You can find the third post here . In this new post we will build on the previous posts and we will demonstrate how to display the posters per category. We will add a ListView control on the PosterList.aspx and will bind data from the database. We will use the various templates. Then we will write code in the PosterList.aspx.cs to fetch data from the database. 1) Launch Visual Studio and open your solution where your project lives 2) Open the PosterList.aspx page. We will add some markup in this page. Have a look at the code below <section class="posters-featured"> <ul> <asp:ListView ID="posterList" runat="server" DataKeyNames="PosterID" GroupItemCount="3" ItemType="PostersOnLine.DAL.Poster" SelectMethod="GetPosters">...
    04-10-2012, 00:50 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • HowTo: Hide Video area of Silverlight Media Framework Player

    Since our onoing project ClipFlair is a follow-up of the succesful project LeViS, during its development I’m also looking at covering possible use-cases I infer from feedback entries at LvS application issue tracker on Codeplex (note that ClipFlair is also opensourced on Codeplex at http://ClipFlair.codeplex.com). One such issue (http://lvs.codeplex.com/workitem/11511) was titled “Allow video hiding while [...]...
    03-10-2012, 12:25 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , , ,
  • Building an ASP.Net 4.5 Web forms application - part 3

    Τhis is the third post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line. Make sure you read the first and second post in the series. In this new post I will keep making some minor changes in the Markup,CSS and Master page but there is no point in presenting them here. They are just minor changes to reflect the content and layout I want my site to have. What I need to do now is to add some more pages and start displaying properly data from my database. Having said that I will show you how to add more pages to the web application and present data. 1) Launch Visual Studio and open your solution where your project lives 2) Add a new web form item on the project.Make sure you include the Master Page.Name it PosterList.aspx Have a look at the picture below 3) In Site.Master add the following link to the master page so the user can navigate to it.You should only add the line in bold <nav> <ul id="menu"> <li><a runat="server" href="~/">Home</a></li>...
    03-10-2012, 01:43 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Why must be avoided to Installing SQL Server 2012 on Domain Controller

    Καλημέρα και καλό μήνα. Σε αυτό το σύντομο post θα ήθελα να επισημάνω τα εξής: Παρόλο που μπορούμε να στήσουμε τον SQL Server 2012 σε Domain Controller αυτό δεν συνίσταται από κανέναν. περισσότερα...
    01-10-2012, 13:19 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Enum Support in Entity Framework 5.0 using Model First and the EF Designer

    In this post I will show you with a hands-on demo the enum suppor t that is available in Visual Studio 2012, .Net Framework 4.5 and Entity Framework 5.0. In this post I will use the Model First paradigm available to us so I can demonstrate the support that is available for enums in the EF Designer. This model was firstly introduced in EF version 4.0 and we could start with a blank model and then create a database from that model.When we made changes to the model , we could recreate the database from the new model. Enum support is a new feature of EF 5.0 and .Net 4.5. So you must have that installed.VS 2012 targets .Net 4.5 by default. You can have a look at this post to learn about the support of multilple diagrams per model that exists in Entity Framework 5.0. You can also have a look at this post, Enum Support in Entity Framework 5.0 Code First . We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . Before I move on...
    28-09-2012, 02:02 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , ,
  • Looking into Code First Data Annotations in Entity Framework

    In this post I would like to talk about Data Annotations and how to use them in our Code First Entity framework applications.Developers use extensively EF to build their data access layer. We have 3 development paradigms in EF. We have Database First,Model First and Code First. The last one (Code First) gains increasing popularity amongst developers. I will use another post also found in this blog to demonstrate Data Annotations .In order to fully understand what I am talking about, you need to read this post titled Using the Code First approach when building ASP.Net applications with Entity Framework . It will take some time to create this application but it is necessary in order to follow along. With Data Annotations we can configure our domain-entity classes so that they can take best advantage of the EF.We can decorate our entity classes with declarative attributes.Let me give you an insight on how EF Code First works. EF Code First at run time, looks at the entity-domain classes and infers from them the in-memory...
    26-09-2012, 12:01 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • Looking into Enum Support in Entity Framework 5.0 Code First

    In this post I will show you with a hands-on demo the enum suppor t that is available in Visual Studio 2012, .Net Framework 4.5 and Entity Framework 5.0. You can have a look at this post to learn about the support of multilple diagrams per model that exists in Entity Framework 5.0. We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . Before I move on to the actual demo I must say that in EF 5.0 an enumeration can have the following types. Byte Int16 Int32 Int64 Sbyte Obviously I cannot go into much detail on what EF is and what it does. I will give again a short introduction.The .Net framework provides support for Object Relational Mapping through EF. So EF is a an ORM tool and it is now the main data access technology that microsoft works on. I use it quite extensively in my projects. Through EF we have many things out of the box provided for us. We have the automatic generation of SQL code.It maps relational data to...
    26-09-2012, 00:56 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , ,
  • Building an ASP.Net 4.5 Web forms application - part 2

    Τhis is the second post in a series of posts on how to design and implement an ASP.Net 4.5 Web Forms store that sells posters on line. Make sure you read the first post in the series.You can find it here . In all these posts I am going to publish, I will change the layout. That means I will make changes to the .master,.css,.aspx files and images. In the final post I will add the whole solution so you can download everything. Have a look at the picture below to see the new slightly changed layout Now that we have made the necessary changes to the . aspx pages,the master page,the .css files and adding some more images to our site we are ready to move forward and implement the data access layer. I will use Entity Framework 5.0 in order to create the data access layer. Obviously I cannot go into much detail on what EF is and what it does. I will give a short introduction though.The .Net framework provides support for Object Relational Mapping through EF. So EF is a an ORM tool and it is now the main data access technology...
    25-09-2012, 16:14 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Building an ASP.Net 4.5 Web forms application - part 1

    I am going to start a new series of posts on how to build an application using ASP.Net 4.5 Web forms.A few days back I have been asked to present a number of presentations on ASP.Net 4.5. Ι will demonstrate how to create a website that sells posters on line .In this web forms application I will design and implement the main functionality that is needed in order to have an operational e-shop. I will also use this series of posts to highlight the various features in ASP.Net and most particularly the new features available in ASP.Net 4.5. This is going to be part 1 of the application where I will explain what I am going to do.In the final post on this series of posts I will demonstrate on how to deploy the web site to Windows Azure . I will use Visual Studio 2012 Ultimate edition but you can use the Visual Studio Express 2012 for Web .You can download it here .The .Net framework will be installed automatically. In case you have trouble installing Visual Studio please have a look at this link . You can download everything...
    25-09-2012, 10:11 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , , ,
  • Sorting the columns of an HTML table using JQuery

    In this post I will show you how easy is to sort the columns of an HTML table. I will use an external library,called Tablesorter which makes life so much easier for developers. Τhere are other posts in my blog regarding JQuery .You can find them all here . You can find another post regarding HTML tables and JQuery here . We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . You can also use VS 2010 editions. 1) Launch Visual Studio. Create an ASP.Net Empty Web application. Choose an appropriate name for your application. 2) Add a web form, default.aspx page to the application. 3) Add a table from the HTML controls tab control (from the Toolbox) on the default.aspx page 4) Now we need to download the JQuery library. Please visit the http://jquery.com/ and download the minified version. Then we need to download the Tablesorter JQuery plugin. Please donwload it, here . 5) We need to reference the JQuery library and the external...
    24-09-2012, 21:51 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • Highlighting rows and columns in an HTML table using JQuery

    A friend of mine was seeking some help regarding HTML tables and JQuery. I have decided to write a few posts demonstrating the various techniques I used with JQuery to achieve the desired functionality. Τhere are other posts in my blog regarding JQuery .You can find them all here . I have received some comments from visitors of this blog that are "complaining" about the length of the blog posts. I will not write lengthy posts anymore...I mean I will try not to do so.. We will demonstrate this with a step by step example. I will use Visual Studio 2012 Ultimate. You can also use Visual Studio 2012 Express Edition . You can also use VS 2010 editions. 1) Launch Visual Studio. Create an ASP.Net Empty Web application. Choose an appropriate name for your application. 2) Add a web form, default.aspx page to the application. 3) Add a table from the HTML controls tab control (from the Toolbox) on the default.aspx page 4) Now we need to download the JQuery library. Please visit the http://jquery.com/ and download the minified...
    23-09-2012, 23:57 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Collection of Smooth Streaming Video URLs

    Here are some Smooth Streaming URLs I found on the Internet that you could use during development to test your smooth streaming players (like those based on SMF):   http://streams.smooth.vertigo.com/BigBuckBunny_30sec/bigbuck.ism/manifest http://video3.smoothhd.com.edgesuite.net/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest   http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_PGA.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_NASCAR.ism/Manifest http://video3.smoothhd.com/ondemand/Turner_Sports_MLB.ism/Manifest http://video3.smoothhd.com/ondemand/Akamai_ASP_Cutdown.ism/Manifest http://video3.smoothhd.com/ondemand/mix1/mix1.ism/Manifest http://video3.smoothhd.com/ondemand/mix2/mix2.ism/Manifest http://video3.smoothhd.com/ondemand/Big%20Buck%20Bunny%20Adaptive.ism/Manifest http://video3.smoothhd.com/ondemand/ElephantsDream.ism/Manifest http://video3.smoothhd.com/ondemand/Got_Imagination_(Indo).ism/Manifest...
    23-09-2012, 17:16 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , , , ,
  • SQL Server 2012 SP1 CTP4 Now Available

    Από το Ιούνιο έχει ξεκινήσει να δίνει στο κοινό η Microsoft σε CTP έκδοση το SP1 για τον SQL Server 2012. Σήμερα έβγαλε την επόμενη έκδοση (CTP4). Πέρα όμως από τον αναμενόμενο σκοπό των SPs σε αυτό υπάρχει και μια ιδιαιτερότητα που σπάνια εμφανίζεται στον SQL Server. Με αυτό το SP1 – CTP4 έρχονται και Νέες δυνατότητες όπως περισσότερα...
    20-09-2012, 23:18 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • The minority wins

    Our latest poll about supporting multiple branches for both .NET3.5 and .NET4.0 closed a few days ago. The results were in favor of .NET4.0 by 60%. However this was not an election and and the voice of the 40% is clear and loud. The new coming library we been working on has been refactored to .NET3.5 and in next version 12.1.7.2 we will remove the .NET4.0 dependency from the all other modules. However since our core libs now depend on .NET3.5 we see no reason for supporting 2 branches. We will return to our past branch which contained mixed .NET framework versions. Some modules like Workflow,Quartz, etc have a .NET4.0 dependency some not. We will run a similar poll in the future to see the size of the minority . Thanks again everybody for your contribution!...
    20-09-2012, 11:41 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
  • Microsoft SQL Server 2012 Setup Discovery Report

    Δεν είναι λίγες η φορές που αναρωτιέσαι τι έχει εγκατασταθεί από τα components του SQL Server σε ένα σύστημα που έχεις. Επειδή αρκετές φορές η μνήμη δεν βοηθάει ή η εγκατάσταση αυτή δεν έχει γίνει από εμάς τους ίδιους πρέπει να ψάξουμε για να τα βρούμε. Τρόποι υπάρχουν πολλοί και φαντάζομαι γνωστοί. Υπάρχει όμως ένας που είναι αρκετά ευκολότερος και αποδοτικότερος. περισσότερα...
    19-09-2012, 00:33 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Using Native Drag and Drop in HTML 5 pages

    This is going to be the eighth post in a series of posts regarding HTML 5. You can find the other posts here , here , here , here , here , here and here . In this post I will show you how to implement Drag and Drop functionality in an HTML 5 page using JQuery.This is a great functionality and we do not need to resort anymore to plugins like Silverlight and Flash to achieve this great feature. This is also called a native approach on Drag and Drop. I will use some events and I will write code to respond when these events are fired. As I said earlier we need to write Javascript to implement the drag and drop functionality. I will use the very popular JQuery Library. Please download the library (minified version) from http://jquery.com/download I will create a simple HTML page.There will be two thumbnails pics on it. There will also be the drag and drop area where the user will drag the thumb pics into it and they will resize to their actual size. The HTML markup for the page follows <!doctype html> <html...
    18-09-2012, 17:56 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Using CSS3 media queries in HTML 5 pages

    This is going to be the seventh post in a series of posts regarding HTML 5. You can find the other posts here , here , here , here , here and here . In this post I will provide a hands-on example on how to use CSS 3 Media Queries in HTML 5 pages. This is a very important feature since nowadays lots of users view websites through their mobile devices. Web designers were able to define media-specific style sheets for quite a while, but have been limited to the type of output. The output could only be Screen , Print .The way we used to do things before CSS 3 was to have separate CSS files and the browser decided which style sheet to use. Please have a look at the snippet below - HTML 4 media queries <link rel="stylesheet" type="text/css" media="screen" href="styles.css"> <link rel="stylesheet" type="text/css" media="print" href="print-styles.css"> Τhe browser determines which style to use. With CSS 3 we can have all media queries in one stylesheet. Media queries can determine the resolution of the device,...
    18-09-2012, 10:47 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • Using rounded corners in modern websites with CSS3

    This is going to be the sixth post in a series of posts regarding HTML 5. You can find the other posts here , here , here , here and here . In this post I will provide a hands-on example on how to use rounded corners (rounded corners in CSS3) in your website. I think this is the feature that is most required in the new modern websites. Most websites look great with their lovely round panels and rounded corner tab style menus. We could achieve that effect earlier but we should resort to complex CSS rules and images. I will show you how to accomplish this great feature with the power of CSS 3.We will not use Javascript. Javascript is required for IE 7, IE 8 and the notorious IE 6. The best solution for implementing corners using CSS and Javascript without using images is Nifty corners cube . There are detailed information how to achieve this in the link I provided. This solution is tested in earlier vesrions of IE (IE 6,IE 7,IE 8) and Opera,Firefox,Safari. In order to be absolutely clear this is not (and could not...
    17-09-2012, 17:22 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
  • How to create system object in SQL Server

    Αρκετές φορές σαν DBA θέλουμε να έχουμε κάποια objects (tables, stored procedures) σε ένα σημείο από όπου να μπορούμε να τα καλούμε από οποιαδήποτε βάση μας χωρίς να χρειάζεται να αναφερόμαστε σε αυτά με qualified name (πχ db_name.schema_name.obj_name). Να είναι τρόπο τινά system object. περισσότερα...
    17-09-2012, 10:42 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Using real fonts in HTML 5 & CSS 3 pages

    This is going to be the fifth post in a series of posts regarding HTML 5. You can find the other posts here , here , here and here . In this post I will provide a hands-on example on how to use real fonts in HTML 5 pages with the use of CSS 3. Font issues have been appearing in all websites and caused all sorts of problems for web designers.The real problem with fonts for web developers until now was that they were forced to use only a handful of fonts. CSS 3 allows web designers not to use only web-safe fonts. These fonts are in wide use in most user's operating systems. Some designers (when they wanted to make their site stand out) resorted in various techniques like using images instead of fonts. That solution is not very accessible-friendly and definitely less SEO friendly. CSS (through CSS3's Fonts module) 3 allows web developers to embed fonts directly on a web page.First we need to define the font and then attach the font to elements. Obviously we have various formats for fonts. Some are supported by all...
    16-09-2012, 22:59 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , , ,
  • Using multiple column layout with HTML 5 and CSS 3

    This is going to be the fourth post in a series of posts regarding HTML 5. You can find the other posts here , here and here . In this post I will provide a hands-on example with HTML 5 and CSS 3 on how to create a page with multiple columns and proper layout. I will show you how to use CSS 3 to create columns much easier than relying on DIV elements and the float CSS rule. I will also show you how to use browser-specific prefix rules ( -ms for Internet Explorer and -moz for Firefox ) for browsers that do not fully support CSS 3. In order to be absolutely clear this is not (and could not be) a detailed tutorial on HTML 5. There are other great resources for that.Navigate to the excellent interactive tutorials of W3School. Another excellent resource is HTML 5 Doctor . Two very nice sites that show you what features and specifications are implemented by various browsers and their versions are http://caniuse.com/ and http://html5test.com/ . At this times Chrome seems to support most of HTML 5 specifications.Another...
    16-09-2012, 20:17 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Full Text Search on SQL Server 2012

    Στο SQL Saturday Night αυτό, θα δούμε τις δυνατότητες που μας έχουν έρθει για το Full Text Search στον SQL Server 2012, αλλά και όσα πρέπει να γνωρίζουμε για αυτούς είτε είμαστε DBA είτε DB Developers. Εγγραφή (είναι δωρεάν)...
    16-09-2012, 01:25 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Creating a multi-column rollover image gallery with HTML 5

    I know it has been a while since I blogged about HTML 5. I have two posts in this blog about HTML 5. You can find them here and here . I am creating a small content website (only text,images and a contact form) for a friend of mine.He wanted to create a rollover gallery.The whole concept is that we have some small thumbnails on a page, the user hovers over them and they appear enlarged on a designated container/placeholder on a page. I am trying not to use Javascript scripts when I am using effects on a web page and this is what I will be doing in this post. Well some people will say that HTML 5 is not supported in all browsers. That is true but most of the modern browsers support most of its recommendations. For people who still use IE6 some hacks must be devised. Well to be totally honest I cannot understand why anyone at this day and time is using IE 6.0.That really is beyond me.Well, the point of having a web browser is to be able to ENJOY the great experience that the WEΒ offers today. Two very nice sites...
    15-09-2012, 21:09 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , ,
  • Page Inspector and Visual Studio 2012

    In this post I will be looking into a new feature that has been added to theVS 2012 IDE. I am talking about Page Inspector that gives developers a very good/handy way to identify layout issues and to find out which part of server side code is responsible for that HTML snippet of code. If you are interested in reading other posts about VS 2012 and .Net 4.5 please have a look here and here . This tool is integrated into the VS 2012 IDE.We can launch it in different ways. 1) We will create a new ASP.Net MVC application (an Internet application). I will not add any code. 2) In the Solution Explorer I choose my project and right-click. From the available options select View in Page Inspector Have a look at the picture below. 3) We can launch Page Inspector from the Standard Toolbar. Please have a look at the picture below. 4) Let's view our application with Page Inspector. First I inspect the About link-menu.I can see very quickly the HTML that is rendering for that link to appear. I also see the server side code (the...
    14-09-2012, 17:56 από Nikolaos Kantzelis ASP.Net Blog στο Dot Net Rules
    Δημοσίευση στην κατηγορία: , , ,
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems