Posts

Featured Post

.NET Maui and VS Code

Image
  I was disappointed in the developer experience for .NET Maui and Visual Studio Code. I assumed that the popular debuggers and extensions would cover getting an app running. I am always up to date on my .NET and Visual Studio and Visual Studio Code so I just figured the tooling would be there. When the marketplace didn't really reveal a solution for me, I went searching. The best search result for me is the one that pointed me in the direction to get my .NET Maui CLI working.  That's right. I went to the CLI to get my IDE running the way I wanted it to. .NET MAUI with .NET CLI (Command Line Interface) Getting the .NET Maui workload and the maui-check command line tool installed really helped. Those installs made sure that the libraries and emulators were setup so I could run them without Visual Studio.  It also reminded me that I'll need some sort of emulator or device to connect VS Code to. dotnet new maui After running the CLI to create my solution and project, I realize

Special Characters are Truly Special

Image
Do you remember the days before string interpolation in C#? I do. It was medieval. Those were truly the dark days of development. We would all use string formatting and concatenation and carried swords around to defend ourselves against giant beasts. Ok, maybe I'm the only one that was wearing a helmet but I'm kind of a weird guy. I think we can all agree that string concatenation is not all that fun. It might not be as dangerous as dragons, but it can still light your hair on fire when there is a bug in your code just to display some text. Classes in C# like StringBuilder helped make things safer but it wasn't all that readable. String.Format is easy but keeping the parameters in the right order isn't exactly a no brainer either. What if that code was just in a class behind a view? Can't we just put it in the view? In the code behind it was easily testable, but the context was lost, and it wasn't as simple as what we can do today. output = String.Format("

Technical Support Engineer II

Image
Want to help Sitefinity customers with technical issues?  This position will be mostly remote but should be within a reasonable distance from the Burlington, MA office.  http://app.jobvite.com/m?3gfnlmw4

Cool new stream about F# from LaylaCodesIt

Image
There was a cool new series about F# on Twitch today.  It was fun to see and I haven't used F# in a long time. I felt like it was my first time while watching the stream. https://www.twitch.tv/laylacodesit  Here is my code inspired by Layla and Alyssa. https://gist.github.com/trendoid/ad4c5f3b58fc09c6a0ee472a0fd869d6 or if you want the whole project... https://github.com/trendoid/FsharpConsoleApp It just reads from a text file and prints the contents out to the console. // For more information see https://aka.ms/fsharp-console-apps printfn "Console App: Started!" open System.IO let baseDirectory = __SOURCE_DIRECTORY__ let filePath = "Text.txt" let fullPath = Path.Combine(baseDirectory, filePath) let readFilesTask (path1) =   task {     let! content = File.ReadAllTextAsync(path1)     return content   } printfn "Content: %s" (readFilesTask(fullPath).Result)

Use Free Certificates. Always Use a Certificate.

Image
Azure added free DigiCert SSL certs! Check it out on Microsoft Docs . No wildcard certs but they are free and managed, so since subdomains are free, who cares if its not a wildcard.  So you don't need to do the CertBot stuff anymore if you're on Azure. Using a cert bot is good too. If your cloud doesn't have free certs use  Let's Encrypt .   By the way, AWS had free certs already if you use  AWS Certificate Manager . Don't pay for certs, and you should always get a cert. use free certs

Professional Services is Hiring!!!

Have you heard? I work on a great team at a great company.  Progress Software makes some of the best software out there and also provides services. I support Sitefinity.  It's a great platform and it integrates well with our other offerings.  Progress also makes OpenEdge, Kinvey, Corticon, Kendo UI, Telerik, Chef, WhatsUp Gold and others. Would you like to work on the same team?  If so, check out these new openings. OpenEdge Consultant, Principal Looking for a full stack OpenEdge Principal Consultant with experienced architecting and delivering software solutions utilizing OpenEdge. A Principal Consulting Engineer is accountable for the technical and architectural and development process associated with their given assignments. Principal Software Consultant is expected to provide a high level of technical expertise that can be leverage by other members of a team in the form of providing repeatable code patterns, best practices, and team mentoring.   Principal Consultants are requ

My Experience as a Tech Reviewer

Image
I recently got the chance to be a tech reviewer on  Pro C# 9 with .NET 5  by  Phil Japikse   and Andrew Troelsen. It is a particularly informative book and goes thru all aspects of C# 9. If you were going to get one C#9 book, you should get that book. I got to see what goes into a book like this and I can tell you that it is well worth the price.  Publishing a technical book is a lot of work. The authors need to know the subject matter inside and out. Writers know the subject matter so well that they can write about it in a way that is both educational and keeps the reader's attention. Editors must make sure there are absolutely no mistakes. Publishers must make sure everything is on time and on budget to make the book a success. Then there are the tech reviewers. My job was to go thru chapters line by line and test it. I looked for technical typos and logic errors. I also tested the code that was in the written examples by putting that code in Visual Studio and running it. I test