Author Archives: SheldonS

Vivaldi Adds Docked Dev Tools

Vivaldi Version 1.10

Vivaldi released 1.10 to the stable channel. This release contains one of the items I have most desired; docking and floating the DEV Tools.  They have also included other nice updates to the Start Page and other items.  For me I really wanted to dock my DEV Tools.

You can read about the full release at Vivaldi Powers Up the Start Page and Adds Docked DEV Tools.

Why I Care

Personally I like being able to place my Dev Tool window where it is most convenient to me. Sadly this varies with what I am doing. Sometimes the default floating option is fine.  Other times I want it docked somewhere inside the page, even then not always in the same spot. Of course if you don’t use your DEV Tools that much then it probably doesn’t matter.

As a side note, this patch appears to have fixed my streaming issues. So I get to use Vivaldi as my default browser again with the DEV Tools working the way I like!

The freedom of choice with the DEV Tools was one thing I liked about Opera. Vivaldi replaced Opera as my main browser due to its ability to be easily customized.

Read the rest of this entry

The React.js Venture

Greetings!

ReactLogoI am just now starting my adventure into React.js.  There is one project I have been on that is Angularjs but there are some others in the enterprise that are React.js.

So far I have done the quick Tutorial: Intro to React at the React site.  I am also in the middle of the PluralSight course React.js Getting Started by Samer Buna.  Obviously I have not looked at any serious production source code yet.

Read the rest of this entry

OneNote vs Highlighters & Paper

What is This?

There was a time when I used to prefer to print documents so I could make notes on them and kind of map things out.  Needless to I have not needed to do that in a long time.  Until yesterday.

I had written a test, bigger than a unit test but nothing huge.  I needed to test my methods that would take a string from a database with special mark-up and make it into JSON.  The special mark-up would allow information from another database to be injected and some XMLish in it would map fields from our object to the JSON.

I had three text things I needed to view; the source string, the data object, and the JSON generated.

I had two tests like this and did the first one the old-fashioned way.  I printed each text on its own paper and went to work making sure things were correct.

Read the rest of this entry

Database DevOps

Microsoft’s Channel 9 Visual Studio Toolbox talks about bringing DevOps practices to the database.

Database DevOps with Redgate Data Tools

https://channel9.msdn.com/Shows/Visual-Studio-Toolbox/Database-DevOps-with-Redgate-Data-Tools

The Vivaldi Web Panel

Vivaldi

Before I get too far into the Vivaldi Web Panel you may not know about Vivaldi.  You may wonder what this has to do with Enterprise Web Development.

Vivaldi

Vivaldi is a great Chromium based browser that has been around since sometime in 2015. It was created by some of the original Opera developers. This is a great browser that really allows the user to customize it. Their story is best said in their own words at this link.

Nice, but Web Development?

What I want to talk about today is not directly related to web development. I could go on about the developer tools in Vivaldi but really every modern browser has those built-in. I could talk about the extensions that would help you but again you can get those in almost any modern browser.

What I want to talk about today is more of a convenience than a development thing. Vivaldi is very customizable, more so than other browsers. This level of customization could be overwhelming to some users, but trust me is worth it.

Among its many features is a thing they call Web Panels.

Web Panels

Web panels are like special bookmarks that open in a new frame next to what you are viewing in your browser. If the site you add as a web panel is properly designed it will nicely adjust to however wide you make the panel. This is great if you want to keep some kind of reference open while working or something like TweetDeck.

Here is a screen shot of my side bar showing all of my web panels.

My Vivaldi Web Panel

My Vivaldi Web Panel

I have links to Mozilla JavaScript Reference, HTML Color Names, TweetDeck, Dev Docs, C# Language Reference, T-SQL Reference, and Unity Manual.

You can read more about Vivaldi Web Panels on their site at About Panels. For me I find it quite helpful than using just a normal link. I would not use it for everything, as you can tell it is mainly reference stuff.

If you already use Vivaldi give it a shot, you might like them. I know it took me a little while to warm up to them. If you have not tried Vivaldi, give it a shot. Remember, it can be a bit overwhelming at first since they are so focused on making it your browser.

Luke Fabish – Tame Your CSS with Some SASS

SASS.  I have toyed with SASS a little, and I do mean a little.  We have it built into one of our projects.  Usually when you create your styling you rarely need to go change it.  So those few times I have managed to figure things out.

Personally that is not good enough.  It is one of those topics I keep meaning to learn about and yet not have the time.  I received an email with a link to Luke’s article from Simple Programmer.  It is a long read, but it is worth it.

Tame Your CSS with Some SASS by Luke Fabish

Simple Programmer is a great resource as well.  I highly suggest you subscribe to his news letter.  You never know what you mind find in your inbox; today I found this article.  I went to Luke’s site and saw right away several more I would like to read.

Add Some Color to Your SSMS

Colors Are Spice For Your Eyes

Graveyard Trail

One of the definitions of color at Dictionary.com is

the quality of an object or substance with respect to light reflected by the object, usually determined visually by measurement or hue, saturation, and brightness of the reflected light; saturation or chroma; hue.

That is quite a mouthful for something we can just look at and instantly appreciate.  Colors are a natural occurrence.  Colors can spice up a day in the mountains making it more enjoyable compared to the bland look of winter or the constant lush green of summer.

Read the rest of this entry

Visual Studio Won’t Open CSHTML Files

I had an issue one day where Visual Studio would not open my CSHTML files.  It would give me the following error.

The operation could not be completed.  Invalid pointer.

So naturally I took to Bing.  I eventually found the work around on StackOverFlow.

The fix for me was not the question’s accepted answer but one further down.  I deleted the contents in the %LocalAppData%\Microsoft\VisualStudio\14.0\ComponentModelCache folder.

After that I never had this issue again.

Change Login Using Windows Authentication

Recently I had a need to allow users to change their login on an MVC site that used Windows authentication.  Of course we did not want the user to log out of their machine to do it.  The trick of course involved sending a 401 response, but how to do that and not get stuck in an endless loop.

The 401 Loop

It seemed simple enough, in fact too simple.  You just return a 401 challenge and have them move on to their previous page.  The 401 response is what presents the user with the Windows login popup.  In reality the 401 response acts like a redirect on itself, so you get two page loads and it forgets any variables you set.

Well that simply would not do. Read the rest of this entry

Getting Started With Angular 2 In Visual Studio 2015

Angular 2 And Visual Studio 2015?

VSTSNG2PaintI want to start learning Angular 2!  We have an enterprise project that will be developed in Angular 2.  In fact the contracting firm will create a minimum viable product and then it will be up to us to do the rest.  So I really must learn Angular 2.  We also use Visual Studio 2015 Enterprise edition.  Most of our current projects target .NET 4.

If you have looked into Angular 2 just a bit you will find a huge difference.  Most people are teaching it using Code or some other IDE that is not Visual Studio.  So my goal in this post is to take the 5 Min Quickstart from Angular 2 and make it run in Visual Studio 2015.

I will not go into detail on every bit, please see the Quickstart for that information.  I am just focusing on getting it running in Visual Studio 2015.

Read the rest of this entry