Tag Archive | Visual Studio

Customized tasks in VSTS builds

The Microsoft Visual Studio Team Services (VSTS) have a totally new way of creating build definitions. There are many available tasks right out of the box. It offers tasks to build .NET code, build Xamarin apps, execute Grunt and Gulp tasks, do code analysis with SolarQube, integrate Jenkins jobs, publish NuGet packages, run cloud-based load tests, copy files to a machine, deploy a SQL database to Azure, publish a web app or cloud service to Azure, … It has also many utility tasks and there is a collection with free third-party tasks in the MarketPlace.

But when building your software, quite often you need custom steps. In this article I will cover some techniques how to customize the build process. I will show you how to implement PowerShell scripts, do logging and work with environment variables and arguments, how to load custom C# .NET assemblies and how to create extensions and upload them to VSTS.

ASP.NET WebAPI 2.2 REST services and Windows Integrated Authentication (WIA)

An detailed article about ASP.NET WebAPI 2.2 REST services and Windows Integrated Authentication (WIA) for intranets. How does it work and how to configure windows authentication in your .NET server project, in IIS (Express) and in the webbrowsers. And finally I will show some examples how to implement .NET and HTML/Javascript clients which consume the service.

Spatial Data in Entity Framework 5.0

In Entity Framework 5.0 spatial data types are supported so now we can create Linq queries to query nearby locations, calculate distances and check if locations intersect with an area. This articles demonstrates how to insert and update locations with latitude and longitude coordinates and how to query them in different ways.

Customize WCF RIA Services code generation

In March of this year SP1 of WCF RIA Services was released together with SP1 of Visual Studio 2010. Soon this was followed by a new version of the WCF RIA Services Toolkit. Microsoft has changed a few things in SP1 which makes it possible for you to implement you own code generation classes that can manipulate the client code generation of RIA Services entities, contexts, … In my opinion this is a great new feature which is very powerful when you are building your own Silverlight framework. So in this article I will describe how the code generation in RIA services SP1 works and I will demonstrate some scenarios and ideas were customizing the generated code is a nice technique to extend your own framework.

Functions in the Entity Framework 4.0: part 3

Over the last few weeks I’ve been writing a series of articles that cover some great improvements in the Entity Framework 4.0 In this third article I will explore some SqlClr features and show how to call custom .NET functions and aggregates in LINQ to Entities queries.

Visual Studio 2010, .NET 4.0 & Silverlight 4.0 RC links

A few weeks ago Visual Studio 2010 & .NET 4.0 (CLR, BCL, WPF, WCF, EF, …) release candidates have been released. Last week during the MIX ’10 conference Silverlight 4 & WCF RIA Services v1 RC have been set online. Also a first community preview of Silverlight for Windows Phone 7 has been released. So it’s time to roundup all download locations and links to useful articles, blog posts, videos, samples, …

Visual Studio 2010

.NET 4.0

Entity Framework 4.0

WPF 4.0

WCF 4.0

WIF

Silverlight 4.0

Windows Phone Tools

What’s New in the Base Class Libraries in .NET Framework 4

Silverlight 4 design-time features for ViewModels

Visual Studio 2010, .NET 4.0 and Silverlight 4 offer a lot of new features. I like all the new features but I was especially interested in improvements that could help my current developments which are based on a M-V-VM architecture with ViewModels and a lot of bindings with UI controls. So I wrote an article and published it on my personal website. The article will focus on the improved design-time features. Along the way I will show a lot of screenshots and try to cover some other new Silverlight 4 features.