-
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...
-
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
I’ve seen quite a few posts online regarding folks having issues installing Visual Studio 2017 after using previous versions of the IDE (such as the various pre-releases and RCs). If this sounds like you, then you might want to follow some of the steps in this blog post to ensure that your next install goes smoothly.Generally, the standard uninstall procedure should work as expected, so definitely try that before moving on. If that doesn’t work and you find yourself unable to install or update...
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
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...
-
-
-
-
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
This article is the example I would have liked to have found when I was investigating how to write my own five star rating system.See https://www.easy-listen.com to see the five star rating example live.The rating system allows voting and retrieving the average vote for multiple items on a single page.References: the edX course named Introduction to jQuery by Microsoft’s Michael Harrison.This sample is a walkthrough explaining how to create the following code items.1. HTML file with five stars for...
-
-
-
-
-
-
-
-
Love these skills? Find your Match.
-
-
-
-
Love these skills? Find your Match.
-