Practicle.NET

Introducing the .NET Core Unit Testing Framework (or: Why xUnit?)

Mon, 26 Nov 2018 16:34:00 GMT

There's a new kid in the Visual Studio testing environment, though it's only for your .NET Core projects. You don't have to use it, but here are some reasons you'll want to.

Subqueries in LINQ

Thu, 01 Nov 2018 16:32:00 GMT

If someone tells you that LINQ doesn't support subqueries ... well, they're not wrong. But they're also not entirely correct, either. With LINQ you can meet many of the goals of SQL subqueries including the ability to build complex queries out of simpler ones.

Adding Custom Processing to Requests in ASP.NET

Tue, 30 Oct 2018 16:46:00 GMT

ASP.NET Web API and ASP.NET MVC have similar (but not identical) mechanisms that allow you to customize how your requests and responses are processed. Not surprisingly, ASP.NET Web API's implementation is both easier and more flexible than ASP.NET MVC.

Processing Every Request and Response in ASP.NET

Tue, 23 Oct 2018 17:49:00 GMT

You have at least two options for adding processing to multiple controllers without duplicating code in each of the Controllers.

The Fastest Data Access Possible with Compiled Procs

Tue, 09 Oct 2018 17:05:00 GMT

If, in your "need for speed," you're looking to access and update your data as fast as possible, you can get to that goal by combining memory-optimized tables with compiled procs.

Speed Up Your Application with SQL Server In-Memory Tables

Tue, 09 Oct 2018 13:00:00 GMT

If screaming speed in data access is the most important thing in your life, SQL Server's durable in-memory, memory-optimized tables are your answer. They were good in SQL Server 2014 and they're even better in SQL Server 2016, 2017 and Azure.

Debugging Xamarin Android Apps

Mon, 08 Oct 2018 17:32:00 GMT

You have a bunch of options for debugging Android applications built with Xamarin. Unfortunately, only one of them has worked well for Peter in all scenarios. Here are all your options with Peter's opinion on each and a recommendation on the best one.

When You're Your Own DBA: Speeding Up SQL Server

Wed, 26 Sep 2018 16:59:00 GMT

You're not a DBA but you're responsible for managing your organization's SQL Server installation. Here are some tips on what you can do to speed up all your data access.

Defining Web API Services and Clients with NSwag

Mon, 24 Sep 2018 19:19:00 GMT

The OpenAPI (Swagger) technology suite includes a file that describes your Web API service. Peter thinks it's the slickest tool available to ensure that clients can access your services.

Speeding Up Queries: How to Think About Query Plans

Thu, 06 Sep 2018 21:46:00 GMT

If you want to speed up your SQL Server queries you need to know how your application and your users actually use your database.

The 5 Essential Patterns in Xamarin Applications

Fri, 31 Aug 2018 16:01:00 GMT

There are five design patterns you'll use every time you create a smartphone application. One is imposed by the environment and one is a pattern that you've probably been avoiding when creating other kinds of applications.

Making Testing Worthwhile

Wed, 29 Aug 2018 17:59:00 GMT

That understanding should drive how you deal with testing, including how to turn it into a value-added task.

Generate Useful Documentation for Your Web API Project

Mon, 13 Aug 2018 17:11:00 GMT

If you want to impress your boss (or client) with your diligence in generating documentation for your Web Service, then you need Swagger. That it will also make it easier for you to run tests on your service and check for typical errors is just icing on the cake.

The Case Against Zero-Defect Software

Thu, 02 Aug 2018 16:00:00 GMT

Testing is a necessary but not a value-added task. To put it another way, while testing is something we have to do, our users would be just as happy if we could produce quality software without it. Understanding that leads to a realistic approach to testing.

Maximizing Your Paycheck

Mon, 09 Jul 2018 16:04:00 GMT

An economic model design to explain profit margins may seem like an odd place to look for career advice, but here are five forces that you can harness to increase how much you get paid.

'Hello World' for Your Smartphone: Your First Xamarin Application

Wed, 20 Jun 2018 18:20:00 GMT

Here's a step-by-step guide to creating a Xamarin project in Visual Studio 2017.

Choosing a Xamarin Strategy

Thu, 07 Jun 2018 15:01:00 GMT

Here's what you need to know before you create your first Xamarin application to run on a smartphone or a tablet.

Dealing with Unsafe DELETEs in RESTful Services

Wed, 30 May 2018 14:00:00 GMT

Your DELETE request to the service just timed out. Surely, it's safe to send it again. Actually, it may not be.

Dealing with Unsafe Methods in RESTful Services

Tue, 29 May 2018 15:00:00 GMT

Your update request to the service just timed out. Is it safe to send it again? Maybe. Here's how to ensure that all your update, delete and add requests are safe plus some advice on what you should really be calling them and handling concurrency.

Really Rest: Eliminating Documentation by Implementing HATEOAS

Tue, 22 May 2018 21:14:00 GMT

If you want to implement a fully "REST-compliant" application you should address a critical question: How do consumers know what URLs to use? What if all the consumer needed to know was how to use the HTTP protocol and a little common sense?

Your First Xamarin.Forms Project

Tue, 01 May 2018 23:22:00 GMT

If you've got a recent version of Visual Studio (Visual Studio 2017 Community Edition, for example) then you can start creating an Android application. Here's what you need to do to get your first project set up.

Moving to the Cloud: A Piecemeal Strategy

Tue, 01 May 2018 16:01:00 GMT

You can move all your applications to the cloud in one giant migration. You might even live. Peter thinks there's a better, smarter way and it doesn't start with your Web applications.

Leveraging Raw SQL in Entity Framework Core

Thu, 12 Apr 2018 13:30:00 GMT

The ability to use SQL with Entity Framework Core has always been a cool feature. There's a new feature in Entity Framework Core that opens the door for whole new set of SQL-related functionality.

High Performance Object-Oriented Data Access with Dapper

Thu, 22 Mar 2018 16:04:00 GMT

Entity Framework is fabulous ... but it does impose some overhead. If you like working with data in an O-O kind of way but feel the "need for speed," then you should be looking at Dapper.

Supporting Developers with JSON Schema

Wed, 28 Feb 2018 14:16:00 GMT

If you're building services it's critical that you support the developers who will create and read your service's messages. JSON Schema lets you support the three principles of good message design in a way that supports developers.