- April 13, 2020
#Docker, #MacOS, #MS SQL Server, ...
Now that Docker has made every developers life easier, I’m going to walk you through a few quick steps to get Microsoft SQL Server up and running on MacOS. The first thing you need to do is install Docker on your Mac. Install Docker I chose to install Docker Desktop so that’ll be what I’ll […]
I recently went through the pain of developing a .NET Core MVC website on MacOS. This post is meant to help you get started using Identity authentication and MySQL as your backend database. I’m going to assume you have .NET Core SDK installed. If you don’t make sure you install the latest version. The current […]
I couldn’t find any reliable C# examples on how to create a webhook using BigCommerce’s API so I thought I’d share my solution. The example code below will create a webhook when an order is created in your BigCommerce store. //BigCommerce Authorization string clientID = “<your_client_id>”; string token = “<your_token>”; string storeHash = “<your_store_hash>”; string […]
I thought I’d share a bit of LINQ to SQL (actually LINQ to Entities) knowledge I just acquired while developing a filtered report. It took me some time to figure this out so I hope this saves you a lot of time dealing with GROUP BY dates. I apologize ahead of time for the VB […]
I was recently tasked with retrieving AdWords data using Google’s AdWords API. In order to gain access to the API you need to create an MCC (My Client Center) account using a different email address then the one used to create your AdWords account. In doing so, you will now have a new Customer ID […]
If you’ve worked with Silverlight’s ScrollViewer you may have noticed the ScrollChanged event is missing. It exists in WPF but Microsoft conveniently left it out in Silverlight. If you need to be notified of changes to the VerticalOffset or HorizontalOffset you can use a dependency property which listens to the change of Offset properties of […]
- June 9, 2013
#.NET, #C#, #Debugger, ...
With .NET 4.0, System.Runtime.Caching MemoryCache can be used to persist large object collections for better performance. This works great when your web application is published to a server. When debugging in Visual Studio, you’ll find that the cache object will be empty at random times. This is apparently caused by a bug in .NET 4.0. […]