GoorooTHINK

Thought provoking and helpful articles
from the Gooroo community.

Do you have something to say? Contribute or create an article and add it to your Gooroo bio.

  1. How to create and assign roles in asp.net mvc 5

    Hello,I am writing this article to show you how to create and assign user role. Create a new asp.net web application project with MVC template along with individual authentication. You have noticed that  AspNetRoles, AspNetUsers etc tables are already  available in our project . So, we can make use of these  tables to fulfill our need . Find and open the Startup.cs file from the solution explorer .You can add  here function to create...
  2. Operation Not Legal in the Current State - Debugging ASP.NET Core Web Applications

    The other evening I was playing around with an ASP.NET Core application. When I started debugging it, I immediately saw an error message pop up that said It was a bit of a head scratcher, so I decided to restart the debug session and see if the problem resolved itself. This didn't help and I saw the same error again.I also saw that my Chrome browser had started up, but it wasn't showing my web page. It was stuck on a notification page telling me that JavaScript debugging is now enabled in Visual...
  3. Visual Studio 2017 Installer Projects

    The one thing that frustrates me a bit is how often the Visual Studio installer projects change from version to version. In fact, as of this writing there is no project template for Visual Studio 2017. It just so happened that the project that I was working on, was originally developed in Visual Studio 2015. It included a setup project that was now no longer available in Visual Studio 2017. It simply displayed the setup project as (incompatible).Some might argue that I should just go back to using...
  4. Database migrations with Continuous Delivery in Entity Framework

    Who doesn't enjoy the big term, DevOps? It sounds promising and sounds interesting as well when someone says, they work as a DevOps engineer! But like they say, Similarly, in the case of DevOps, every process, which DevOps exposes has to be handled with a great care or the results are catastrophic. In this post, I am going to talk about the swissknife of continuous delivery, in the terms of database migrations and maintenance. It has been quite a while, since I have joined DevOps practices and...
  5. Lessons Learned Writing Spring Boot Auto Configurations

    My team and I make heavy use of Spring Boot to build microservices that power our applications at our company. We've even gone so far as to write our own custom auto configurations to ease development. We package these auto configurations along with other goodies into what we call our platform.Recently, after releasing a new platform version, we encountered an issue where one of our microservices would fail to start at what appeared to be random intervals. After further digging, we noticed specifically...
  6. Contributing to .NET for Dummies

    Over the past few months in the little spare time that I have, I’ve managed to submit a handful of pull requests to various .NET-related repositories (e.g. coreclr, corefx, docs, etc.) and incredibly, they were accepted.Now, for some, this may not seem like a big deal. But it felt like a pretty big one to me so I thought I would take some time to elaborate on the process itself, share my experience, and hopefully dispel a few myths or misconceptions that you might have that may be holding you back...
  7. Extending Tag Helpers in ASP.NET Core

    A few days ago, I was answering questions on Stack Overflow when I came across one that I thought might be relevant to share with others that might have a similar issue. The issue itself revolved around Tag Helpers, and in particular, getting data attributes found on models to properly generate the appropriate attributes when rendered.This post will introduce how to easily extend an existing tag helper for a common use-case. It will primarily focus around the use of the Input Tag Helper, the [MaxLength]...
  8. The Path is Null and Full of Squiggles

    I've been using Visual Studio 2017 since the earliest bits were available and I can confidently say, I'm a fan and highly recommend you give it a shot if you get a chance.With that being said, sometimes new features can cause things to blow up and this post is going to be discussing one of those such features, namely Lightweight Solution Load.Recently, I opened up a decently sized solution (~9 projects) and everything seemed in order. All of my dependencies were there, with no warning signs to be...
  9. Sharing is Caring: Using Shared Projects in ASP.NET

    As software developers, copy-pasting some code or a few files and having it in multiple places has always been smelly. There are several different avenues that you can take to avoid this kind of redundancy, but this post will focus on one that it seems isn’t talked about too often: Shared Projects.Prior to the introduction to Shared Projects, I’ll briefly go over why Shared Projects themselves were introduced, and how you might have accomplished similar behavior before their release.With the major...
  10. Glyphfriend 2.1 Released! Now with Library Filtering

    It hasn't been too long since the latest 2.0 release of Glyphfriend, but with the release of Visual Studio 2017 coming around the corner, there were a few things that could use some improvement and polishing off before then.Message received, loud and clear.All of the changes that were made to make the extension more flexible actually resulted in it being more noisy. Glyphfriend would just serve everything it knew about. This has generally been regarded as a bad move, and thus library filtering is...
  11. Edit DRAFT Edit

    • updated