GitHub: Commit

Using Git to Track/Record Changes In my last article I demonstrated how to use the Git bash command-line to setup a new repo. In this article, I’ll show how to use commit to track and record changes. I’m starting with an empty repo so first I’ll add a new blank readme.md. Now, I’ll see if…

Git: Setup a New Repository

Use Git to Setup a New Repository In this article I’ll demostrate how to use the Git bash command-line to setup a new repo. First, I’ll start with a new empty folder in which I plan to store a development solution. Now I’m ready to initialize the new folder as a git folder, create a…

C# Language Integrate Query (LINQ)

Please see my other C# articles. LINQ – All to test a collection LINQ – Any() to test a collection   LINQ: Call Custom Method LINQ – Distinct for unique values LINQ – Equality Comparer LINQ: Filtering by Custom Extension LINQ: Query LINQ: Set Operator LINQ: Skip N number objects LINQ: SkipWhile to get objects…

MVC: Conditionally Display View link

Please see my other MVC articles. Displaying Links Based on IF Logic This article illustrates how to conditionally display a link within an MVC based on the results of an IF statement. As you can see in my View’s HTML, I am displaying a “Home” link and then, if the current user is part of the Administrator…

MVC: Conditional Redirect to View

Please see my other MVC articles. Redirecting Users to a New Page Based on IF Logic Similar to the article (link) MVC: Conditionally Display View link, this article illustrates how to use condition logic to change the user experience by using the controller’s default function to test if the current user is part of the Administrator role,…

MVC: Action Name Attribute

Please see my other MVC articles. Define a Custom Action & URL When a Controller’s Action method is invoked, the URL reflects the name of the method.However, it you need the URL to look different without changing the Action method name, assign an ActionName attribute to that method.First, I’ll begin with a new test Action…