.NET Zone is brought to you in partnership with:
  • submit to reddit
Joost Van Schaik07/28/14
0 replies

AngularJS + TypeScript – How To Setup a Watch (And 2 Ways to Do it Wrong)

After setting up my initial application as described in my previous post, I went about to set up a watch. For those who don’t know what that is – it’s basically a function that gets triggered when an scope object or part of that changes. I have found 4 ways to set it up, and only one seems to be (completely) right.

Samidip Basu07/26/14
0 replies

Device Mirroring Options for Mobile Developers

Are you a mobile app developer? Want to show off your creations or plain project your phone screen onto a larger canvas?

Gunnar Peipman07/26/14
0 replies

ASP.NET MVC 6: New HttpContext

ASP.NET MVC 6 is mostly about rework of framework internals and it comes with changes that affect also our applications. One important improvement is new HttpContext class. In this posting I will discuss about this new class a little bit.

Ovais Mehboob A...07/22/14
0 replies

Creating Custom Formatter in ASP.Net Web API to handle specific formatted request

In this article I will show you how to create a custom formatter in ASP.Net Web API to send objects in Request body with a specific format.

Jeremy Likness07/20/14
0 replies

AngularJS Debugging and Performance

Just over a week ago an Angular project went live after several years of development. Our team peaked at over 25 developers distributed around the world. The source ended up at over 80,000 lines of TypeScript code (although I jokingly note this ends up as just one line of minified JavaScript) and includes hundreds of controllers, services, views, etc.

Ayobami Adewole07/20/14
1 replies

How to Enable .Net Framework 3.5 on Microsoft Windows Server 2012 R2

Recently, I had to put on my System Administrator cap for couple of hours. I was to set up two Dell PowerEdge 1720 server computers for use as Test Servers. The two servers were to run Microsoft Windows Server 2012 R2 and that .Net framework 3.5 must be enabled on the servers as it is one of the requirements needed by the enterprise application to be installed on the servers.

Imran Baloch07/20/14
0 replies

ValidateAntiForgeryTokenAttribute and Ajax Requests

Cross-Site Request Forgery (CSRF or XSRF) is still in the top ten list of The Open Web Application Security Project (OWASP). Fortunately, ASP.NET MVC has built-in support to mitigate this attack since its earlier versions.

Merrick Chaffer07/14/14
0 replies

Multiline Regex Search and Replace in Visual Studio

Can't recommend this tool enough. Has taken what would be a massive task down to a couple of seconds for me this morning….

Daniel Mohl07/14/14
0 replies

Improvements to the F# Web Templates

There has been quite a bit of activity with various F# web templates over the last few months. This post will cover several of these activities.

Rob Sanders07/14/14
0 replies

Migrating Subscriptions and Data within Microsoft Azure

Today I was able to successfully migrate all of my Windows Azure artifacts from one Microsoft Account/Subscription to another Microsoft Account/Subscription. The scenario was – I had an MSDN subscription via my former employer, and over the source of the past year, I’d developed a number of applications whilst learning the Azure platform.

Greg Duncan07/10/14
0 replies

eBook of the Day: "Developing big data solutions on Microsoft Azure HDInsight"

This guide explores the use of HDInsight in a range of use cases and scenarios such as iterative exploration, as a data warehouse, for ETL processes, and integration into existing BI systems.

Greg Duncan07/10/14
0 replies

eBook of the Day: "Developing big data solutions on Microsoft Azure HDInsight"

This guide explores the use of HDInsight in a range of use cases and scenarios such as iterative exploration, as a data warehouse, for ETL processes, and integration into existing BI systems.

Greg Duncan07/10/14
0 replies

Team Foundation Server "Work Item Web Access" Is Getting a Work-Over

As we ended the early adopter period, we got a lot of questions from customers about how to apply the licensing to their situation. We also watched as people assigned licenses to their users: What kind of licenses did they choose? How many people did they choose to remove from their account? Etc.

Anders Abel07/10/14
0 replies

Adding an Overload is a Breaking Change

Adding functionality to a library, without touching the existing code should be safe for clients, shouldn’t it? Unfortunately not, adding another overload to a library can be a breaking change. It might work when the library is updated, but suddenly break when the client is recompiled – even though no code was changed. That’s nasty, isn’t it?

Julius Of Wp7agile07/03/14
0 replies

Review: Learning Windows Azure Mobile Services for Windows 8 and Windows Phone 8

Are you already using Azure Mobile Services for Windows 8 and Windows Phone 8? It doesn't matter what your response is. Geoff Webber-Cross’s 'Learning Windows Azure Mobile Services for Windows 8 and Windows Phone 8' book got all answers to all your questions.

Greg Duncan06/25/14
0 replies

Microsoft Press [Older] eBook Shelf

Earlier this year, I blogged about how the Microsoft Press eBook shelf got a new home on the Microsoft Virtual Academy. Well it seems that currently only some of the books are listed there, the newer ones. Where do you go for the older titles?

Michael Crump06/25/14
0 replies

Fix for “GPS Provider Disabled” using Apache Cordova on Android

I recently ran into the issue of “GPS Provider Disabled” when using Apache Cordova on Android. After reading many threads, the fix seemed to always be to set the permissions in config.xml.

Joost Van Schaik06/25/14
0 replies

Messaging Class for Detecting and Broadcasting That Your Universal App is Running in the Background

Some time ago I discovered that you can trap Window.Current.VisibilityChanged in a Windows 8 app to check if the app was running in the background, and that you can use that moment to pause a game and/or save the state to storage.

Jonas Gauffin06/25/14
0 replies

Running Services in Long Lived Applications in .NET

You have probably created a windows service or other types of applications where you have code which need to be run in the background to not block the main thread. To do that you have different types of solutions in .NET, for instance Threads, Timers and Tasks. However, you need to construct them manually, make sure that they do not throw unhandled exceptions etc.

Joost Van Schaik06/25/14
0 replies

Building Multi-Resolution Popups in an Universal App

With the advent of Windows Phone 8.1 multiple resolution are now also becoming a fact of life for Windows Phone developers (as they already were for Windows Store developers). This has a few side effects, which will require you to think about the size of things that need to cover part of the screen.

Joost Van Schaik06/25/14
0 replies

Using SensorCore and MVVMLight to Build a ‘What Did I Do Where and When’ Windows Phone 8.1 App

As you might have seen, the SensorCore SDK has been released. I intended to bring out a full fledged app utilizing this new and exiting SDK, but I found out that I first had to explain a bit about the ‘supporting acts’ I was going to use – if you study my last four posts you will see they all contain parts of the sample app that goes what this post.

Jeremy Likness06/20/14
0 replies

Programming the Windows Runtime (WinRT) by Example

In 2011 I heard the first rumors about Windows 8 and knew immediately what my next book would be about. Unlike Designing Silverlight Business Applications that captured years of experience writing Line of Business (LOB) apps in Silverlight, this book would be an introduction to an entirely new platform.

Rob Sanders06/20/14
0 replies

Debugging Lync 2013

This morning I struggled to get Microsoft Lync 2013 to work. The symptoms consisted of the application running normally – I could authenticate, and the contact list would load – but after a few minutes the application would hang.

Merrick Chaffer06/20/14
0 replies

Fingerprint CSS in MVC Web Sites

Optimizing for website performance includes setting long expiration dates on our static resources, such s images, stylesheets and JavaScript files. Doing that tells the browser to cache our files so it doesn’t have to request them every time the user loads a page. This is one of the most important things to do when optimizing websites.

Anders Abel06/17/14
0 replies

Understanding the Owin External Authentication Pipeline

Owin makes it easy to inject new middleware into the processing pipeline. This can be leveraged to inject breakpoints in the pipeline, to inspect the state of the Owin context during authentication.