Simplifying Bundling and Minification in ASP.NET Core

Here is the link to a very good article

The decisions around what to use for packaging client side libraries is still a length discussion. Mostly, if not always, will start and stop with “It Depends…”.

However, getting started with something and being able to build upon that is a good starting point rather than what some call “Paralysis through analysis”.

TSQL Filtering by a Date

Here is a snippet of TSQL code that looks at a database and returns just by date and ordered by date.

By a Specific Date…

  SELECT  *
  FROM [DatabaseName].[Schema].[TableName]
  where Cast(LogDate as date) = '2019-06-19'
  order by LogDate desc

By Todays Date…

  SELECT  *
  FROM [DatabaseName].[Schema].[TableName]
  where Cast(LogDate as date) = Cast(GetDate() as date)
  order by LogDate desc

TypeScript “Gotchas” Part 2 DocumentReady

DocumentReady

When you want to use the jQuery Document ready in a TypeScript file you need to use the following format…

//TypeScript Document Ready Example... 
//===========================================================
$(() => {
                  console.log("New version of Document ready");
                  //Document Ready code goes here…
}); //End of Document Ready ====================================================================