Thursday, December 28, 2023

Dyncraft MVC

**ADO User Story Refinement** refers to the process of reviewing, clarifying, and improving user stories within an Agile development framework, particularly in environments that use Azure DevOps (ADO) or similar tools. The goal of refinement is to ensure that user stories are well-defined, understood by the team, and ready for implementation in upcoming sprints or iterations.

EWI : Electronic Work Instruction

BOM: Build of Material

NCP:Non Conformance Part

TBD: To be Determind 

AddTechnology.cshtml

In Agile methodologies, a "retro" (short for retrospective) is a meeting held at the end of a sprint or project phase where team members reflect on what went well, what didn't, and how processes can be improved for future iterations.

Technology.cshtml




ManageTechnology.cshtml

    [Authorize(Roles = "SG-DYNLOU-UAM-DEV-Hose21mFittingVolume-Edit")]

EWI_ADMIN >_Navigation.js(Controllers\API\App_NavController.cs)
 //Uri uri = new Uri(HttpContext.Current.Request.Url.AbsoluteUri);
 Uri uri = new Uri("https://dynlou.na.paccar.com/EWI/DashBoard/DashBoard");
 string host = uri.Scheme + Uri.SchemeDelimiter + uri.Host + ":" + uri.Port;
 string host2 = "http://" + HttpContext.Current.Request.Url.Authority;
// string host3 = uri.Scheme + Uri.SchemeDelimiter + HttpContext.Current.Request.Url.Authority;

EWI_ADMIN >_Navigation.js(\Scripts\PageScripts\_Navigation.js)

  let url = location.href;
  let prefix = url.includes('/EWI/') ? '/EWI' : '';

  var appuri = prefix + '/Controllers/API/App_Nav/AppNav'
  var reporturi = prefix + '/Controllers/API/App_Nav/ReportNav'
  var opsuri = prefix + '/Controllers/API/App_Nav/OpsNav'
  var produri = prefix + '/Controllers/API/App_Nav/ProdNav'
  var areasetupuri = prefix + '/Controllers/API/App_Nav/AreaSetupNav'




  [HttpPost] //SG-DYNLOU-EWI-Admins
  //[Authorize(Roles = "Administrator, PowerUser")]
  [Authorize(Roles = "SG-DYNLOU-UAM-DEV-EWI_Assembly-ADMIN-MasterAssemblies-Edit")]
  //[Authorize(Roles = "SG-DYNLOU-EWI-Admins")]


--------------
 [OutputCache(Duration = 0)]
// [Authorize(Roles = "SG-DYNLOU-UAM-DEV-EWI_Assembly-ADMIN-MasterAssemblies-Edit")]
 [Authorize(Roles = "SG-DYNLOU-EWI-Admins")]
Read Active User AD:
WindowsIdentity identity = WindowsIdentity.GetCurrent();
string username = identity.Name; // This will give you the domain and username (e.g., DOMAIN\username)

Console.WriteLine($"Current User: {username}");

// Optional: If you want just the username without the domain
string[] parts = username.Split('\\');
string samAccountName = parts.Length > 1 ? parts[1] : username;

Job Interview

 https://ebazhanov.github.io/linkedin-skill-assessments-quizzes/reactjs/reactjs-quiz.html https://ebazhanov.github.io/linkedin-skill-assessm...