|
Πρόσφατες Δημοσιεύσεις
-
I have been using JQuery for a couple of years now and it has helped me to solve many problems on the client side of web development. You can find all my posts about JQuery in this link . In this post I will be providing you with a hands-on example on the JQuery Image Zoom Plugin .If you want you can have a look at this post , where I describe the JQuery Cycle Plugin. You can find another post of mine talking about the JQuery Carousel Lite Plugin here . I will be writing more posts regarding the most commonly used JQuery Plugins . I have been using extensively this plugin in my websites.You can use this plugin to move mouse around an image and see a zoomed in version of a portion of it. In this hands-on example I will be using Expression Web 4.0.This application is not a free application. You can use any HTML editor you like. You can use Visual Studio 2012 Express edition. You can download it here . You can download this plugin from this link I launch Expression Web 4.0 and then I type the following HTML markup...
|
-
Copying from Microsoft Web Deploy readme: If you encounter any problems during installation, you can run appropriate command listed below for your version of Windows to create a log file that will contain information about the installation process: msiexec /L install.log /I <path_to_msi> You can analyze this log file after a failed installation to help [...]...
|
-
I have been using JQuery for a couple of years now and it has helped me to solve many problems on the client side of web development. You can find all my posts about JQuery in this link . In this post I will be providing you with a hands-on example on the JQuery Carousel Lite Plugin .If you want you can have a look at this post , where I describe the JQuery Cycle Plugin. I will be writing more posts regarding the most commonly used JQuery Plugins . I have been using extensively this plugin in my websites.You can show a portion of a set of images with previous and next navigation. In this hands-on example I will be using Expression Web 4.0.This application is not a free application. You can use any HTML editor you like. You can use Visual Studio 2012 Express edition. You can download it here . You can download this plugin from this link I launch Expression Web 4.0 and then I type the following HTML markup (I am using HTML 5) <html lang="en"> <head> <title>Liverpool Legends</title> <meta...
|
-
’ve been working with windows 8 and Metro style apps since Microsoft released Its first Read more...
|
-
Classes are in a sense behavior libraries. To initialize or configure them, we can use their properties. Serialization is a technic that helps distribute the state of our classes. In this post we will discuss how to serialize any class in the multi-layer XAF model! Then we finish with the model synchronizers which will control the class. Having a class or a part of a class serialized in the model makes it possible to continue development there without writing more code (declarative/runtime approach). Runtime classes In .NET is super easy to create runtime classes or interfaces. The following snippet will create a assembly with a Dynamic class. var provider = CodeDomProvider . CreateProvider ( "c#" ); var results = provider. CompileAssemblyFromSource ( new CompilerParameters (), new [] { @"public class DynamicClass{}" }); Assembly compiledAssembly = results. CompiledAssembly ; Modeling XAF’s super advanced and simple model technology is using interfaces...
|
-
While stepping through “ShowDialog()” method of OpenFileDialog with Visual Studio 2010 debugger, at the Silverlight code pictured below (for loading a ClipFlair window’s stored options), I got a “Dialogs must be user-initiated” exception. Same behaviour will be shown with SaveFileDialog too, every time you try to step through the “ShowDialog()” method. This is because of [...]...
|
-
I have been using JQuery for a couple of years now and it has helped me to solve many problems on the client. You can find all my posts about JQuery in this link . In this post I will be providing you with a hands-on example on the JQuery Cycle Plugin . I have been using extensively this plugin in my websites.You can rotate a series of images using various transitions with this plugin.It is a slideshow type of experience. I will be writing more posts regarding the most commonly used JQuery Plugins. In this hands-on example I will be using Expression Web 4.0.This application is not a free application. You can use any HTML editor you like. You can use Visual Studio 2012 Express edition. You can download it here . You can download this plugin from this link I launch Expression Web 4.0 and then I type the following HTML markup (I am using HTML 5) <!DOCTYPE html> <html lang="en"> <head> <title>Liverpool Legends</title> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"...
|
-
ack in August when I migrated my blog to Windows Azure Websites and WordPress, I Read more...
|
-
For ClipFlair, I’m looking into implementing advanced search using Silverlight PivotViewer A really nice example of PivotViewer search is at: http://www.appletoncompassion.org/VirtualExhibitViewer This may take long time to load, since its loading 10000 children art DeepZoom image tiles You can use the mousewheel to zoom in there or the zoom slider at top-right (can also [...]...
|
-
Project Linker is a Visual Studio Extension that “helps to automatically create and maintain links from a source project to a target project to share code that is common to Silverlight and WPF”. In ClipFlair, where I have shared code between a Silverlight and a WPF project (I guess same would be for XNA projects [...]...
|
-
When using MVVM design style for a Silverlight or WPF control, it is common to use the control’s DataContext to keep the associated ViewModel instance, so that in the XAML file for the control one can use simple binding statements from the UI to the view model (and back if TwoWay binding mode is specified) [...]...
|
-
Qualys BrowserCheck will perform a security analysis of your browser and its plugins to identify any security issues. You can install it at https://browsercheck.qualys.com/ Another useful quick online tool (needs no installation) for checking that you do have the latest in web browser technology is Browse Happy, at http://www.BrowseHappy.com Tagged: Browser, HowTo, HTML5, Plugins, [...]...
|
-
An annoying feature of Skype of recent Skype versions is that by default it shows an icon on the Windows taskbar apart from the one at the taskbar tray while you’re signed in. This also means it shows in the ALT+TAB key sequence when switching between open windows, which you might not always want to [...]...
|
-
If you want to use the latest DotNetZip library (version 1.9.1.8) with Silverlight, you should get a patched version from http://dotnetzip.codeplex.com/workitem/14049, instead of the official download for Silverlight. It seems the Silverlight build in 1.9.1.8 official download doesn’t work correctly, since it tries to get IBM437 Encoding (as the original ZIP spec required) from Silverlight, [...]...
|
-
At ClipFlair’s Playground Silverlight app I’m using DotNetZip library (Ionic.Zip namespace) for writing saved component state to a .ZIP file. In fact the Activity container there can create one .ZIP for each state that contains one .ZIP per-component it hosts (it can even host multiple instances of its own Activity componnt type to have nested [...]...
|
-
Was just debugging an issue with loading of saved state at ClipFlair’s Text component, when I realized that Silverlight’s (and WPF’s) RichTextBox control doesn’t accept an empty string at its Xaml proprerty to clear its contents as one would expect. Instead clearing the contents of the RichTextBox requires a call to Blocks.Clear(). In ClipFlair’s case, [...]...
|
-
ClipFlair’s project description website is based on WordPress (a quite extensible blogging platform based on PHP). The other day we had an issue with the AddThis Plugin for WordPress, which was adding tracking suffices (in the form #.UAxxxxx) to the end of our URLs on the browser address bar. Moreover this wasn’t occuring in Internet [...]...
|
-
In this post I will introduce you to Code First Migrations, an Entity Framework feature introduced in version 4.3 back in February of 2012. I have extensively covered Entity Framework in this blog. Please find my other Entity Framework posts here . Before the addition of Code First Migrations (4.1,4.2 versions), Code First database initialisation meant that Code First would create the database if it does not exist (the default behaviour - CreateDatabaseIfNotExists ). The other pattern we could use is DropCreateDatabaseIfModelChanges which means that Entity Framework, will drop the database if it realises that model has changes since the last time it created the database. The final pattern is DropCreateDatabaseAlways which means that Code First will recreate the database every time one runs the application. That is of course fine for the development database but totally unacceptable and catastrophic when you have a production database. We cannot lose our data because of the work that Code First works. Migrations...
|
-
Opensource movies made with Blender (http://www.blender.org) http://orange.blender.org/download http://www.bigbuckbunny.org/index.php/download/ http://www.sintel.org/download http://mango.blender.org/download/ At the download page for some of them you can also find subtitle files. Also at list of featured Blender movies (http://www.blender.org/features-gallery/movies/) I see the movie Project London which says there it’s an opensource project, but can’t find the movie download (maybe not available yet, [...]...
|
-
One of the main goals of the ClipFlair project is to explore the use of Video Captioning (together with Revoicing) for Foreign Language Learning (FLL). There both are important enhancements compared to the simpler two-line subtitling that was put in use in its ancestor project LeViS. Captioning means that multi-row text is needed while text [...]...
|
-
In this post I will be continuing my discussion on ASP.Net MVC 4.0 mobile development. You can have a look at my first post on the subject here . Make sure you read it and understand it well before you move one reading the remaining of this post. I will not be writing any code in this post. I will try to explain a few concepts related to the MVC 4.0 mobile functionality. In this post I will be looking into the Browser Overriding feature in ASP.Net MVC 4.0. By that I mean that we override the user agent for a given user session. This is very useful feature for people who visit a site through a device and they experience the mobile version of the site, but what they really want is the option to be able to switch to the desktop view. "Why they might want to do that?", you might wonder.Well first of all the users of our ASP.Net MVC 4.0 application will appreciate that they have the option to switch views while some others will think that they will enjoy more the contents of our website with the "desktop view" since...
|
-
Πριν από τρία χρόνια είχα γράψει ένα post με αυτό το θέμα. Το συγκεκριμένο post είναι από τα δημοφιλή θα έλεγα και έχει αρκετούς, από όσο γνωρίζω που έχουν χρησιμοποιήσει την συγκεκριμένη πρόταση.Παρόλα αυτά όμως το παλαιό post χρειάζεται ένα refactoring καθώς από τότε που γράφτηκε μέχρι σήμερα έχουν μεσολαβήσει αρκετές αλλαγές που σε αρκετές περιπτώσεις δεν θα δουλέψει. Για αυτό σε αυτό δίνω μια νέα βελτιωμένη εκδοχή. more...
|
-
XAF has a great security system which can be used to protect our data either at client or server side . There is also great support for modifying the Security behavior at runtime using a permission matrix . However we need to provide initial before distributing our application. In this post we are going to discuss a way connecting methods that describe permission policies with our domain objects using metadata (Attributes). For supplying initial data XAF provides a well documented approach through ModuleUpdaters . We can use them and write methods that create initial permissions. There are also many extension methods that can help us write faster code, Full permission policy This policy can be applied to any role and give full permission for the related objects. To connect a domain object with a method we need to do the following: Define a FullPermissionAttribute as, [ AttributeUsage ( AttributeTargets . Class , AllowMultiple = false )] public class FullPermissionAttribute : Attribute { } Decorate all related...
|
-
DashboardView is a type of XAF View that is used to display several Views side-by-side. However XAF by default does not provide any connection between these Views . In this post, with the help of XAF model, we will discuss a few abstract connection mechanisms and possible uses of dashboards. Cascading ListViews In a dashboard, in order to connect the ListViews we need first to connect their models. This can be done using the following interfaces, public interface IModelDashboardViewFilter : IModelNode { [ DataSourceProperty ( "FilteredColumns" )] IModelColumn FilteredColumn { get ; set ; } [ DataSourceProperty ( "DataSourceViews" )] IModelListView DataSourceView { get ; set ; } } [ ModelAbstractClass ] public interface IModelDashboardViewItemEx : IModelDashboardViewItem { IModelDashboardViewFilter Filter { get ; } } and then extend XAF’s model, see also our documentation...
|
-
In this post I will be looking how ASP.Net MVC 4.0 helps us to create web solutions that target mobile devices. We all experience the magic that is the World Wide Web through mobile devices. Millions of people around the world, use tablets and smartphones to view the contents of websites,e-shops and portals. ASP.Net MVC 4.0 includes a new mobile project template and the ability to render a different set of views for different types of devices.There is a new feature that is called browser overriding which allows us to control exactly what a user is going to see from your web application regardless of what type of device he is using. In order to follow along this post you must have Visual Studio 2012 and .Net Framework 4.5 installed in your machine.Download and install VS 2012 using this link . My machine runs on Windows 8 and Visual Studio 2012 works just fine.It will work fine in Windows 7 as well so do not worry if you do not have the latest Microsoft operating system. 1) Launch VS 2012 and create a new Web Forms...
|
|
|
|