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

SignifyHR.Helpers

The Standards Shared libraries

Groups commonly used helpers used across all modules in Signify Helpers available: ApiUtilities BooleanHelper CalendarControlHelper DateHelper DocumentUploadHelper EnumHelper ExceptionHelper FileHelper FunctionHelper GenerateTokenUtilities Ho...

Table of contents

The Standards MVC

1. General 2. Naming Conventions 3. Models / Domain Models 4. View Models 5. View 6. Controllers 7. Routing 8. Attributes 9. Extensions and Tools

General

The Standards MVC

For a general guide on ASP.NET MVC, click on the following image Each functional domain being implemented must be added to its own Area e.g Administration The folder structure to use when creating a new MVC area is Each area must have the folders Co...

Routing

The Standards MVC

Go To Naming Conventions For a guide regarding routing, click on the image below Area specific routing is implemented in the Area Registration cs file and can have custom routing as required by the area e.g. LearningStoreAreaRegistration.cs using System; ...

Naming Conventions

The Standards MVC

The following naming convention must be followed when creating any of the MVC pattern sections. All names must be created using Pascal-Case. Model The name is always a singularized representation of the database entity e.g. for the data base entity prsEmpl...

Attributes

The Standards MVC

Go To Naming Conventions The ASP.NET MVC framework supports four different types of filters executed in the following order: Authorisation filters – Implements the IAuthorizationFilter attribute. Action filters – Implements the IActionFilter attribute. R...

Model/ Domain Model

The Standards MVC

Go To Naming Conventions For information regarding models, click the images below Contain properties to represent specific data e.g EF Entities or SQL objects Contain business logic (e.g. validation rules) to ensure the represented data fulfills the des...

ViewModel

The Standards MVC

Go To Naming Conventions For information regarding view models, click the images below The class to group one or more models. It applies business logic on the results set from the models TODO : properties defined and properties inherited, private set...

View

The Standards MVC

Go To Naming Conventions For information regarding razor views, click the images below Responsible for presenting viewmodels, viewbags and other data structures in the format of the end user requirements Should mainly contain presentational code, such a...

Controller

The Standards MVC

Go To Naming Conventions For information regarding Controllers, click the images below   Each controller must implement the IController interface directly or indirectly, this must be done using the BaseController namespace SignifyHR.Areas.Portal.Cont...

Table of contents

The Standards Entity Framework

General Naming conventions Domain conventions LINQ EF Core

General

The Standards Entity Framework

All methods accept and use ISessionHandler using SignifyHR.Core; using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; namespace SignifyHR.Data.Domain { public partial class exSample...

Naming conventions

The Standards Entity Framework

Methods for EF are written in Pascal Case Examples of naming conventions that need to be followed for EF Methods: Method Fetch TryFetch FetchAll FetchAllBy<Association> TryFetchFirst Create Update Delete ...

Domain convention

The Standards Entity Framework

Methods Method Parameters Linq / Entity Operation Return Type State Dal Sync Mode Fetch (id, optional filter params, eagerLoaded = false / eagerLoadParms = null) Single T Static Default TryFetch (id, optional filter params, eagerLoa...

LINQ

The Standards Entity Framework

IQueryable This is used when you want to add and/or filter results from the database, without the query being executed already.  This is generally used with methods like ValidSamples() and FilterSamples() The IQueryable interface inherits the IEnumerable int...

EF Core

The Standards Entity Framework

https://docs.microsoft.com/en-us/ef/

Table of contents

The Standards JavaScript

General Naming conventions Bundling Minification jQuery TypeScript Iterators (Loops) Properties Variables

General

The Standards JavaScript

Try to follow the AirBnB styling guide as far as possible. Sometimes you might have to deviate from the guide; such as when targeting Internet Explorer without a transpiler, you have to use var instead of const or let. When using a complete toolchain with a t...

Naming conventions

The Standards JavaScript

Use camelCase when naming objects, functions, and instances. // bad const OBJEcttsssss = {}; const this_is_my_object = {}; function c() {} // good const thisIsMyObject = {}; function thisIsMyFunction() {} Use PascalCase only when naming constru...

Bundling

The Standards JavaScript

Always use bundling to some degree in production. Commonly used vendor scripts should always be bundles, but however be aware that bundles do not grow too large. Bundling tools such as webpack provide an efficient way to split bundles when they grow too large....