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. 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...
  2. 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...
  3. Custom user roles and role-based authorization in ASP.NET core

    I've recently been trying to contribute to the developer community, in more ways than I previously have. One of the areas I decided to delve into, is spending more time on tech forums and resources like StackOverflow.  Well not for asking questions or checking for answers, but more for answering as many questions as I possibly can. The aim is to provide answers primarily to questions budding developers are asking. so Let's hope I do a lot of that as time goes on. Hey, I might...
  4. Using response compression in ASP.NET Core 1.1

    Modern browsers support multiple compression schemes such as deflate and gzip. Using this nifty feature in your web application can contribute greatly to an improved overall user experience. In this article, we'll discuss response (gzip) compression, it's benefits and how to implement it in your ASP.NET core web application. Response compression is an effective way to improve the efficiency of any website. It helps reduce bandwidth use and dramatically speeds up your website's load time...
  5. How to Query Twitter with C#

  6. Creating Custom Error Pages in ASP.NET core 1.0

    Okay, so you’ve probably come across tons of broken links on our enormous world wide web, and it gets even more frustrating when there aren’t any links or buttons redirecting to a working page. However, the hard truth is, in reality, errors are inevitable. Whether they occur through wrong user input, or simply just one or two bugs in your code, they are simply just inevitable.This article explains perhaps the most efficient way to set up custom error pages for your ASP.NET core web Application. Using...
  7. Push Notification with SignalR

    Qu'est ce que SignalR?SignalR, est une librairie de composants qui facilite le développement d'application web temps réel basée sur la communication bidirectionnelle,tel que les chat room dans les sites web, mais aussi le traitement des notifications ou push notification.SignalR utilise des WebSockets lorsqu'il est possible de se connecter. Ce qui signifie qu'elle supporte tout navigateur compatible avec HTML5.Un des principaux avantages d'utiliser SignalR est qu'elle supporte des procédures distances...
  8. Https Redirect with Asp.Net Core RC2 And Kestrel on Windows

    June 1, 2016I've learned a lot about Asp.Net Core RC2, Kestrel and ports as I failed in various attempts to get a http to https redirect. I share this as a retrospective for myself and in hopes of helping you avoid the swamp and to stay on the narrow road.Update: This approach works with the 1.0 release of Asp.Net Core as well as RC2.Host Asp.Net with Kestrel without IIS for an internal app. I'd like to hit the machine at http://machine-name/ and get redirected to a login at https://machine-name...
  9. ASP .NET MVC - SignalR and Android

    I implemented a real time web channel within an ASP .NET MVC web Application through a SignalR Hub proxy, but on most of Android Browsers it not work well. It seems to work on some recent Android Chrome browsers, anyway to have a full compatibility in the Hub initialization i had to put a fallback to the "longPolling" mode in the case of Android devices, some code like this:if (isAndroid) { $.connection.hub.start({ transport: ['longPolling'] }).done(function () { receiver.server.processEvents(); ...
  10. Paginating data with Jquery Datatables and ASP.NET MVC

    Jquery and Bootstrap are certainly some of the most used libraries for web. It abstracts lots of complex implementations of javascript and CSS. For backend developers like me, It’s the best option so far, especially because my usability and design skills suck.However, I still find some web systems and websites which don’t implement a correct pagination getting all the data from database and leaving the work for the Jquery Datatable component. So, what’s the problem in that approach? I could list...
  11. Edit DRAFT Edit

    • updated