|
Πρόσφατες Δημοσιεύσεις
-
I got an older Lumia 930 phone (nice big display and 20MP camera, Windows Mobile 8.1 upgradeable to Windows 10, main shortcoming is that it doesn’t have microSD slot) on big discount the other day, but after upgrading it to Windows 10 I accidentally entered the wrong PIN code at login an it managed to […]...
|
-
Azure Storage is a cloud storage solution for data storage scenarios and one key service, among others, is Azure Blobs, a scalable object store for text and binary data. A main use is to upload files to it, either as a long term backup solution, or as a way to serve documents, images and videos directly to a browser. To do so, you......
|
-
A colleague noticed earlier on today, that on the Chrome browser they were using, the search operator menu items of a jqGrid on a web app’s UI were jumping around on hover, making it practically impossible to select one. Seems this had started occurring on that ASP.net MVC web application, after a recent update […]...
|
-
If you need to customize the colors (or do more restyling) of validation messages in ASP.net MVC, the following snippet from a discussion on ASP.net forums should be useful: Add to Content/Site.css: /* styles for validation helpers */ .field-validation-error { color: #b94a48; } .field-validation-valid { display: none; } input.input-validation-error { border: 1px […]...
|
-
Lengthy tutorial for Vue.js and other useful tools. https://www.infoq.com/articles/vue-getting-started-aws-bulma Advertisements...
|
-
If you use Joomla! (CMS / Content Management System), you could switch to the free OpenStreetMaps instead of the recently-turned-much-more-expensive Google Maps, thanks to the OSModul extension for Joomla!: https://extensions.joomla.org/profile/extension/maps-a-weather/maps-a-locations/osmodul/ At the bottom of this page there is an example that uses a pin icon similar to how a location would appear in Google Maps. […]...
|
-
Today we will discuss another common case, how to create a progress bar to notify our web users about the state of their long running tasks. For this discussion we will work with DevExpress XAF Business Application Framework. We will develop ONE SMALL CLASS, we can then copy paste to any XAF project . It is a good idea before starting any work to search the Support Center for ideas and ask the DevExpress support guys. Doing so we found many tickets with ready to work solutions. Some of them are good candidates e.g How to start a long running operation in ASP.NET application using the ThreadPool.QueueUserWorkItem method and show its progress in a browser using a WebService method . The problem with the previous sample , is that uses a WebService to periodically call back in a Controller. I wanted to create a reusable implementation inside a library and a WebService cannot live in a library . But I got the idea on how to proceed . I just need to create a ViewItem to host a ASPxProgressBar and with periodic call-backs...
|
-
The other day I found how easy it is to use a Live CD/DVD (where packet writing occurs when adding stuff) instead of a Mastered one (where all is kept to be written when you close the disk) on Windows. It feels more like using a USB flash disk and should be more safe regarding […]...
|
-
Just came across this validation error display in an MVC app I’ve recently started maintaining. The required input field validation seemed to not be localized, resulting in a mixed English and Greek (from the field’s Display name) message: Looking at the MVC model I noticed they were using [Required] attributes for the userName and password […]...
|
-
Lately, I’ve got the task of maintaining/extending an ASP.net MVC web application that is using jQuery’s jqGrid for data grids on its UI. First thing I noticed was how confusing the search UI on the grid’s header was: Those symbols on the left-side of each column’s searchbox are for the type of search (e.g. contains, […]...
|
-
Microsoft is suggesting to always use Named parameters with SqlCommands for security reasons (to avoid SQL injection exploits), but they haven’t thought of providing a property at SqlCommand to give you back the result SQL so that you can have your app log it without resorting to SQL Server for that logging. Found a solution […]...
|
-
It seems VBScript (.vbs) script file’s DropHandler on Windows is broken regarding Unicode filenames, as described at https://stackoverflow.com/a/4366906/903783 A workaround suggested by user DG there (https://stackoverflow.com/a/13587850/903783) was to use a batch file to accept the dropped file, then pass the filename(s) to the VBScript script file (.vbs) as command-line parameters. If you just care about […]...
|
-
The information you send on the Internet is passed from computer to computer to get to the destination server. The least you can do to provide privacy, critical security and data integrity for both your websites and your users’ personal information is to have your application secured under an SSL certificate. SSL providers need to set up a trusted infrastructure......
|
-
Just came across the following case in C# that puzzled me momentarily, especially since the strings involved were long enough and the expression was broken on multiple lines: bool flag = true; string test1 = flag? "xa" : "xb"; string test2 = "x" + (flag? "a" : "b"); string test3 = "x" + flag? "a" […]...
|
-
Researching how to solve a “You have been logged on with a temporary profile” message on a system set up to use a roaming profile (and after I had first checked/fixed the filesystem for errors which is the classic cause for that when using local profiles) I came across this article: http://www.grouppolicy.biz/2011/07/how-to-reset-a-roaming-profile-in-windows-7 Near the […]...
|
-
Today I will detail about implementing Scheduled Long running tasks in an abstract and reusable way. The Requirement Usually, I have a business objects that store time depended data e.g. Exceptions, Logs etc. There is a need to periodically clean up those tables. The parameters First we need to identify the problem parameters so we can create a model interface . Parameterizing the problem in a model interface is very useful, because the end user can switch it off if something goes wrong. Parameters will be: the business object type which we want to clear its records, the criterion to filter the objects and the time to execute this action. The interface along with its registration for this is bellow. using System; using System.ComponentModel; using DevExpress.ExpressApp; using DevExpress.ExpressApp.Model; using DevExpress.ExpressApp.Model.Core; namespace PurgingRule.Module.Controllers{ //rules container public interface IModelClassPurgingRules:IModelClass{ IModelPurgingRules PurgingRules{ get ; } } [ModelNodesGenerator(...
|
-
One new feature recently announced, and currently in public preview, is the ability to host your own static website on Azure Storage, a solution which is more cost-effective than the traditional Azure App Service. In this post we will see the necessary steps to follow in order to enable web site hosting functionality on Azure Storage and, as a proof......
|
-
Quoting my comment from a discussion thread on the AMD Community website Actually the drivers back from 2015 that Microsoft serves for AMD laptop graphics adapters seem to make Windows 10 crawl (at everything, not just in graphics stuff). Installing the newest ones from AMD (in this case the beta driver) makes laptops work decently […]...
|
-
In this post, we will showcase the necessary steps to follow in order to de-associate your azure account from any subscription you have joined in the past and you no longer use. Till recently, in order to do so, you had to ask the admin of the subscription to perform this task, however, now, you can do it all by......
|
-
Θαυμάστε παρακάτω ένα έγγραφο (από ΔΕΥΑ Αγρινίου, έτους 2015) που δείχνει το αίσχος με πολλές επιχειρήσεις ύδρευσης / αποχέτευσης που καταχρηστικά ορίζουν ως τριτεγγυητή για χρέη του ενοικιαστή προς αυτές τον ιδιοκτήτη ενός ακινήτου. Αναφέρει: Δηλώνω δε με την παρούσα, ότι είμαι υπεύθυνος εξ’ ολοκλήρου για την εξόφληση των λογαριασμών, σε περίπτωση κατά την οποία, […]...
|
-
I just came across this strange thing on twitter: Received a notification that some “Virginia A. Osborn” liked a tweet of mine that was a) in Greek b) totally of a subset of Greek residents interest, highly unlikely it would have meant anything to a person with a foreign name. Then I saw that twitter […]...
|
-
This will be a discussion of a possible solution with the requirement to query a large number of web services and selectively project the responses in UI and in a database. For the UI I chose the XAF application framework from DevExpress, because I wanted the tools to validate, secure, display and persist my data while I spent my time designing the service layer. For sending the web requests I introduced a service layer in my solution where I used the HttpClient class and I serialized the responses with Utf8Json . Here I want to draw your attention to the bad design of the HttpClient. This class implements IDisposable which makes you think that you can use it in a multithreaded environment and simply dispose it. However the case as it turns out is different, designed to be re-used for multiple calls, and there is a lot of buzz around ( Link1 , Link2 , Link3 ). In short if you try to dispose the HttpClient when the request is done you will end with endless debugging hours. In the previous posts there are...
|
-
HTTP/2 is a major revision of the HTTP network protocol used by the World Wide Web and comes with a promise to make our applications faster, simpler, and more robust by allowing us to undo many of the HTTP/1.1 workarounds previously done within our applications and address these concerns within the transport layer itself. In this post, we will showcase how simple it is to......
|
-
In this tutorial we will use Computer Vision service to analyze an image and determine the accent and dominant color and whether the image is black & white or colored. Step 1. Create Computer Vision Service Let’s start by creating the Computer Vision API service. To do so, head over to Azure portal, click on Create Resource link, select AI + Machine......
|
-
Unfortunately, Microsoft seems to have gone to extra lenghts to make the Windows Live suite of software go away, without anyone thinking that there were people who were using them and without offering file/project-level compatible replacements for user-friendly tools like Windows Live Movie Maker. Only Windows Live Writer was at some point reincarnated as the […]...
|
|
|
|