Practicle.NET

Generate Useful Documentation for Your Web API Project

Mon, 13 Aug 2018 16: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 15: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 15: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 17: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 14: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 13: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 14: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 20: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 22: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 15: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 12: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 15: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 13: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.

Managing and Enforcing Message Formats for Services

Tue, 27 Feb 2018 15:54:00 GMT

You can dramatically simplify life for developers creating services and their consumers by following three rules for designing messages and then enforcing your message formats with JSON Schema.

Designing Service Messages for Optimal Performance

Thu, 22 Feb 2018 12:22:00 GMT

If you're building services, then getting your message formats right can be the difference between success and failure. Here's an example of what can go wrong and how it could be fixed.

Validating JSON with JSON Schema

Tue, 13 Feb 2018 14:23:00 GMT

Once you've created a JSON Schema that describes a JSON document, you can use it both in Visual Studio -- to provide guidance when creating JSON documents -- and in your code to validate the messages you're receiving.

Changing the Way You Test with Live Unit Testing

Wed, 07 Feb 2018 11:50:00 GMT

Peter tries out Visual Studio Enterprise 2017's Live Unit Testing and has what might be a life-changing experience.

Defining JSON Messages with JSON Schema

Thu, 25 Jan 2018 12:00:00 GMT

If you're building a RESTful Web service, you can provide both guidance and control around the JSON messages your service works with by replacing documentation with JSON Schemas.

Architecting Services for Flexibility and Growth

Thu, 18 Jan 2018 13:06:00 GMT

The simplest way to ensure that the API your services expose to your consumers is to not let consumers access your services -- at least, not directly.

Architecting Services with Design Patterns

Tue, 02 Jan 2018 18:08:00 GMT

As the number of your services expands you're going to need to start thinking about how to organize them. Applying these two design patterns can help, provided you understand all their variations.

Managing Temporal Data in SQL Server 2016 and Azure SQL Database

Thu, 14 Dec 2017 16:00:00 GMT

SQL Server 2016 and Azure SQL Database both give you tables that automatically keep track of the history of your data. Here's how to retrieve that historical data.

Tracking History in SQL Server 2016 and Azure SQL Database

Tue, 12 Dec 2017 13:32:00 GMT

SQL Server 2016 and Azure SQL Database both give you tables that automatically keep track of changes to your data. Here's how to both create those tables and alter existing tables so they track the history of your data.

Retrieving and Updating JSON Objects in SQL Server 2016

Tue, 14 Nov 2017 17:29:00 GMT

With SQL Server 2016, you can store JSON objects in your rows. Here’s how to work with JSON objects, including how to update them once you’ve found them.

Building the Object Model You Want with Entity Framework

Thu, 09 Nov 2017 19:45:00 GMT

When it comes to inheritance, relational database theory and object-oriented programming have more in common than you might think. Understanding that overlap is critical in designing the object model that will generate the database design your application needs.

Querying JSON Data in SQL Server 2016

Thu, 19 Oct 2017 19:33:00 GMT

With SQL Server 2016, it now makes sense to store JSON objects in your database (even though there’s no JSON datatype). Here’s how to query JSON properties to find the rows you want.