Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


SQLite with a bit of MVVM Light in Windows Phone 8

AddThis Social Bookmark Button
source: While SQLce is still a viable solution in Windows Phone 8 to have some form of local database we also have an official SQLite implementation available. So why use SQLite when we can just keep using SQLce? Because Windows 8 only support SQLite and if you ever want to port over your app it would be nice not to have two versions of local databases to maintain. In this post I'll explain how to implement a SQLite database into an MVVM Light Windows Phone 8 project (there is an unofficial Windows Phone 7 SQLite
version as well but I have no idea how stable / buggy that is). I'll be using Tim Heuer's SQLite .net wrapper so we can use LINQ to SQLite instead of writing SQL queries manually (hooray for intellisense ). Let's kick things off by creating an empty Windows Phone 8 app. SQLite Before we can use SQLite, we'll need to install the SDK. Click here (official SQLite download page) to download the VSIX file and install it into Visual Studio. NuGet fun Before we can write any code we'll need some NuGet packages....(Read whole news on source site)

Developing an App for iOS, Android and Windows Phone - a Comparative Study

AddThis Social Bookmark Button
by  Oliver Frommel During the last six months I have written the same mobile app for the three major (or to-be major) platforms, that is iOS, Android and Windows Phone. Windows Phone Again, the Windows Phone platform shows some similarities and differences to the Android and iOS world. Somehow they also propose some kind of MVC model for developing applications, on the other hand the navigation paradigm is quite different. Based on Silverlight, there's an XAML (some Silverlight XML application) description for every page, with so called code-behind that defines the corresponding class. My experience is
confined to C#, but the model is the same with Visual Basic and C++. For instance, to navigate to a new page, you use the Navigate method of theNavigationService with the XAML file name of the new page as the argument. This is essentially like navigating to a new web page, only the runtime instantiates the class, executing the constructor. This is, where you place your code. For whatever reason I had a hard time getting behind some of the GUI elements ("controls") Silverlight offers. There are no labels, so you have to use Textblocks. However, Textblocks...(Read whole news on source site)

Hibernating Rhinos Practices: Intro

AddThis Social Bookmark Button
I was asked to comment a bit on our internal practices in Hibernating Rhinos. Before I can do that, I have to explain about how we are structured. The development team in Israel compose the core of the company. There are additional contractors that do work in Poland, the states and the UK. We rarely make distinctions between locations for work, although obviously we have specializations. Samuel is our go to guy for “Make things pretty” and “Silverlight hairloss”, for example, Arek is the really good in pointing to the right direction when there is a
problem, and so on. We currently have the following projects in place: RavenDB Uber Profiler RavenFS License / Orders Management RavenDB.Net Note that this is probably a partial list. And you might have noticed that I also included internal stuff, because that is also work, and something that we do. In general, there isn’t a lot of “you work on this, or you work on that”, although again, there are areas of specialization. Fitzchak has been doing a lot of the work on Uber Prof, and Daniel is spending a lot of time on the RavenDB Studio....(Read whole news on source site)

Current State Of Play with my C++ Engine

AddThis Social Bookmark Button
So, I have been quite for a long time, life has a habit of getting in the way like that though, I am sure if you are a regular follower of my blog(s), you know I have a tendency to pop in and out. That said, I am doing a few things, still working on an XNA game (Killer Core) with Mark, have also been participating in an 8WeekGame competition, as well as try and port my existing XNA engine to

Running unit tests when deploying to Windows Azure Web Sites

AddThis Social Bookmark Button
When deploying an application to Windows Azure Web Sites, a number of deployment steps are executed. For .NET projects, msbuild is triggered. For node.js applications, a list of dependencies is restored. For PHP applications, files are copied from source control to the actual web root which is served publicly. Wouldn’t it be cool if Windows Azure Web Sites refused to deploy fresh source code whenever unit tests fail? In this post, I’ll show you how. Disclaimer:  I’m using PHP and PHPUnit here but the same approach can be used for node.js. .NET is a bit harder since most test
runners out there are not supported by the Windows Azure Web Sites sandbox. I’m confident however that in the near future this issue will be resolved and the same technique can be used for .NET applications. Our sample application First of all, let’s create a simple application. Here’s a very simple one using the Silex framework which is similar to frameworks like Sinatra and Nancy.
1 get('/', function (\Silex\Application $app) { ...(Read whole news on source site)

The Morning Brew #1284

AddThis Social Bookmark Button
Information Arrow function expressions in TypeScript - Piotr Walat discusses a TypeScript language feature ‘Arrow Functions’ which is likely to make it into the next official version of JavaScript, looking at what they are and how you can use them More on Symbol Improvements in VS2012 Update 1 - Dmitri Leonov highlights some of the improvements made [...]

How to make NLog create separate log per service thread

AddThis Social Bookmark Button
NLog on is popular logging component for .NET applications. I am using it in one project where I built multi-threaded server that is running similar threads with different configuration. As those thread are independent services I needed way how to configure NLog to create different log file for each thread. Here is my solution. When new service starts in its thread I will configure NLog in code to create log file to correct folder with correct name and layout. Image on right shows how server is keeping instances data on disk. Each instance has its own folder and
for logs there is subfolder because for every date there will be new log file.
var target = new FileTarget(); target.Name = InstanceName; target.FileName = LogsFolder + "/${shortdate}.log"; target.Layout = "${date:format=HH\\:MM\\:ss} ${logger} ${message}";   var config = new LoggingConfiguration(); config.AddTarget(this.Name, target);   var rule = new LoggingRule("*", LogLevel.Info, target); config.LoggingRules.Add(rule);   LogManager.Configuration = config;   ...(Read whole news on source site)

Startup Accelerator for Windows Azure: Demo Day

AddThis Social Bookmark Button
Earlier this month, the 10 startups in our Fall 2012 Accelerator class got the chance to pitch to a room full of investors, mentors and technology enthusiasts. Over three hundred people joined us on the Redmond campus to see the final pitches in person. Aseem Badshah, CEO of Socedo, using social to deliver sales leads. For venture capitalists and angel investors, Demo Day was the chance to meet, and possibly fund, ten new startups that are looking to change the world.   For the companies that were a part of this inaugural Accelerator
class, this was their official coming out party—an opportunity to capture the attention of investors, reach customers, celebrate how far they’ve come in three short months - and the great businesses they’ve built on Windows Azure. You can experience Demo Day yourself by watching a video of the presentations. Accepting Applications for the Spring 2013 Accelerator Class We are now taking applications for the next class of startups to join the Microsoft Accelerator for Windows Azure, Powered by TechStars program.  If you’re currently working at a startup and want access to an amazing...(Read whole news on source site)

Windows 8 LOB deployment ‘story’

AddThis Social Bookmark Button
This is the second blog post covering the basics around deployment of business apps (LOB apps) on Microsoft’s new Windows Runtime (WinRT) platform. The first post focused on direct costs, this one focuses on different business scenarios. In my view the deployment story for business apps targeting WinRT is not currently good. I’ll break the story into parts depending on your scenario: Developer/tester Large enterprise Medium enterprise Small business Home users (employees who work from home sometimes) Before I get into these scenarios I want to cover the use of the Microsoft Store for business app deployment. LOB deployment via Windows Store A Microsoft employee suggested
that what I should be recommending is that people deploy their business apps through the Windows Store. So let’s think about this a little bit, because I don’t think it is real workable. First, suppose I build a mission-critical business app in WinRT and submit it to the store. Around 8 days later (give or take a week) the app will be approved and available from the store. My users start using the app and then we discover a bug, or a critical regulatory feature change, or some other scenario where the app is useless until fixed. So we fix the app and 8 days later (give...(Read whole news on source site)