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

 

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

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

  • How to localize Reports in SQL Server Reporting Services

    Επειδή στην σημερινή εποχή τα reports μας μπορούν να τα βλέπουν χρήστες που δεν έχουν απαραίτητα το ίδιο culture με εμάς, είναι σκόπιμο να τους δίνουμε αυτό την εμπειρία καθώς έτσι θα κάνουν καλύτερα την δουλειά τους και εμείς θα έχουμε ένα χρήστη λιγότερο πάνω από το κεφάλι μας. http://www.sqlschool.gr/blog/how-to-localize-reports-in-sql-server-reporting-services-943.aspx...
    15-08-2013, 01:58 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Conditional assemblies merged in ModelArtifact in 13.1.6

    Hello all, The following modules do not exist anymore in 13.1.6.1 ConditionalActionState , ConditionalControllerState , ConditionalObjectView now are under the ModelArtifact omprella. Also Logic.Win merged with Logic module. So you need to remove all code and change the usings in case you have them install in your projects. There are a few breaking changes in 13.1.6.1, so please post in the forums in case you get lost with the new super fast and flexible logic ruling engine. In short everything that has to do with Logic Rules is now handled by the logic modules and there are a few classes like LogicRuleManager, LogicInstallerManager, LogicRuleCollector, LogicRuleEvaluator etc that do all the hard job. The design now is very clean and easy to follow and I am sure it will reduce many strange issues we had and will help to build new modules based on the Logic engine!...
    14-08-2013, 19:01 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • FILESTREAM Best Practices from usage and experience

    Από τον SQL Server 2008 υπάρχει ένα feature που είναι ιδανικό για BOL fields μέσα στην βάση. Αναφέρομαι φυσικά στο filestream. Προσωπικά το έχω χρησιμοποιήσει σε μεγάλο βαθμό σε μια εφαρμογή στην οποία αποθηκεύονται έγγραφα, φωτογραφίες υψηλής ανάλυσης. Θα ήθελα να προσθέσω μερικά ακόμα tips τα οποία προέρχονται 100% από την χρήση του σε μία βάση που το μέγεθος της είναι πολύυυυυυυυυυ μεγάλο http://www.sqlschool.gr/blog/filestream-best-practices-from-usage-and-experience-942.aspx...
    13-08-2013, 01:01 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • How to configure report pagination based on data groups for excel exporting

    Ένα report μπορούμε να το δούμε online ή να το κάνουμε export με σκοπό να επεξεργαστούμε τα δεδομένα με την ησυχία μας. Σε αυτές τις περιπτώσεις σημαντικό είναι το πώς έχουμε διαμορφώσει την εμφάνιση των reports μας. Ποιο σημαντικό είναι το pagination. Σε αυτό το web cast σας δείχνω πως χρησιμοποιώντας τo grouping και το pagination σε αυτό μπορείτε να κάνε export σε excel με τέτοιο τρόπο ώστε κάθε τιμή στο pagination να είναι σε ξεχωριστό excel sheet. http://www.sqlschool.gr/blog/how-to-configure-report-pagination-based-on-data-groups-for-excel-exporting-941.aspx...
    11-08-2013, 11:59 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Flexible-fast layouts with CSS styles in the XAF application model

    XAF has a build-in mechanism for customizing the layout’s. However nothing can be compared with the power of native CSS styles. In this post I will discuss eXpand’s implementation of CSS styles in the XAF application model . How XAF renders a layout To render a web layout XAF uses the WebLayoutManager class. This class queries all the IModelViewLayoutElements of a DetailView.Model.Layout and renders WebControls accordingly. For example for an IModelLayoutViewItem which is an interface that links the layout element with a property editor, the WebLayoutManager will render two controls. The first one will hold the caption/label and the second one will be the actual control depending on the type of the property editor. Take a look how an looks IModelLayoutViewItem in the Model Editor . As you can see XAF supports a lot of attributes by default! Due to the large number of attributes WebLayoutManager introduces a table to hold and position our controls and a div above it to allow more flexibility in configuration. It...
    06-08-2013, 17:20 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • Using Power Query add-in for Excel to get data from web and facebook

    Σε αυτό το web cast – post θέλω να σας δείξω πόσο μα πόσο απλό είναι να αντλήσεις δεδομένα από web sites αλλά και από το facebook. Όσοι είστε data geeks και έχετε ή θέλετε να ενσωματώσετε περισσότερα δεδομένα στην ανάλυση των δεδομένων που κάνετε αυτό είναι το πρώτο βήμα και το οποίο μάλιστα είναι και αρκετά εύκολο και το σημαντικότερο είναι δωρεάν. http://www.sqlschool.gr/blog/using-power-query-add-in-for-excel-to-get-data-from-web-and-facebook-940.aspx...
    04-08-2013, 17:07 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • How to determine if a database can run on a lower SKU (edition) of SQL Server

    Πρόσφατα ρωτήθηκα αν μια συγκεκριμένη database μπορούμε να την βάλουμε σε κατώτερη έκδοση SQL Server καθώς θέλανε να την εγκαταστήσουν σε ένα υποκατάστημα και δεν ήθελαν να αγοράσουν Enterprise edition του SQL Server. http://www.sqlschool.gr/blog/how-to-determine-if-a-database-can-run-on-a-lower-sku-edition-of-sql-server-939.aspx...
    29-07-2013, 23:43 από το μέλος Antonios Chatzipavlis στο Rocking with Knowledge for .NET programming
  • Gotcha: use server-side comment, not HTML comment in ASP.net

    I try to remember to use <%– and –%> instead of <!– and –> for comments in server-side web pages, to avoid having implementation details (for security reasons that is) in the output HTML and to keep the download size smaller / have the pages load faster. What came to me though the other day […]...
    29-07-2013, 01:15 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , ,
  • Creating object relationships using the application model

    In next version of eXpandFramework 13.1.5.13 it will be possible to create associations between business objects. Let’s see in details how this will work. 1. Installation – Prerequisites The runtime members can be found in the eXpand.ExpressApp assembly, therefore you need to install the XpandSystemModule. However because this assembly has platform specific versions you will not find it in the toolbox and you have to go for its win or web version which is XpandSystemWindowsFormsModule or XpandSystemAspNetModule. To see how easy it is to install the XpandSystemWindowsFormsModule watch the next video. Note that it is also possible to create object relationship for the web. 2. Simple association In the next video you can see how we can create a relationship between two entities at runtime. To be more specific I will create a relationship between the TopicIcon and The Category business objects. I already have a sample application and logged in as the Admin user so the relationship I will create it will be stored in...
    28-07-2013, 18:46 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • Gotcha: Java Calendar class returns 0-based month, but 1-based days

    Just noticed that the Java Calendar class breaks the least-user-expected rule (that is don’t make something behave in the least expected way) regarding the indexing of the month value it returns, compared to all other indexed variables it can return (like day of year, day of month, day of week etc.). The former is using […]...
    18-07-2013, 14:02 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , , ,
  • Runtime views created from business users

    You all know the powerful Application Model Editor with the embedded layout control that allows view creation without any technical knowledge. However the Model Editor is so powerful that may be dangerous to allow access to everybody. A few years now in eXpand we have the XpandViewVariants module that allowed end users to build views without the model editor. This modules is based in XAF ’s built-in ViewVariants module and the XAF team is constantly improving it. However eXpand resources are not so huge so our module was a bit outdated. Today things changed, because I spend some hours to refactor the ModifyVariantsController and now can do magic. if you using eXpand you only need to install XpandViewVariants module, if not and thanks to XAF’s MVC architecture just grab the controller for eXpand’s online repository http://goo.gl/mnFR7 or even follow its history http://goo.gl/CPx5A . Now simply watch the next video to see that this controller can do for you. http://screencast.com/t/nrELagRJBhY P.S.: We really appreciate...
    16-07-2013, 10:23 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • HowTo: Bind ASP.net control to list of files or folders

    At from ClipFlair Gallery metadata input pages for Activities and Clips I had to bind an ASP.net control to a list of files and folders respectively and although I found a Folder Contents DataSource control, it didn’t cover my needs (like filtering of a folder contents). I just contributed my solution using .NET Anonymous Types and […]...
    15-07-2013, 03:33 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
  • Anonymous authentication for XAF aps.net applications

    As promised  in eXpand’s forums with next version of eXpand (13.1.5.8) you can enjoy anonymous authentication for your web applications! The anonymous authentication functionality is embedded in Xpand.ExpressApp.Security.Web module. After installing this module you need to enable it and setup the anonymous username using XAF ’s Application Model Editor . It is possible and recommended to combine anonymous authentication with auto-authentication discussed in http://apobekiaris.blogspot.gr/2013/07/auto-authentication-rememberme-for-your.html . Note that the model of the previous post is refactored to allow each feature to work independently. Next you need to configure XAF’s security system by setting up the Authentication and the LogonParameters as illustrated in the image bellow.   And finally you need to create the anonymous user and role in your ModuleUpdater .cs. For this and if your use XpandRole class I provided the next extensions methods (GetAnonymousRole, GetAnonymousUser). void CreateAnonymousSecurityObjects...
    14-07-2013, 17:21 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: ,
  • HowTo: Remove invalid filename characters in .NET

    In ClipFlair Studio I use DotNetZip (Ionic.Zip) library for storing components (like the activity and its nested child components) to ZIP archives (.clipflair or .clipflair.zip files). Inside the ZIP archive its child components have their own .clipflair.zip file and so on (so that you could even nest activities at any depth) which construct their filename […]...
    12-07-2013, 23:28 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , , , , , ,
  • Reviewing “Getting Started with nopCommerce” book

    Usually I am not reviewing software books but recently I have purchased and read Getting Started with nopCommerce The overwhelming majority of my websites are built using NopCommerce (ASP.Net MVC,Entity Framework,JQuery). I am a senior developer at a small company (NopServices – http://www.nopservices.com ) that use NopCommerce as the shopping cart of choice, so I grabbed this book just out of sheer curiosity. I use this book to help content writers/managers who work under me at my day job acclimated to NopCommerce so that they are able to take the sites I have built, add products, add content and in general make all the necessary configurations. This book is rather short is very easy to read and understand. The whole learning experience is smooth because of the many screenshots that appear in the book. In the first chapter, the reader can understand what are the prerequisites and requirements in order to work with NopCommerce. Then we learn how to install the various components, install SQL Server and Visual...
    11-07-2013, 17:32 από το μέλος nikolaosk στο Dot Net Rules
  • HowTo: Perform ASP.net action after page child controls are databound

    While creating metadata entry/update pages for ClipFlair’s Activity and Clip Galleries I had the problem of figuring out how to do some initialization (from XML data, loaded from a filename based on the 1st item of a DataBound control), after all child controls of the ASP.net Page have been databound (from XmlDataSource). Seems others have […]...
    11-07-2013, 11:57 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , ,
  • Auto authentication + rememberme for your XAF web apps coming

    In next version 13.1.5.2 of eXpandframework there is a new Security module for web (Xpand.ExpressApp.Security.Web.dll) that can automatically logon using forms authentication. It is based on the CanAutomaticallyLogonWithStoredLogonParameters functionality of XAF web apps. Installation To use it simply install the Xpand.ExpressApp.Security and use the XpandLogonParameters object in your authentication type To enable this functionality as usual we need to use XAF’s Application Model editor . As you can see in the image above it is possible to control the ticket expiration as well. By default XpandLogonParameters will render a RememberMe checkbox However again using Model Editor we can simply remove the RememberMe PropertyEditor and the auto authentication will work for any user logged in last!   Happy XAFing to everyone! and do not forget your input in our forums http://www.expandframework.com/forum/11-news/3452-auto-authenticate-and-remember-me.html#4007 P.S.: Here is the related code in our github repo http://goo.gl/XfIP...
    10-07-2013, 15:24 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία: , , ,
  • Poll - Which of the following eXpand modules/feautres do you use most?

    Our community project ( www. eXpandframework .com) is growing fast and thanks everybody for the contribution and trust! However in order to use our limited resources better and make some plans for the future I would to ask your participation in the following survey. I would like to ask your input one more time in the following survey: Click here to take survey...
    09-07-2013, 05:39 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • Which eXpand module/feature do you use most?

    Our community project ( www. eXpandframework .com) is growing fast and thanks everybody for the contribution and trust! However in order to use our limited resources better and make some plans for the future I would to ask your participation in the following survey. I would like to ask your input one more time in the following survey: Click here to take survey...
    09-07-2013, 05:14 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • DetailView as a PreView in GridView

    Recently I had the need to display a complex layout as a preview row in my AspxGridView. Instead of adding a nonpersistent property where I will construct the html I though it would be easier to simply use XAF ’s ModelEditor to design a DetailView and then assign that in my preview row. After one hour or less I ended up with this controller.     [ ModelAbstractClass ]     public interface IModelListViewPreviewRowDetailView : IModelListView {         [ DataSourceProperty ( ModelViewsDomainLogic . DataSourcePropertyPath )]         [ DataSourceCriteria ( ModelObjectViewDomainLogic . ModelViewsByClassCriteria )]         [ Category ( "eXpand" )]         IModelDetailView PreviewRowDetailView { get ; set ; }     }       public class PreviewRowDetailViewController : ViewController < ListView >, IModelExtender...
    09-07-2013, 04:30 από A.Bekiaris's .Net / XAF Blog στο A. Bekiaris's Blog
    Δημοσίευση στην κατηγορία:
  • Visual Studio 2012 tips that will improve your coding speed - Web developers

    Disable "Start Page" There is no reason to wait every time for the "Start Page" to load its contents from the internet and display. So the best thing to do is disable it using the checkbox at the left, bottom of it Switch between/Execute programs on taskbar without the mouse You can use the Win + Number to switch between the open programs in the taskbar. If the program is not running it will execute, otherwise it will get the focus. Win + Shift + Number will open a new instance of the progam on the taskbar. Those are extremely useful especially when you are doing web development and want to be able to switch between browser windows and VS. Finaly, the most important Win + Ctrl + Shift + Number will run the program as administrator. Associate "Open Containing folder to a shortcut Go to "Quick Launch" and start typing "Keyboard...". Select "Environment -> Keyboard". In the "Show command containing" write "OpenContaining" and select the match at the list below. Assign the shortcut key (eg press "Ctrl + Shift +...
    08-07-2013, 07:40 από Ioannis Panagopoulos blog στο C# and .NET Tips and Tricks
    Δημοσίευση στην κατηγορία:
  • Implementing a JSON REST service with ASP.NET MVC

    Two years ago, I have written a post about implementing a REST service using WCF. Back then, I didn't know that I was referring to services over the HTTP protocol which are not necessarily REST. Nevertheless, since it seems (from my blog analytics point of view) that people out there when they search for REST services actually imply services over the HTTP protocol or not SOAP more generally I kept the same title in this post. The point is that you have some kind of client code in javascript and you need to implement in ASP.NET MVC a bunch of services that support getting/putting data from/to your database. In this post we will see how to take advantage of ASP.NET MVC 3 to implement such a JSON service and explore how you can pass data back and forth. I could write this post for ASP.NET MVC4 but in many ways I believe that knowning how to do that in ASP.NET MVC3 helps you understand a lot of the automations that the new MVC version has brought to the picture. Taking also advantage of the WebAPI in ASP.NET MVC4...
    26-06-2013, 10:26 από Ioannis Panagopoulos blog στο C# and .NET Tips and Tricks
    Δημοσίευση στην κατηγορία:
  • An introduction to creating scalable Single Page Applications with Knockoutjs and SASS

    Everyone who develops web applications (or websites in general) knows that the basic tools for creating simple "Single Page Applications" are HTML5, CSS3, JQuery and a server side framework (such as ASP.NET MVC) for serving data to AJAX requests. Although those are sufficient for implementing SPAs, they tend to lead to implementations that violate basic software design principles, leading to designs that are not easily scalable, difficult to debug and overly complicated. In this post we will see how we can take advantage of the Knockoutjs and Syntactically Awsome StyleSheets - SASS frameworks in order to design SPAs that respect: The "Single Responsibility Princile - SRP" that states that each software module should be responsible for only one thing in your code. In our case, we will implement the Model-View-View-Model pattern using the Knockoutjs framework to clearly separate the logic that drives the workings of UI from the logic that provides the data/behavior for the UI The "Do not Repeat Yourself Principle...
    25-06-2013, 20:05 από Ioannis Panagopoulos blog στο C# and .NET Tips and Tricks
  • Fix: Java ServletException: IncompatibleClassChangeError

    was getting an error like the following at your JavaEE Servlet (Portlets are also Servlets under the hood btw): javax.servlet.ServletException: javax.portlet.PortletException: java.lang.Throwable: java.lang.IncompatibleClassChangeError: : incorrect call to interface method   at first I thought the issue was with:   <bean:message class=”someCSSstyleClass” key="someMsgKey"/>   and used instead:   <span class="someCSSstyleClass"><bean:message key="someMsgKey"/></span>   in case the “class” […]...
    25-06-2013, 18:49 από George Birbilis @zoomicon στο George Birbilis' blog
    Δημοσίευση στην κατηγορία: , , , , , , , , , ,
  • Windows Azure: Major Updates for Mobile Backend Development

    It was only last week, when I talked about Windows Azure mobile services in a Read more...
    14-06-2013, 13:59 από K# on the cloud στο K#
    Δημοσίευση στην κατηγορία:
Περισσότερες Δημοσιεύσεις « Προηγούμενη - Επόμενη »
Με χρήση του Community Server (Commercial Edition), από την Telligent Systems