|
Πρόσφατες Δημοσιεύσεις
-
In order to sort a collection of objects based on another list that contains the proper order, we can create an extension method that performs a Join between these two collections and pass a func as innerKeySelector argument to allow us to sort this collection based on whatever key we want. Example [crayon-56b287338aceb734717922/] ...
|
-
I’m in the process of setting up a temporary landing page for the trafilm project, where I need apart from showing the trafilm logo to also show some text description about the project, till I set up an instance of MonoX Social CMS for it, like the one in ClipFlair’s Community website (ClipFlair Social). Since […]...
|
-
-
In a cloud environment, sooner or later, you may come across scenarios where some services might become temporarily unavailable, since you are depending, to a large extent, on network connections and external services. Usually, these are little glitches that may even be self-healing, however, in order not to ruin the user experience, you have to be prepared to handle them skillfully. Usually, in......
|
-
[crayon-56b287338b407356608560/] ...
|
-
The Microsoft Azure Storage Data Movement Library in an open source library designed for high-performance Read more...
|
-
In Azure portal, if your account contributes to other azure subscriptions, you are allowed to switch from one to another using a drop-down menu at the top left corner. Problem is that by default the name used in Azure Active Directory is “Default Directory” which seems a little confusing. In order to change it to something more meaningful you can use the old windows azure portal,......
|
-
I was setting up a new Lumia phone (with Windows Phone 8.1) and neither phone update, nor the (Here) maps downloads were working. When trying Settings / Phone Update, it was showing error 80072f8f and was pointing to http://www.windowsphone.com/en-us/how-to/wp8/basics/solutions-to-update-issues to read more info. However that error code wasn’t listed there. Wonder if there is any […]...
|
-
Since Azure SDK 2.7 for .NET App Service Tools for Visual Studio 2015 supports remote profiling for Web Apps, API Apps and WebJobs running in Azure. So, in case you want to analyze performance issues in your application there are three ways you can do it: Using Visual Studio 2015 Browsing the Azure App Service’s Site Control Management dashboard (aka kudu) Using......
|
-
At TrackingCam app (http://TrackingCam.codeplex.com) I have the following WPF code, where cbTrackingPresenter is a CheckBox control defined in my MainWindow’s XAML: private void cbTrackingPresenter_Checked(object sender, RoutedEventArgs e) { if (cbTrackingPresenter.IsChecked == true) StartTrackingPresenter(); else StopTrackingPresenter(); } Note the (redundant in my opinion) == true pattern used there. If the == true […]...
|
-
These are some quick notes on how to configure an SQL Server to Listen on a Specific TCP port. Open Run Command line and type: SQLServerManager12.msc for SQL Server 2014 SQLServerManager11.msc for SQL Server 2012 SQLServerManager10.msc for SQL Server 2008 and press Enter. To assign a TCP/IP port number to the SQL Server Database Engine In SQL Server Configuration Manager, in the console......
|
-
Here are some suggestions I’ve sent via Windows Insider feedback app for Windows 10: 1) Add the Fullscreen button to titlebar of ALL windows, not just the ones of Windows 8.1 Store apps. UWP (Universal Windows Platform) apps don’t seem to show zoom button on their titlebar (to make it and any borders autodisappear and […]...
|
-
Sometimes when you catch an exception in .NET, the message it prints out isn’t very informative, since it is wrapping another exception that had been thrown a bit inner in the code. That exception is in that case accessible via InnerException of the Exception instance. That inner exception is also an Exception, so one would […]...
|
-
it would be nice if C# supported syntax like: public static DependencyProperty Register(static DependencyProperty x, string name, Type propertyType, Type ownerType, FrameworkPropertyMetadata typeMetadata) that is static extension methods for classes, that can be invoked without a class instance (just with the class type), apart from normal extension methods that can be invoked on a class […]...
|
-
At SpeechTurtle application, I’ve just added speech feedback (voicing of a command) when an available command is executed using a mouse click on its name. That could also help the user learn the expected pronunciation in English in case the speech recognition engine doesn’t understand some of the commands as voiced by the user. One […]...
|
-
Based on others answers at http://stackoverflow.com/questions/3123870/find-the-location-of-my-applications-executable-in-wpf-c-or-vb-net here’s an example that shows how to remove the executable name from the path and combine the result with some subfolder and filename: At my updated version of Hotspotizer (http://github.com/birbilis/Hotspotizer), I’ve just added support for loading a Gesture Collection file at startup, if found at Library\Default.hsjson, by using the […]...
|
-
When you launch a web project in Visual Studio, by default is uses the 32-bit version of IIS Express. To change that you can enable the 64-bit version through Options. So, head to:...
|
-
I’ve just updated an older answer of mine at: https://social.msdn.microsoft.com/Forums/vstudio/en-US/716ef041-0a59-4c1d-9519-e14db4de7e75/localizability-vs-localizable-attributes-in-control-dev?forum=wpf In case you’re wondering too what’s the difference between Localizable and Localizability attributes in .NET, maybe this helps a bit: https://msdn.microsoft.com/en-us/library/ms753944(v=vs.100).aspx LocalizableAttribute – Specifies whether a property should be localized LocalizabilityAttribute – Specifies the localization attributes for a binary XAML (BAML) class or class member […]...
|
-
I type-in new PropertyMetadata(OnCenterXPropertyChanged) but since I haven’t yet implemented On…, I get a suggestion by the IDE to implement it but it suggests to add field, property or read-only field, not to implement the callback for me with the given name. It can find the method signature needed from the delegate that PropertyMetadata (one […]...
|
-
When using http://github.com/zoomicon/ZUI I would like to write: FloatingWindow window = new FloatingWindow() { Content = display, Title = IconText = title }; but I have to write: FloatingWindow window = new FloatingWindow() { Content = display, Title = title, IconText = title }; instead. For consistency, I’d prefer that […]...
|
-
Useful to know: If you set the Width and Height on the UserControl though, you have set a fixed size and thus even if its parent tool window changes size, the UserControl never will. You should not set Width and Height on the UserControl if you want that event to be raised as the parent […]...
|
-
For some time now, I was getting very annoyed while copy-pasting content from other software into Microsoft Word 2010. I would press CTRL+C at some other software and then would press ALT+TAB to go into an open Word document and press CTRL+V to paste, but it would not. So I had to move my fingers […]...
|
-
One of the coolest experiments from Codrops to simulate rain using WebGL....
|
-
At http://www.askvg.com/fix-windows-10-insider-preview-build-10240-not-appearing-on-windows-update/ it writes: NOTE: If you previously had a new Windows 10 build installed in your computer and then reverted back to an older build, you’ll lose access to the new build and it’ll no longer be offered as an upgrade option. Deleting the number for that build from the list at HKEY_LOCAL_MACHINE\SOFTWARE\ […]...
|
-
I recently posted a list of the VS2015 extensions I use on my main machine at: https://zoomicon.wordpress.com/2015/11/13/visual-studio-2015-extensions-i-use/ From that list of extensions I use the Productivity Power Tools one, it has a "Power Commands > Remove and Sort Usings" action that one can right click and run on the whole solution. Much easier than opening […]...
|
|
|
|