|
Πρόσφατες Δημοσιεύσεις
-
This Thursday 4/12 at 19.00 I’m going to be presenting Azure Mobile Services at the Read more...
|
-
Another very successful ITPro|DevConnections event was completed this weekend. A big “thank you” to all Read more...
|
-
People will sometimes attack random websites for their own reason. DotNetHints, being a random website, was bound to become a target of attacks as well. As far as I can tell there has been no damage on either the website or the database. Since all the things I've learned proved quite useful as well as interesting, I decided to write an article containing a list of interesting attack tools, using the attacks made on DotNetHints as a guideline, mentioning what was the purpose of each and every one of them. SQL Injection attacks If you would like to read a few basic things concerning attack patterns, you can read this previous article . Now, let's talk about SQL Injection attacks. An SQL Injection is an attack where text inserted as input can be translated as malicious SQL statements. For example, DotNetHints gets the value of the blog article to show using the query string, let's say http://dotnethints.com/blog?id=53. We could assume that number 53 is passed through the database into...
|
-
Yes, it’s that time of the year, just two days left for the largest IT Read more...
|
-
My comment at: https://github.com/loarabia/ManagedMediaHelpers/issues/16 While trying to use Mp3MediaSource at ClipFlair Studio’s AudioRecorder control (http://clipflair.codeplex.com), I noticed that when I was doing Stop() at MediaElement and then Play() it kept on playing from where it was before at Mp3MediaStreamSource So I did the following fix: 1) added these fields /// <summary> /// The first […]...
|
-
At ClipFlair’s AudioRecorderControl (used in Captions/Revoicing component of ClipFlair Studio), I use the following code to initialize a MediaElement to use for playback. After a long time a found out that if the MediaElement is not in the visual tree (for example defined in XAML, or defined in code and then added to the visual […]...
|
-
Just added the following comment to: https://github.com/loarabia/ManagedMediaHelpers/issues/15 Managed Media Helpers contains the very useful Mp3MediaSource class for .NET / Silverlight / Windows Phone. Added compile-time SWITCHES and respective code to Silverlight demo code for PRELOAD (into memory stream) and AUTOPLAY (this was a bit tricky, need to call Play at MediaOpened event, not right after […]...
|
-
It’s not dead. I promise. I haven’t written a single thing for a loo<chuchu_train>oooooooooo</chuchu_train>ng time. It was for a good reason. So what happened? Well: I joined Microsoft. Which means I had to drop my MVP status. I’m a Technical Evangelist, writing code, spreading knowledge. I moved to Vancouver, BC to be closer to my team. […]...
|
-
This session is so awesome, I just had to post it here so that I Read more...
|
-
at http://zachis.it/blog/7-dangers-of-using-windows-server-on-a-wordpress-installation/ the thing that guy says about Permalinks isn’t accurate at all (not that the other things that he says are any accurate that is). WordPress Codex have documentation on how to configure URL rewriting in web.config that is necessery for Permalinks to work in IIS. e.g. at http://ClipFlair.net, if you press the "about" […]...
|
-
Opportunities If you are ready to ask the big questions, to work to make technology better, and push the edge on innovation, let’s make it happen together. At Microsoft we offer you the opportunity to start your global career. With a presence in 190 countries you have the chance to impact users around the world. Software Engineers at Microsoft are passionate about building technologies that make the world a better place. Work on software applications and services for consumers, gamers, developers, or large enterprise customers. Our teams touch all levels of the stack, so you will find the technology that excites you. Your efforts on the design, development, and testing of next-generation applications will have an impact on millions of people. Software Development: New Graduate and Intern Qualifications: · Pursuing a Bachelor’s, Master’s or Ph.D. degree in Engineering, Computer Science or related field · 1-2+ years of experience programming in C/C++, Java, C# or other computer programming languages preferred ·...
|
-
Two days left for AzureConf 2014, if you haven’t registered for it yet now is Read more...
|
-
The Microsoft Azure Storage Team released their latest Azure Storage Client Libraries and Tools which Read more...
|
-
Today the Azure Media Services team announced a new tool, namely the Azure Media Services Read more...
|
-
We have already talked about exception handling and creating error pages on a previous article . In this article we will see how we can use the Global.asax Application_Error method to handle every possible exception in our website. Introduction Typical exception handling can use try catch blocks in pieces of code where an exception is likely to happen. On the other hand an error page works for all possible exceptions on our website but will do nothing more than display an error page. However it would be nice if we could be informed when an unhandled exception is thrown. Since our code is supposed to work, an unhandled exception would state that either there is something wrong with it, or someone is trying to throw exceptions on purpose, by messing up with the URL for example. Either way, we can use the Application_Error method to do things like log error info or send an email to the administrator. Application_Error will be called when an unhandled exception is thrown. ...
|
-
Σε όλους είναι γνωστό ότι δεν μπορείς ένα table να τον κάνεις join με μια stored procedure η οποία γυρνάει αποτελέσματα σε μορφή table. Είναι όντως 100% αλήθεια και αν δεν είναι γιατί δεν το χρησιμοποιούμε; http://www.sqlschool.gr/blog/is-it-possible-to-join-a-table-with-a-stored-procedure-1001.aspx...
|
-
It's been a few years since social networks have become a part of our life. Since people such as celebrity stars and politicians use them, it is no wonder that developers would choose to do so, in their own way. Let's choose Facebook to interact with. We are going to see how we can use .NET to communicate with Facebook API and use it to do things like getting users info or posting on Facebook. Introduction To interact with Facebook we need to have a Facebook application of our own. You can create your own application (similar to my DotNetHints application) through the Facebook Developers portal . Creating the basics is not hard but in case you find yourself in trouble, doing some online research will be more than enough to help you. After you have created your application you will notice you are given two IDs. That's the App ID and the App Secret. Note them down as we are going to use them later on in our example. One more interesting thing is the Site URL parameter. You should...
|
-
Just fixed a nasty bug in ClipFlair Studio (http://studio.clipflair.net), where one couldn’t click hyperlinks in the Text component when set at ReadOnly mode. In that mode hyperlinks should open up new web pages (in Edit mode you can edit/remove them only of course), but instead when clicked they would show something like a focus rectangle […]...
|
-
If you’re in a hurry, you can find the complete source code on GitHub: https://github.com/dgkanatsios/TowerDefense It is recommended that you read part 1 before proceeding on reading the rest of this tutorial, since it is heavily based on what we described in the first part! Don’t tell me I didn’t warn you!!! This is the second post in 2 post tutorial regarding making a tower defense in Unity. In the first post we described the game scenario and gameplay and we also mentioned the level editor, the XML file and structure that holds level information and the object pooler methodology we use. Again, if you haven’t read it, I strongly encourage you to do it ASAP, this post will be much clearer after that! We’ll start by exploring the prefabs we have in our game. The RootGO gameobject In the instructions we gave at the previous post about making a new level, we mentioned dragging a prefab called “ RootGO ” to the scene. Let’s see this object’s children in detail. PathPieces PathPieces is an empty game object that acts...
|
-
If you’re in a hurry, you can find the complete source code on GitHub: https://github.com/dgkanatsios/TowerDefense Unless you’ve been living in a cave in the recent years, you surely must have played a Tower Defense style game. Be it Plants vs Zombies, Kingdom Rush, geoDefense, Jelly Defense or any other, I’m sure you’ve spent much quality time setting up your defenses, killing enemies and advancing stages. So, since it’s one of the most common game types you can find on the application stores out there, I decided to try my luck and create one from scratch, using Unity3D and present it in this tutorial. Since it’s a bit bigger compared to my previous efforts, it will be split in two parts. In this first post, we’ll describe the game, the level editor, the respective XML creation and parsing and the object pool used in the game to increase performance. Check the screenshot below to get a taste of how the game looks like, running on the Unity editor. Scenario and gameplay are both pretty basic, actually. Badgers...
|
-
PivotViewer is an impressive Silverlight control (see my usage at http://gallery.clipflair.net), however Microsoft never released it for WPF. One could work arround this by embedding Silverlight in their WPF app using the WebBrowser control and talking to it via the JavaScript Bridge of Silverlight, however they could also embed one of those HTML5 PivotViewer-compatible controls […]...
|
-
at http://www.mono-software.com/Mono/Pages/Discussion/dtopic/_YyUBIlx5kiqHaNqAQeltg/br-brake-bug-in-IE11-and-clipflair-text-editor/ one reads: We are using Telerik’s rich text editor (RadEditor), and it seems that RadEditor has specific behaviour regarding insertion of break tags. To circumvent this issue please try to add host header in ISS 7 (website level): Name = "X-UA-Compatible" Value = "IE=EmulateIE10" Or, you can insert Html Meta tag on a […]...
|
-
This is my contribution to: http://stackoverflow.com/questions/2652816/what-is-the-difference-between-document-location-href-and-document-location Here is an example of the practical significance of the difference and how it can bite you if you don’t realize it (document.location being an object and document.location.href being a string): We use MonoX Social CMS (http://mono-software.com) free version at http://social.ClipFlair.net and we wanted to add the language bar […]...
|
-
I just noticed that on Internet Explorer 11 developer tools console (appears when you press F12 key), there is a drop-down where you can select the rendering engine used. Edge means the very latest (IE11 one in this case) and you can select back to version 5. Interestingly, there is no version 6 in the […]...
|
-
<xsl:template match="cxml:Item" mode="col"> <xsl:variable name="FILENAME" select="…someXPathQuery…"/> <xsl:variable name="IMAGE" select="concat(‘http://gallery.clipflair.net/activity/image/’, $FILENAME, ‘.png’)"/> … I got confused a bit today after a long day of fiddling with XSL and ClipFlair Activity Gallery’s CXML (Collection XML) data (as used in PivotViewer control), and didn’t understand why I couldn’t use an XSL variable’s (FILENAME in the sample […]...
|
|
|
|