Generating a nugget package during build is as simple as the following steps: Define the NuGet Specification Pack the NuGet Package Push the NuGet Package to your repository Now the implementation gets a bit tricky. Define the specification You will need to ensure that nuget.exe is in your path. It’s as simple as creating a … Continue reading Publish NuGet Package using VSTS Build Pipeline
Month: January 2018
Easy Hack to get a .NET Standard REST API
Everyone’s favorite Visual Studio Feature! LINKED ITEMS! 😊 I literally generated a client using the ‘Add REST API Client’ in the .NET Framework project and the PCL project and then linked them into a .NET Standard project and neither codebases threw compiler errors. However, this is no reason for the good folks on the Visual … Continue reading Easy Hack to get a .NET Standard REST API
Generating a REST API in Visual Studio with the many flavors of .NET
I remember a time when there was just .NET. .NET Framework 1.0, 1.1, 2.0, 3.5, 4.0 etc. but all .NET. Then came Silverlight, Windows Phone Silverlight, Windows Universal-ish, Universal Windows Platform, Xamarin.xyz, .NET Core, .NET Standard. Now my head hurts. Seriously. I just want to build a WebAPI client that I can use in a … Continue reading Generating a REST API in Visual Studio with the many flavors of .NET
Swagger UI on Service Fabric with Stateless ASP.NET Core WebAPI
I just found that I needed to add the following NuGet package in order to get this to work: Microsoft.AspNetCore.StaticFiles I was using a vanilla configuration in my code where I setup swagger endpoint: And where I setup Swagger UI… Before I installed this package I was getting an HTTP error 500 from http://localhost:8308/swagger and … Continue reading Swagger UI on Service Fabric with Stateless ASP.NET Core WebAPI
Standalone Cluster On a Single Machine: Same Rules Apply
I am running a stand alone service fabric cluster on a single, albeit beefy, physical server. This cluster has three virtual nodes. That’s because I am using a modified version of the Unsecure.DevCluster configuration template. There are other templates that will allow you to deploy to multiple physical (or virtual) machines but I don’t see … Continue reading Standalone Cluster On a Single Machine: Same Rules Apply
My Home Lab
Here is my home lab setup. I was able to re-wire everything over the holidays so things are a bit more tidy thanks to extensive use of Velcro cable management strips and the cable management arms that came with my StarTech rack. FRONT (2x) Sonos Connect Amp Arlo Pro Base Station + Sonos Connect Amp … Continue reading My Home Lab
Actors Referencing .NET Standard ‘Works On My Machine’
So the age old ‘works on my machine’ is back at it again with Service Fabric Reliable Actors and likely Reliable Services in general (Stateless or Stateful). As you can see from the status my local dev cluster is reporting ‘it works on my machine’. I should be done right? 😊 I have been trying … Continue reading Actors Referencing .NET Standard ‘Works On My Machine’
Deploying to Standalone Cluster: FileNotFoundException
In my previous post, I demonstrated how I overcame some remote connectivity challenges that were preventing me from accessing my Service Fabric Cluster via PowerShell from other machines on my local network. Since then I have been able to deploy to my Standalone cluster using Visual Studio tools. Error event: SourceId='System.Hosting', Property='CodePackageActivation:Code:EntryPoint'. There was an … Continue reading Deploying to Standalone Cluster: FileNotFoundException
Standalone Service Fabric PowerShell Remote Connectivity Challenges with DevCluster
So after I got my Standalone Service Fabric Cluster setup and working I decided the Unsecure template wasn’t good enough and I wanted to try my hand at the x509 template. I went through the entire process (I’ll post on that later) however I was unable to access the Service Fabric Administration Console nor was … Continue reading Standalone Service Fabric PowerShell Remote Connectivity Challenges with DevCluster