7 dage siden
RT @mlequick: Better #pin #code memory device #UX http://t.co/CxzBxSUC90
10 dage siden
@gausby true, sometimes it seems to be the strategy :-)
10 dage siden
Track not available in on Spotify. Track video still available in 1080p on YouTube. Why, greedy music industry - why?? #spotify
14 dage siden
Another entry in the scripting API samples, you will find an overview of getting started with the API here. This weeks entry demonstrates the general pattern for scripting smaller chunks of SQL based on a single table, in this case a INSERT statement for each row in the table. using (IRepository repository = new DBRepository(@"Data Source=C:Northwind.sdf")) { Generator generator = new Generator(repository, null); foreach (var tableName in repository.GetAllTa
17 dage siden
but I did write a blog post called “I judge developers by how many toolbars are showing in their IDE”, which could also have been called “if you reach for the mouse, you are n00b scum to me”. I wrote the original blog post on how to strip some of the disturbing elements off of Visual Studio and get started using the keyboard for navigation because I was fristrated when I saw colleagues helplessly wiggle the mouse around and try to click small pathetic buttons among hundre
21 dage siden
A question that keeps re-appearing in the forum is, how can I reseed/reset an IDENTITY column in SQL Server Compact, as no DBCC command is available. You can simply use a special syntax of the ALTER TABLE command to do this, as follows: ALTER TABLE [MyTableName] ALTER COLUMN [Id] IDENTITY (1, 1) This will make the value of the next generated IDENTITY value 1 and increment with 1. Notice that you do not specify the column type, only the IDENTITY specification.
21 dage siden
I have built a tool for creating simple and easy to submit Windows Store Apps (C#/XAML). The tool exploits the grid app from Visual Studio and adds nothing a few tricks here and there to make the life of the developer a bit easier. The tool should be used for learning purposes only, really, because the apps that come out of it has little and static value. Though, in some cases that might okay for certain apps. So please, take a look at http://totalapp.azurewebsites.net/ and have a go at it. If y
22 dage siden
LightTable v0.4 with a good live preview! A little more work and Im ready to switch editor :-) http://t.co/UGV6aucHBP
24 dage siden
Its been a while since my last #wordpress integration - but damn its fast and easy = more time to do the advanced UI features!
30 dage siden
I did another app starter kit, this one based on the website http://coverbrowser.com which provides covers for a whole lot of different cartoon magazine covers. This starter kit includes a working snap view, a sliding background and some async work. I should be a fairly good starting point for someone who want to learn programming Windows Store Apps! Remeber to check out the GangsterNameYou starter kit as well. You can fork or download the code for the cover browser app at my Github account.
31 dage siden
Today I felt like I had been drinking to much beer with the dog in the bar , because a simple event handler (PointerPressed) kept not firing when I expected it to. Looking at the event system of WinRT I could see that the UIElement implements a set of routed events that (hence the name) which each passes through the control stack (parents). To ?catch? the event as you would expect you?ll need to add a handler on the control where the event originates from. tbFirstname.AddHandler(PointerPressedEv
31 dage siden
I really love what the web people inside of the company I work for are doing with the tools and frameworks. They make it easy to pick and choose from a starter kit/template, directly from VS instead of searching for it on Google (where there is basically no starter kits to be found) or Github for that sake. It would add so much more value if the people in the Windows dev division would add the same feature for when choosing a Windows Store project. We still just have those 3 templates available
34 dage siden
I’m really excited to announce that I’ll be doing my “Taking The Hippie Bus To The Enterprise” talk at GOTO Aarhus this September/October, slightly revised and strengthened! The talk will be on the “Architectures” track on Monday the 30th of September , and you can check out the abstract here . I’m especially excited because the GOTO conference has been such an awesome injection of inspiration and programming mojo the 5 times I’ve attended, and I a
34 dage siden
RT @rene_hansen: Yeah Baby! #90sfriday
http://t.co/l58s2mpMxT
36 dage siden
Your app/web site may require a specific build version of the SQL Server Compact runtime, due to dependency on a bug fix, for example. This weeks code snippet will demonstrate how to get that information. I have an older blog post here , that goes into deep details about the various ways to get SQL Server Compact related version information. To get the SQL Server Compact build version for 3.5 SP2 and 4.0, you can simply use: var ver = new System.Data.SqlServerCe.SqlCeConnection().ServerVersion;
36 dage siden
Developer Achievements er åbnet på Facebook og du kan nu få point for at submitte apps til Windows, Windows Phone og sites på Windows Azure. Total gamification! Du får bla. et point for at melde dig ind i DA og to point for at submitte din første app. De tre point udløser et par høretelefoner med Visual Studio logo som du så kan flashe mens du sidder på jobbet og forsøger at lære JavaScript , eller piller i dine gamle servere istedet for at bestille en virtuel boks på Azure . Deltag i Windows 8
37 dage siden
If you feel like downloading a file in the background of your Windows app, you can use this small of piece code for doing it. You do the exception handling the way you feel like it, I?ll just throw them for you :) public async Task DownloadFile() { StorageFile fileToSave = await Windows.Storage.KnownFolders.DocumentsLibrary. CreateFileAsync( "something.zip" , CreationCollisionOption.GenerateUniqueName); FileRandomAccessStream stream; try { stream = (FileRandomAccessStream)await fileToS
38 dage siden
Under the ApplicationData type in the Windows namespace there are two types we need to look at. Let?s just get the facts straight, which you?d might already have guessed. RoamingSettings are for saving app settings that will be synced across your Windows 8 devices. This is pretty cool given you sit at work, play WordRecon and suddenly your boss tells you to go home. You go hame and when you come home you open up your Surface and play the same game from where you left off. LocalSettings is
38 dage siden
I have been caught in this a couple of times, mostly because of lazyness and those fire and forgets that then turn up to be more than that, and throwing exceptions. Keith Patton over at markermetro has written an excellent blogpost on how to handle these scenario?s . But before you read it try to copy/paste this code into a Win8 app and see what happens when you run it :) protected override void LoadState(Object navigationParameter, Dictionary<String, Object> pageState) { Error(); } public
41 dage siden
One of the major pains of Windows app submissions is the time spend with the dashboard; uploading and providing details about your apps. Especially if you do a lot of them. To make your life just a tad easier, I have created a small tool for resizing images for creating logos, needed in your new app. The store logo, the small logo, the logo ?logo? and the splashscreen image. The code is on github.
43 dage siden
Despite my tooling for this having been available for more than 18 months, I have never posted a dedicated blog post for this subject. This post intends to remedy this. The Local Database (a SQL Server Compact database accessed via LINQ to SQL) is a data access API available on Windows Phone 7.5 and 8. The Microsoft documentation (listed here on my blog , together with many other useful Windows Phone Local Database links) always describes a Code First workflow, which makes it cumbersome to reuse