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. Another interesting trick with APPLY operator

    Some years ago, I was reading one book of Itzik Ben-Gan where he explained in depth the use of a new operator: APPLY, I told myself, it just another new feature more. I didn’t understand the relevance and the many versatile applications it had, through time, I have been using APPLY in many scenarios. Saving time and resources it is a fundamental part of each TSQL development, in this short article I would like to explain a simple trick with APPLY operator.The requirement can sound exotic but is...
  2. Asynchronous lambda expression with Func

    HiI share this simple article to show you some code about a TCache async method. I encountered this exception: Unable to convert a async lambda expression in Func.The previows signature was :T Get(string cacheKeyName, int cacheTimeOutSeconds, Func<T> func); It is a generic method.This method takes 3 arguments: cacheKeyName: the name of the item in cachecacheTimeOutSeconds: the expiration policy.func: the delegate that you can use to load the data from database if the cache object...
  3. 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...
  4. Tips for Read/Write Locks Depending on Transaction Isolation Level in MSSQL

    Hi! I wrote these tips after many hours of some ERP system speed optimization. It was very helpful for me and my team. I hope it will be helpful for you too.So, lets go. Read UncommittedRead Committed + read_committed_snapshot off(alter database xxx set read_committed_snapshot off)Read Committed + read_committed_snapshot on(alter database xxx set read_committed_snapshot on)Repeatable ReadSerializableSnapshot(alter database xxx set allow_snapshot_isolation on)Tested on MSSQL 2014.
  5. Configure SQL Database on premises with DB files on Azure.

    RequirementsBenefitsSteps
  6. Maintain Your User Interface Responsive with Task-await

  7. 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...
  8. 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]...
  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. .Net Regular Expressions Demystified Part 1

    In very simple terms we can say that"regular expression is a group of characters that defines a pattern" and using that pattern we find out specific information that we required in our caseSo the regular expressions are nothing but a group of characters that have special meanings to regular expression engine which is already installed in .Net framework and represented by System.Text.RegularExpressions.Regex .My goal in this article is to give you a basic understanding of regular expressions in very...
  11. Edit DRAFT Edit

    • updated

Top Tags

Trending Articles

  1. Another interesting trick with APPLY operator

    Last updated: one year ago by Geovanny Hernandez
  2. Asynchronous lambda expression with Func

    Last updated: 2 years ago by Hubert NGuessan
  3. Operation Not Legal in the Current State - Debugging ASP.NET Core Web Applications

    Last updated: 2 years ago by Dirk Strauss
  4. Tips for Read/Write Locks Depending on Transaction Isolation Level in MSSQL

    Last updated: 2 years ago by Andrey Poturaev
  5. Configure SQL Database on premises with DB files on Azure.

    Last updated: 2 years ago by Robert Fertig
  6. Maintain Your User Interface Responsive with Task-await

    Last updated: 2 years ago by Jose Alfredo Garcia Guirado EE MCSD
  7. Contributing to .NET for Dummies

    Last updated: 2 years ago by Rion Williams
  8. Extending Tag Helpers in ASP.NET Core

    Last updated: 2 years ago by Rion Williams
  9. Sharing is Caring: Using Shared Projects in ASP.NET

    Last updated: 2 years ago by Rion Williams
  10. .Net Regular Expressions Demystified Part 1

    Last updated: 2 years ago by Mobeen Rashid

Publishing guidelines

Gooroo is a professional community interested only in consuming quality content. Here are our pretty simple guidelines for all contributors to follow.