-
Blazor: And the Identity Scaffolding Mess
Ok, back around to the annoying bin. Let’s talk adding Identity to a Blazor Web Assembly app… Out of the box when you start with a Blazor WebAss project using Identity and of course ASP Core hosted (I’m using preview 2). You then decide that all of the hidden razor pages really need to be customized (don’t even get me started on Hidden razor pages). Well there is a way to do just that. You Add Scaffolded Item to the Server project and select Identity (nope not going to show you that- there’s plenty of how-to on the internet). I wait while you go figure out how-to do that…… Wait …
-
Working From Home
Ya, Teleworking this week…. ~ScottGeek.
-
Powershell Create of the SSISDB Catalog
So when management gets this [insert explicative] idea to strip away my MSDN enterprise access, and I need to create an SSISDB catalog on my dev server- what the hell am I to do? Well, maybe not simple… I put on my PowerShell hack through hat. Shall we? In your favorite SQL instance (we’ll just use localhost for my examples) start with making sure you have CLR ENABLED first: EXEC sp_configure 'clr enabled', 1; RECONFIGURE; GO Do this in a query window in SSMS of course. Now the PowerShell: # Load the IntegrationServices Assembly [Reflection.Assembly]::LoadWithPartialName("Microsoft.SqlServer.Management.IntegrationServices") # Store the IntegrationServices Assembly namespace to avoid typing it every time $ISNamespace =…
-
Up and Coming Topics
Just a quick note on new topics to talk about for 2020… Here’s the list of my thoughts: ASP.Core 3x – the latest going on’s since my last posting… which was ASP Core 2.1. Blazor – I’m dipping my hands into this now that it seems to be getting some traction (looks like EF core finally works in Blazor). The Age of “foldable” things is here? The Azure Cloud and what I’ve been up to in this space. Those are my current tech workings… so we shall see. ~ScottGeek.
-
Behind in my posting
Ya, I’m a little behind… I’ve not posted anything since… gee October!. Really? It’s been a busy month and ½… It’s not that there’s not a lot to talk about… Indeed there is. Anyway, I’ve lots of Azure stuff to point out and comment on as I’ve completed a cert class on Azure dev (or so it was called). Then there’s ASP Core 3.x… some new versions of Visual Studio. And I’ve not even written anything on Media stuff… Star Wars… Disney+… the list goes on…. Well, I’ll be out of the corp life for a couple weeks coming… there will be time to do some catching up. ~ScottGeek.
-
Dot Net Hell by any other name?
Just when I think Dot Net Hell days are coming behind us… I run across the reality of the fact that those that created this in the first place are… well… still doing it? Take this little gem: public static async IAsyncEnumerable<string> GetContent(string[] urls) { } Yes, we now have IAsyncEnumerable… or do we. In my little experiment, I have a .Net 4.8 console app with C#8.0 language stuff turned on. So, I wanted to mess about with the Async Enumerable…. But in my console app that IAsyncEnumerble goes all red line of crap on me. So what’s the deal? Well it’s simple once you do the digging. .Net…
-
Dotnet Core Templates – The Revisit
So a while back I penned an article (Dotnet new Magic), but now with the latest VS 2019 and Dotnet Core 3.x release… it’s time to revisit. In case we forgot – the command is: dotnet new -i “–The Template Reference Name Here–” The list of templates can be found in the old place but also here – Dotnet New Templates What ones do I add: dotnet new –install “Microsoft.AspNetCore.SpaTemplates” dotnet new –install “Microsoft.Azure.WebJobs.ProjectTemplates” dotnet new –install “Microsoft.Azure.WebJobs.ItemTemplates” dotnet new –install “NUnit3.DotNetNew.Template” dotnet new –install “Microsoft.AspNetCore.Blazor.Templates” **Some of these already exist, but this one adds the webassembly type. dotnet new –install “Microsoft.Azure.IoT.Edge.Module” dotnet new –install “Microsoft.Azure.IoT.Edge.Function” dotnet new –install “RaspberryPi.Template”…
-
Program Challenge using CSV and NetMQ Part 1.
I did a recent program challenge. The requirements were not too complicated. Basically I was given a simple csv formatted file (csv, of course, being a comma delimited text file). The challenge was to take this csv and parse it into a POCO- POCO being Plain Old Class Object. I’m not sure why we need a acronym for that. POCO is just a data structure in the form of a Class Object. But I digress. Once the csv is parsed into a Class Object, I was then to make it available in a Request/Response using NetMQ. Now on the surface this might seem a lot to do. But not really.…
-
SSIS (SSDT) and Visual Studio 2019 Oh my
On my way to moving pass… yes! Visual Studio 2012 (VS 2010 Shell!) to VS 2019, I’ve discovered one really annoying thing. SSIS, or as we call now- SSDT projects, really is not mostly ready for Visual Studio 2019? But there is a preview extension that seems to “mostly” work. Go to the marketplace or in VS Manage Extensions and look for SQL Server Integration Services Projects – not the Reporting Server or Analysis server- those are there too, but the Integration Services. You add this extension and restart VS…. and you are almost there. 😉 Make sure you actually read the “Known Issues” section on the Overview page page for…
-
ASP .Net Core Razor SPA vs. MVC Taghelpers Navigation
As I mess about with deciding- do I want to do Razor SPA pages or do a full on ASP.Core MVC pages for my latest Web App? I noticed something when- Yes I put both in a solution- it comes to the ASP tag helper for navigation links… So here’s the thing. For a regular ASP.Core MVC we see tag helper navigations look like this: <a class="nav-link" asp-controller="Home" asp-action="Index">Home</span></a> Simple enough… “asp-controller” has the simple controller name, and “asp-action” the action within the controller… no problem Now consider Razor SPA or just simple razor pages: <a class="nav-link text-dark btn btn-outline-info" asp-page="/Index" data-toggle="tooltip" data-placement="top" title="Always Takes you back Home">Home</a> Here…



