Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

Search Engine

Here you can search through the pages of this Namespace, their attachments and the files uploaded to the system.
Note: the results will only display the items you have permissions to read.



Filter by Category

























































This search, performed through 3.59 MB (635 documents, 14094 words), completed in 0.0 seconds and yielded 30 results.

Azure Functions Version — 13.6%

Overview This article provides reusable code for building a Version API for an Azure Function App. Reusable Code The following code, when included in an Azure Function App, provides a "GET api/Version" API which returns the following. Deployment Timestamp Version Number, as specified in a "Version.txt" file. NOTE: The "Version.txt" file must have its Build Action property set to "Embedded resource". public static class Version { [...]

Version - C# — 6.8%

Overview This code requires a "Version.txt" file in the "ACME.Common" project with a Build Action of "Embedded Resource" Code using System.IO; using System.Reflection; public static class Version { public static string Get() { /*--- Inits ---*/ var assm = Assembly.GetExecutingAssembly(); var version = string.Empty; var resourceName = "ACME.Common.Version.txt"; /*--- Read Embedded [...]

Useful Windows Registry Keys — 5.9%

[...] but without the restriction on length. Application Paths HKLM\Software\Microsoft\Windows\Current Version\App Paths This key has one sub-key for per application. The name of each sub-key is the short name of the EXE file (e.g., winword.exe). Each sub-key has the full path to the EXE file as its default entry. Add/Remove Programs Listing HKLM\Software\Microsoft\Windows\CurrentVersion\App Management\ARPCache This key has one sub-key per application installed. Some of them are GUIDs Installed versions of .NET Framework HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP [...]

Creating a COM object in .NET — 4.2%

[...] Ensure the install folder exists mkdir "C:\Program Files\ MyDeploymentFolder " rem Unregister old version "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe" /u "C:\Program Files\ MyDeploymentFolder \ MyCompany . MyNamespace .dll" rem Uninstall old version from the GAC " GacUtilFolder \Gacutil.exe" -u " MyCompany . MyNamespace " rem Copy the new version to the install folder COPY MyCompany . MyNamespace .* "C:\Program Files\ MyDeploymentFolder \" rem Install the new version [...]

Determining Which Versions Are Installed - .NET Framework — 4.2%

[...] Setup\NDP . The installed versions are listed under the NDP subkey. 2. Each subkey under NDP will have a Version entry indicating the installed version. For .NET Framework 4, the Version entry is under the Client or Full subkey (or both). 3. For the v4\Full subkey, if the Release entry exists, then .NET Framework 4.5 or higher is installed. (See below.) Versions 4.5 and Later 1. Within the Windows Registry, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full 2. Look for [...]

Counter Table - Generating one On-The-Fly - SQL Server — 4.2%

Limited Version The following function, taken from here , will return a table with a single column (called "N") and the specified number of rows, to a maximum of 32 rows, and the values range from zero to N - 1 . {copytext|div1} /* select * from dbo.GetCounterTable(10) */ create function [dbo].[GetCounterTable] ( @V int ) returns @t table (N int) as begin set @v = @v - 1 if @v<>0 insert into @t select (@v) union select * from dbo.GetCounterTable(@v) else insert into @t values [...]

ActiveX DLL Registry Entries — 4.2%

[...] GUID FOR PUBLIC CLASS clsRegistryEntry (Default) = "{42A2B698-11B8-11D6-B183-0EC04F2B62B9}" VERSION Here's the Version for TypeLib (Default) = "1.2" Step 3 - For each TypeLib GUID, Determine the ActiveX Server Executable Here's the TypeLib GUID FOR PUBLIC CLASS clsRegistryEntry HKLM\Software\Classes\TypeLib\{42A2B698-11B8-11D6-B183-0EC04F2B62B9} (Default) = not set Version for TypeLib \1.2 Description of TypeLib (Default) = "_Registry Function Library #2" \0 [...]

Reflection - .Net Framework — 2.5%

[...] executable, including any file extension IN UPPER CASE. Versions and Other Info Item Code Product Version System.Windows.Forms.Application.ProductVersion Assembly Version Assembly.GetExecutingAssembly().GetName().

sysjobs System Table - SQL Server 2000 — 1.7%

[...] date_created datetime Date the job was created. date_modified datetime Date the job was last modified. version_number int Version [...]

Menu System based on User Roles — 1.7%

[...] supersubs / superfish jQuery menu, but can be adapted to any menu system. {copytext|xsl} <?xml version="1.0" encoding="iso-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0"> [...]

Database Seeding Framework - C# — 1.7%

[...] Main(string[] args) { SeedEngine.ApplyVersionedUpdates(); } (2) Write Seed Version classes These should follow a naming convention "Seed_YYYYMMDD_hhmm", which will cause them to be executed in the order in which they were created. Re-usable Code public abstract class SeedBase { public abstract void Execute(); } public class SeedEngine { public static void ApplyVersionedUpdates() { // TODO: Create a SeedVersion table var asm = Assembly.GetExecutingAssembly(); // TODO: Query the most recent [...]

CIDR IP Address Range - SQL Server — 1.7%

[...] functions found on this page: IP Address Conversion Between Integer and String - SQL Server . Code This version takes an IP address and Mask as parameters create function [dbo].[GetCidrIpAddressRange](@IpAddress varchar(15), @Mask int) returns @result table ( LowRange varchar(15) not null, HighRange varchar(15) not null, AddressQty bigint not null ) as begin declare @Base bigint = cast(4294967295 as bigint) declare @Power bigint = Power(2.0, 32.0 - @Mask) - 1 declare @LowRange bigint = dbo.ConvertIPToLong(@IpAddress) [...]

Building A Truly Dynamic Menu - ASP.NET — 1.7%

[...] the data in the form required. However, out of pure laziness, I followed the same approach. <?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="1.0" [...]

Using the XML Data Type - SQL Server — 1.7%

[...] path ('data') ) select result = convert(xml, @xsl + @result) Sample MyXslFile.xsl File <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" version="1.0"> <xsl:template [...]

Basics of a Skin - Real Player — 1.7%

[...] feature of RealPlayer media player that allow you to customize the user interface of the player. The last version of RealPlayer to support custom skins is version [...]

RDL File's XML Namespaces — 1.7%

SQL Server 2005 <?xml version="1.0" encoding="utf-8"?> <Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" > SQL Server 20008 <?xml version="1.0" [...]

Chapter 02: Using Master Pages, Themes, and Caching - MCTS Exam 70-515 — 1.7%

[...] VaryByCustom Any text representing custom caching. If this is a browser, cache is varied by browser and major version. If this is a custom string, you must override the GetVaryByCustomString method in Global.asax . VaryByHeader A semicolon-separated list of HTTP headers to version [...]

Custom Assemblies - SQL Server Reporting Services — 1.7%

[...] following code below that code group's ending element. <CodeGroup class="UnionCodeGroup" version="1" PermissionSetName="FullTrust" Name="CoDeMagSample" Description="CoDe Magazine Sample. "> <IMembershipCondition class="UrlMembershipCondition" version="1" [...]

Date-Picker Source and Demo - JavaScript — 1.7%

I have two ZIP files containing ASP.NET DatePicker controls. The C#/Javascript version (with demo) can be found here . A slightly better version [...]

Implementing a Report Viewer Page - ASP.NET MVC — 0.8%

[...] Inherits="My.Namespace.Reports.ReportViewer" %> <%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" [...]

Quick Reference - ASP.NET — 0.8%

[...] System.Web.HttpContext.Current.User.Identity URL of Application Root The following method will return, for example, http://localhost:2297/Version 1.0/ . This is the root directory of the web [...]

GitIgnore Files — 0.8%

[...] projects Generated_Code/ # Backup & report files from converting an old project file to a newer # Visual Studio version. Backup files are not needed, because we have [...]

Database Layout - SQL Server — 0.8%

[...] column or part of the primary key, and what its order is in the table definition. SQL Server 2005 This version also includes the default values and description [...]

System Dossier — 0.8%

[...] etc.) Browsers (and versions) Additional Documentation Deployment Procedures Functional Decomposition Version History Data Model Diagram Wireframes Other [...]

Granting Access to a S3 Bucket - Amazon Web Services — 0.8%

[...] This article provides the IAM policy used to grant a user full access to an S3 bucket. Policy { "Version": "2012-10-17", "Statement": [ { [...]

Requesting an SSL Certificate for Multiple Domains — 0.8%

[...] for the Request Policy, using the following template, and saving it as MainDomainDotCom .inf [Version] Signature="$Windows NT$" [NewRequest] Subject [...]

Forcing SSL with a URL Rewrite Rule - IIS7 — 0.8%

[...] folder should have an index.html file 3. The web.config file should contain the following. <?xml version="1.0" encoding="UTF-8"?> <configuration> [...]

SQL Server Versions — 0.8%

Reference https://sqlserverbuilds.blogspot.com/ Versions Release Version SQL Server 2019 15.0 SQL Server 2017 14.0 [...]

Concurrency Exceptions - Entity Framework 6 and EF Core — 0.8%

[...] in Entity Framework 6. Concurrency exceptions happen only on entities/tables that implement a row version field. They occur when EF detects that an [...]

AddBusinessDays Function - C# — 0.8%

[...] WORKDAY() function, which adds a number of business days to a given date. For a T-SQL (SQL Server) version of this function, see WorkDay Function - SQL [...]

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.