|
Πρόσφατες Δημοσιεύσεις
-
Only a few days left till Athens Global Azure Bootcamp and the scheduled has been Read more...
|
-
The Windows 8/8.1 app version of Internet Explorer is also known as IE Metro because of the “Metro” codename (inspired by navigation signs in public transport] of the Modern UI design language promoted by Microsoft). However that version isn’t the full Internet Explorer, in that it is unfortunately not supporting extensibility via plugins in the […]...
|
-
At a Neo4j question in http://stackoverflow.com/questions/19624414/delete-node-and-relationships-using-cypher-query-over-rest-api, a recent reply (older ones use obsolete Cypher syntax) says: Both START and the [r?] syntax are being phased out. It’s also usually not advised to directly use internal ids. Try something like: match (n{some_field:"some_val"}) optional match (n)-[r]-() delete n,r So, to delete all nodes (including disconnected ones) and […]...
|
-
In April of 2013 the first Global Windows Azure Bootcamp was held at more than Read more...
|
-
Question: After publishing my API App I’m getting the yellow error screen of ASP.NET. The error message says “A route named ‘swagger_docs’ is already in the route collection”. How can I fix this? Answer: This is not related to API Apps per se but more around Web API. What triggers the error is pretty simple: […]...
|
-
On my last post I’ve talked in a bit more detail what API Apps are, what you can build with them, how they work and provided some answers to frequently asked questions. Another very common question is: “How do I run an API App that it’s not .NET?“. If you’ve read my last post, I […]...
|
-
Many times I've found myself working on a project while questions concerning code efficiency or why some things were made this way, pop up all around. Since project deadlines are usually more important than my questions, I always end up forgetting the questions I had. To end this, I decided to mark them down, so I can check them out later on. As a result I wrote this article about strings concerning six interesting topics which I think many others might find interesting as well. String.Empty VS empty string This issue is quite common to be found even in code created by the same group. For example, there probably is a place around the source code where str = "" shows up and another one (probably not written by the same person) where str = String.Empty shows up. My remark concerning the person who wrote those lines was meant, as each developer seems to like either the first or the second way best. If so, is there any difference between these two methods? To begin...
|
-
In this post I will be looking into EF 6.0 using the Code First Workflow and its support for stored procedures. I will be building a simple ASP.Net MVC 5.0 application that will be the client application that will consume the Entity Framework data access layer. I will be using Visual Studio 2013,C# 5.0 and LocalDb in this demo. While I am building this simple ASP.Net application I will point out to various tools and option in VS 2013 that make the completion of an application faster. I will be writing as less code as possible. I will be leveraging the scaffolding functionality as much as possible. I will also show you how to log queries sent to the database by Entity Framework 6.0. With EF 6.0 we do have a mechanism to trace/profile everything EF sents to the data store. I will also demonstrate how you can install Entity Framework Power Tools that enables developers to visualise the POCO classes in an entity designer. We will create the ASP.NET Web Application with the MVC 5 Project Template. 1) Launch Visual...
|
-
What is Azure App Service? In case you missed it, on the 24th we announced Azure App Service. In simple words, it’s a common platform were you can develop Web, Mobile, Logic and API Apps. It’s based on proven technologies and more specifically WebSites, which is now called Web Apps. The fact that there is […]...
|
-
I just checked in the implementation code for a new feature for ClipFlair Studio’s Captions/Revoicing component: When playing back recorded (or loaded from a WAV or MP3 file) audio for a caption/revoicing entry, the playback is now limited to the duration of the respective caption, (End-Start) time that is (btw that component has a duration […]...
|
-
Have again suggested this long before to Visual Studio team, but since Visual Studio 2013 has a “Send a Frown” feature, I’ve sent it again with some suggestions on how it could be implemented. I need some clever replace in cases like that one shown in the screenshot below, where I have the implementation of […]...
|
-
In the past few weeks I was looking into the new changes that have been made in the current beta release of ASP.NET 5.0. In this post I will talk about those new changes and what impressed me most. There have been many changes and in my opinion this release is the most important , significant release since the ASP.Net introduction. If you want to install it and write some ASP.Net 5 code first you need to download the latest CTP of Visual Studio 2015 which was made available a few weeks back. Let me start by telling you that ASP.NET is 15 years old since it has been released back in 2000, just to put things into perspective. ASP.Net 5 is open source ASP.NET 5 is developed as an open source project and is available on GitHub . If you want you can download the code and make changes and then submit those changes. Obviously the ASP.Net team is responsible which of those changes will find their way to the official final release. I really like the new approach that MS is taking on the whole open source subject. I think...
|
-
Publishing a website is always a pleasant thing to do. However there may be times you guess your website works fine but things will go bad later on. That may be the time the website starts gathering a lot of visitors, much more than the few users that have been testing it before deployment. At that point a few requests on the database or less optimized source code might not look that bad but when a few hundred visitors or more roam around your website at the same time, things may start looking gloomy. That may be either the result of poor server hardware or slow connection between the server and the database or lousy source code or, well, pretty much anything. Things tend to go bad under pressure. To avoid unpleasant surprises a developer may create stress tests using Visual Studio so he can foresee what may happen in future and fortify the website as soon as possible. Getting started So, what is a stress test? A stress test simulates a bunch of users moving around our website, the way average...
|
-
If you are in a hurry, you can try the game here and find the source code here . Match 3 games are pretty famous nowadays. From the original Bejeweled to Candy Crush Saga and even Evolve: Hunters Quest , many games are based on the match 3 mechanism while giving bonuses to the user. In this blog post, we’ll try to dissect in what is needed to build such a game, using Unity 3D and Visual Studio. Let’s start with a screenshot of the game running in the Unity Editor We’re using some candy graphics (found here ) and a cool sound (found here ) to build our game. User can drag (in an attempt to swap) one candy either horizontally or vertically, and, as soon as a vertical or horizontal match of three (or more!) is encountered, the three candies disappear. Remaining candies collapse, new candies get created to replace them and they get collapsed, too (imagine gravity acting upon them). The game checks if another match of three is encountered. If this happens, the matched ones disappear again, remaining candies collapse,...
|
-
It seems that sometimes TortoiseHg Mercurial (Hg) client on Windows fails to remove a 0-byte-sized file named “wlock” (a write lock to avoid simultaneous write to a local repository) in the “.hg” subfolder that holds a local repository. This results in the Commit dialog never commiting changed/removed/added files and you have to press Close there […]...
|
-
My contribution to: http://stackoverflow.com/questions/14109102/how-do-i-add-a-worksheet-after-all-existing-excel-worksheets Seems Worksheets property is read-only Returns a Sheets collection that represents all the worksheets in the specified workbook. Read-only Sheets object. https://msdn.microsoft.com/en-us/library/office/ff835542(v=office.15).aspx whereas Sheets is the real thing where you can also add Sheets dynamically A collection of all the sheets in the specified or active workbook. https://msdn.microsoft.com/en-us/library/office/ff193217(v=office.15).aspx Tagged: API, […]...
|
-
I was really lucky lately to get my hands on a netduino. I’ve never programmed on such a small device before and I have to confess that it’s really fun and awesome! First, take a look at the video to see what’s going on. Basically, we are instructing the netduino to play a specific set of noted via a web browser on our PC. (Please visit the site to view this video) We’re using a netduino device. For the unaware, it’s a small device that runs a small version of the “big” .NET Framework, called .NET Micro Framework , so one can easily use C# and Visual Studio to code for it. It’s connected to a Piezo, a small component that can create some noise. We’ve connected the netduino to our PC via USB cable and via an Ethernet cable. The USB connection allows us to deploy and debug our stuff on the device whereas the Ethernet cable allows us to make a small LAN between netduino and our PC. Without any more hassle, let’s check the code! Playing music Code was found on Getting Started with Netduino book . It basically adds...
|
-
Just sent this to the Visual Studio team via the “send a frown” button: pressing CTRL+SPACE after "buttonDropDown." (see screenshot) seems to give me suggestions of members of buttonDropDown that aren’t a fit to the Rectangle object that I’m trying to assign to I suppose you do so since I could eventually drill down into […]...
|
-
Lately I’ve been reading a lot about IoT as I believe that this is the Read more...
|
-
The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog. Here’s an excerpt: The concert hall at the Sydney Opera House holds 2,700 people. This blog was viewed about 52,000 times in 2014. If it were a concert at Sydney Opera House, it would take about 19 sold-out performances for that many […]...
|
-
Everyone knows the basic select element that is the HTML equivalent to .NET's DropDownList control. Imagine an HTML select containing one hundred or more elements. This would take much time to send and much HTML text to keep your data. Let alone SEO issues that might occur. Instead, data could be filled asynchronously when user activated the control or asked for it using a WCF service leading to far better results. To accomplish that we are going to use JQuery's autocomplete widget. Getting started This is a sketch of what we are going to do. Looks better, doesn't it? The select element looks like this < select > < option value ="1"> Chocolate chip cookie </ option > < option value ="2"> Chocolate ice cream </ option > < option value ="3"> Cookies and...
|
-
t’s been quite a while since the release of www.zougla.gr windows 8 metro application but Read more...
|
-
Last week I had the opportunity to discuss Azure Mobile Services in a Code for Read more...
|
-
I just installed .NET 3.5 on a Windows Enterprise 8.1 system that was failing to bring the needed files from the network To do this I opened a command prompt with elevated rights and ran a single command, having the Windows DVD at drive F: Dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess as explained at […]...
|
-
This is my contribution to: http://stackoverflow.com/questions/19294258/forcing-mediaelement-to-release-stream-after-playback/27436323 If you use MediaElement, make sure you don’t get bitten by this one: http://msdn.microsoft.com/en-us/library/cc626563(v=vs.95).aspx ArgumentNullException – The mediaStreamSource is null. … After calling this method, MediaElement.Source returns null. If this is called and MediaElement.Source is set, the last operation wins. If a MediaElement is removed from the UI tree […]...
|
|
|
|