Skip to content
View nickalbrecht's full-sized avatar

Block or report nickalbrecht

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
nickalbrecht/README.md

Currently working to maintain and develop applications in ASP.NET Core

Pinned Loading

  1. SelectListItem Extension Methods for... SelectListItem Extension Methods for DropDowns in MVC Core. Added ability to specify the option's Group, and for some bug fixes, more XML docs
    1
    using System.Diagnostics;
    2
    using Microsoft.AspNetCore.Mvc.Rendering;
    3
    
                  
    4
    ///For adding DebuggerDisplay support within VisualStudio for <see cref="SelectListItem"/>
    5
    [assembly: DebuggerDisplay("[Text={Text}, Value={Value}, Selected={Selected}, Group={Group?.Name}]", Target = typeof(SelectListItem))]
  2. Updated implementation of `BeginColl... Updated implementation of `BeginCollectionItem` to support nesting, not ignore the original `HtmlFieldPrefix`, and also provide overloads to let me decide the ID to use. Refactored to be a bit cleaner
    1
    public static class CollectionEditingHtmlExtensions
    2
    {
    3
        /// <summary>
    4
        /// Begins a collection item by inserting a hidden field for the index value
    5
        /// </summary>
  3. Attribute to mark properties backed ... Attribute to mark properties backed by primitive types or structs (int, DateTime, Guid, etc) as requiring a value other than their default value. `RequireNonDefaultAttribute` alone is enough for Server side validation. If you want to use this for client side as well, you'll need the other files too.
    1
    using System.ComponentModel.DataAnnotations;
    2
    using Intellitive.AspNetCore.Validators;
    3
    using Microsoft.AspNetCore.Mvc.DataAnnotations;
    4
    using Microsoft.Extensions.Localization;
    5