Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

68 total results found

How to create a new book

Signature How to guides

When to add a book? You can think of a book as a topic you can speak on for days on end without stopping. In other words, there really is a lot to say! Smaller or shorter snippets of information belong in either a chapter or a page. Steps Sign into Signa...

SCORM vs xAPI

Explaining xAPI to a 5th grader, click the image below Understanding SCORM vs xAPI What is SCORM? Shareable Content Object Reference Model Learning standard used to publish interactive learning content 1.1, 1.2, 2004 2nd Edition, 2004 3rd Edition, 200...

Table of content

The Standards C#

General Statements, expressions and operators Separation of concerns Types Classes and Structs Interfaces Comments Arrays Generics Strings Namespaces Exception handling

General

The Standards C#

Developers guide to debugging (click on the image below) When dealing with objects, always check that they exist and content/elements are available public IEnumerable<exSample> GetSamples(SignifyHRDAL dbContext) { var samples = SampleHelper....

Statements, expressions and operators

The Standards C#

References Statements Expressions and operators   Additional Ensure the proper use of extension methods and overloads. When you have to pass in a few null values for a method, consider making another overload. Also check that the null value is handl...

Separation of concerns

The Standards C#

The main concept here is Single Responsibility - "a class/method must have only one reason to change".  This deals specifically with cohesion. //Bad public exSample UpdateSample(int id, string newDescription, int productId) { //Method purpose is to ret...

Types

The Standards C#

References Build in reference types Nullable reference types SignifyTypeExtensions   TODO When are Types used? How are they used? Converting to other Types?

Classes and Structs

The Standards C#

Interfaces

The Standards C#

References Explicit Interface Implementation How to explicitly implement interface members How to explicitly implement members of two interfaces

Comments

The Standards C#

References Commenting Conventions      

Arrays

The Standards C#

References Arrays as Objects Single Dimensional Arrays Jagged Arrays Using foreach with Arrays Passing Arrays as Arguments

Generics

The Standards C#

References Generic Type Parameters Constraints on Type Parameters Generic Classes Generic Interfaces Generic Methods Generics and Arrays

Strings

The Standards C#

References Working with Strings Formatting Standard Numeric Format Strings Custom Numeric Format Strings Standard Date and Time Format Strings Custom Date and Time Format Strings Composite Formatting   Date Formatting (V8) Ensure where ever...

Namespaces

The Standards C#

Usage Make use of using directives to enable improved readability and limit coding effort. // Not making use of using directive namespace MyTestProgram { public class MyTestClass { private void DoSomething() { if(!S...

Exception handling

The Standards C#

References Creating and Throwing Exceptions   Catch Ensure the error is logged in a catch.Actions returning a page, view or partial should return the appropriate error page.Return the correct notification to user if elements are changed during execution or...

Table of content

The Standards

Overview General C# Shared libraries MVC Entity Framework JavaScript CSS/HTML SASS React Web API (REST) SQL

Overview

The Standards

Standards provide a guiding light that we follow while writing code. Standards are born literally from blood, sweat and tears from lessons learned. Standards contain industry coding standards with a Signify flavor. They are the basis on which ALL Signify ...

General

The Standards

The following list of items indicate coding standards independent of the technology used. Comments should be added selectively if the code is not self-explanatory i.e. avoid over-commenting for code that is self-explanatory. Error handling should be done. C...

SignifyTypeExtensions

The Standards Shared libraries

This library is used to to type casting for primitive types and has built-in error checking while performing type casting. This type casting is extended from String, DataTable and Object types. Examples: var dateVariable = dt.ToDateTime(0, "ExpiredBefor...

SignifyControlLibrary

The Standards Shared libraries

This library extends certain controls inheriting from System.Web.UI.WebControls that are used regularly on web forms. Some properties are added to these controls that automate some of the functions that are normally performed on this control. Controls that...