ScottGeek Technology

No Widgets found in the Sidebar Alt!

  • .Net Core,  Article,  Microsoft

    Port Desk Top UI App

    March 3, 2019 / No Comments

    Not really ready for prime time , but here’s an article stepping through the how-to and the workaround for the fact that Core has yet to add the visual designer for, ya you guessed the actual Windows Form- that seems to be a rather glaring miss if we are talking about porting and doing traditional windows UI forms development going forward. .NET Blog | How to port desktop applications to .NET Core 3.0 In this post, I will describe how to port a desktop application from .NET Framework to .NET Core. I picked a WinForms application as an example. Steps for WPF application are similar and I?ll describe what needs…

    Read More
    ScottGeek

    You May Also Like

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018

    AS2 and the Mysterious Certificate

    July 20, 2018

    Did you say Free Pipelines?

    September 10, 2018
  • ASP.NET Core,  Microsoft

    Using Kestrel for ASP Core Apps

    March 3, 2019 / No Comments

    As I was looking about with some of the Core 2.2 notes, I came across some interesting notes on how to tweak about with Kestrel settings…. I’m not sure I like putting Kestrel options up the in the Main Program builder. I tend to prefer these to collect in the startup class, but I get point of why Kestrel needs to be handled close to the Builder (it is after all the html service handling web calls). Shall we begin… So up in program.cs we do our normal Web Host Builder: public class Program { public static void Main(string[] args) { var host = CreateWebHostBuilder(args).Build(); MigrateDatabase(host); host.Run(); //CreateWebHostBuilder(args).Build().Run(); } private…

    Read More
    ScottGeek

    You May Also Like

    Did you say Free Pipelines?

    September 10, 2018

    Hello world!

    July 8, 2017

    AS2 and the Mysterious Certificate

    July 20, 2018
  • Other,  Uncategorized

    Example Use of class for HomeTown font

    March 3, 2019 / No Comments

    This is hometown. Made possible with UAF and a css class…. umm. Needs to be easier to use. SG 

    Read More
    ScottGeek

    You May Also Like

    Hello world!

    July 8, 2017

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018

    AS2 and the Mysterious Certificate

    July 20, 2018
  • Uncategorized

    Code Plugin Example Problem

    February 23, 2019 / No Comments

    So here is the sample problem,… //This is C# code block // in C# we use Var of T which is express like X<T> // But as we see this creates a html tag that gets confused... as the plugin tries to close the <T> var X&lt;T>; //generates an ending tag &lt;/T> // // Work around var X< T >; Or better yet use & lt ; // // var myvar<string>; Notice the ending miss placed tag….  <string>;&lt;/string>&lt;/t>&lt;/t>   That should not be in the code block…. It should be var myvar&lt;string&gt;; {{var X}}

    Read More
    ScottGeek

    You May Also Like

    Did you say Free Pipelines?

    September 10, 2018

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018

    AS2 and the Mysterious Certificate

    July 20, 2018
  • ASP.NET Core

    EF Migration tasks in the Program.cs – The good and the Ugly

    February 18, 2019 / No Comments

    Program.cs of any core project (especially ASP.Net Core) is our first starting point to get some necessary work out of the wrong. In this case EF DB Migrations. You know that EF thing where you keep your attached DB tables in sync with your data models? (or in some cases… mess up your existing database). Life in program.cs normally starts here: public class Program { public static void Main(string[] args) { CreateWebHostBuilder(args).Build().Run(); } public static IWebHostBuilder CreateWebHostBuilder(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup&lt;Startup>(); } But let’s consider this:   public class Program { public static async Task Main(string[] args) { IWebHost webHost = CreateWebHostBuilder(args).Build(); // Create a new scope using (var scope…

    Read More
    ScottGeek

    You May Also Like

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018

    Hello world!

    July 8, 2017

    AS2 and the Mysterious Certificate

    July 20, 2018
  • IIS,  SQL Server

    The SQL Server Windows credentialing to work with ASP.Core and other IIS Web Sites

    February 8, 2019 / No Comments

    So somewhere in the backwaters of connecting an IIS hosted web app (a.k.a ASP Core 2.x SPA like app that uses SQL Server as it’s data host), we find the secret not so secret way to wire up a Windows Credential for Database access. Write this down:  IIS AppPool\DefaultAppPool  or Generically   IIS AppPool\<Name My Pool> We start here in IIS with our favorite App Pool-  Now this one is just for example… an ASP Core app pool, of course, would have a No Managed Code like this: Either way, the SQL Windows credential set up is the same…. In SQL server the new login looks like this: Note the IIS…

    Read More
    ScottGeek

    You May Also Like

    AS2 and the Mysterious Certificate

    July 20, 2018

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018

    Hello world!

    July 8, 2017
  • ASP.NET Core,  Microsoft,  Security

    App Registration Link

    February 3, 2019 / No Comments

    This seems to want to move me off to Azure… But for now the link still works… https://apps.dev.microsoft.com

    Read More
    ScottGeek

    You May Also Like

    Hello world!

    July 8, 2017

    AS2 and the Mysterious Certificate

    July 20, 2018

    Did you say Free Pipelines?

    September 10, 2018
  • Uncategorized

    Article: ASP.NET Core updates in .NET Core 3.0 Preview 2

    February 2, 2019 / No Comments

    ASP.NET Core updates in .NET Core 3.0 Preview 2

    Read More
    ScottGeek

    You May Also Like

    AS2 and the Mysterious Certificate

    July 20, 2018

    Did you say Free Pipelines?

    September 10, 2018

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018
  • .Net Core,  Microsoft

    Play with dotnet tool and a BOT

    February 1, 2019 / No Comments

    I was poking about with cleaning up my DotNet Core sdks and in my travels a found this thing call dotnet tools… Let the experiment begin… To credit the source of an article on Microsoft go here: dotnet tool  Do a console project with dotnet: dotnet new console -o botsay Then, of course, cd into the botsay directory… and edit the Program.cs (yeap you can do this in VS 2017) Here’s the main method: using System.Reflection; static void Main(string[] args) { if (args.Length == 0) { var versionString = Assembly.GetEntryAssembly() .GetCustomAttribute<AssemblyInformationalVersionAttribute>() .InformationalVersion .ToString(); Console.WriteLine($"botsay v{versionString}"); Console.WriteLine("-------------"); Console.WriteLine("\nUsage:"); Console.WriteLine(" botsay <message>"); return; } ShowBot(string.Join(' ', args)); } The ShowBot method is this:…

    Read More
    ScottGeek

    You May Also Like

    Did you say Free Pipelines?

    September 10, 2018

    Hello world!

    July 8, 2017

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018
  • Microsoft,  Visual Studio 2019

    Getting Ready for Visual Studio 2019? We are at Preview 2

    January 27, 2019 / No Comments

    Looking at what is coming for Visual Studio 2019… It’s time to start looking and trying…. Visual Studio 2019 Preview 2 is now available The official source of product insight from the Visual Studio Engineering Team blogs.msdn.microsoft.com    

    Read More
    ScottGeek

    You May Also Like

    Hello world!

    July 8, 2017

    Did you say Free Pipelines?

    September 10, 2018

    .net Core 2.1 and SQL via EF Core 2.1 -The revisit

    July 3, 2018
678910

Recent Posts

  • Glitch task 1 – Permalinks and Azure Custom Domain for Word Press
  • Azure here we come with WordPress
  • The Massive Server down thing
  • Plex Install on Raspberry PI 5
  • “OPS” in the life of a Tech Geek.

Recent Comments

No comments to show.
ScottGeek - 2026 ©