QUESTIONS

answers  0
views  31K
votes  4

[Snippet] How to Encrypt and Decrypt a string in C#  

Here is a code snippet to help you encrypt and decrypt a string in C#. The key is hardcoded, but in your own project you may want to read it from a secure store, or perhaps a config file or environmen ...
Apr 03, 2016
Sacchidananda Murthy
{ 63.9K - 6522 - 5 }
answers  1
views  7.5K
votes  1

[Question] Reading appsettings.json in a .NET Core console application  

I am using .NET Core to build a simple console application. However, I am stuck by not being able to read a few settings from an appsettings.json file. How do I go about doing this? From what I u ...
Apr 08, 2016
Obrad Józef
{ 76.3K - 7911 - 6 }
answers  2
views  4.3K
votes  0

[Question] Difference between {{ expression }} and ng-bind  

Why does Angular offer these two different syntax? What is the difference between the two?
Apr 05, 2016
Uday Uddin
{ 27.6K - 3871 - 4 }
answers  0
views  3.5K
votes  0

[Article] How to recover your CoinSpot Account?  

CoinSpot is a platform that allows you to access everything it has to offer as soon as you create an account. To do this, you simply need to remember your username (which can be your email address or ...
Aug 31, 2022
Jennifer Jenny
{ 3,350 - 516 - 1 }
answers  2  
views  3.3K
votes  2

[Question] In Angular what is the difference between ngRoute and ui-router  

I am not clear about the difference between ngRoute in angular-route.js and ui-route in angular-ui-router.js. One thing I noticed is that the routeconfiguration is different. Which one is the best an ...
Apr 02, 2016
Julian Gallardo
{ 34.4K - 4762 - 4 }
answers  1  
views  3.1K
votes  0

[Question] ASP.NET Core: setting Viewbag value in the OnActionExecuting method  

In ASP.NET Core (RC1) I am setting a ViewBag value in the OnActionExecuting method in a custom ActionFilter. This is the code: public override void OnActionExecuting(ActionExecutingContext filterCon ...
Apr 20, 2016
Jim Slater
{ 18.4K - 2840 - 3 }
answers  1  
views  2.5K
votes  1

[Question] Visual Studio 2015 F10 Debugger key not working  

I just installed VS 2015 Update 2 and now my F10 Debugger key is not working. It looks like it is mapped to F5 (continue) because the debugger stops at the correct breakbpoint but then F10 continues e ...
Apr 02, 2016
Guus Wiersma
{ 12.3K - 2448 - 3 }
answers  0
views  2.1K
votes  2

[Snippet] How to return multiple values from a function in ES6  

The following function returns two variables: a credentials object and a transport string. function getEmailConfig() { let credentials = { userName: 'anthony', password: 'pass' ...
Apr 02, 2016
Anthony Perez
{ 10.1K - 2014 - 3 }
answers  2
views  1.9K
votes  0

[Question] How to set focus to a textbox with Angular.js?  

What is the best way in Angular to put focus on a textbox following an event, i.e. a button click? Here is my scenario: Our app has a page with a table displaying customer data. The first column in ea ...
Apr 03, 2016
Hendrik Siothrún
{ 9,770 - 1945 - 2 }
answers  2
views  1.7K
votes  0

[Question] How to create pretty URLs in Angular  

The routing in Angular makes use of the hash character in the URI path, for example http://localhost/#currencies/10 Is it possible to remove the # sign? If yes, how? I want that the URL should appea ...
Apr 05, 2016
Angel Crump
{ 5,490 - 1089 - 1 }
answers  2
views  1.4K
votes  3

[Question] How to add a new column, with a default value, to an existing table in SQL Server  

How do I add a column to an existing table in a SQL Server database? In my scenario I am adding a column of type int with a default value of 0.
May 14, 2016
Dylan Barlow
{ 2,585 - 505 - 0 }
answers  2
views  1.3K
votes  0

[Question] UPDATE from SELECT in SQL Server  

How can I update/modify the contents of a table, by using a subset of data obtained from secondary SQL query statement?
Oct 13, 2016
Alaattin Snijder
{ 5,060 - 1003 - 1 }
answers  1
views  1.3K
votes  0

[Question] C#: best practice of when to use a var vs the actual type?  

Are there any best practices when declaring variable with respect to the use of var versus the actual type? What I have seen so far is that complex types and reference types are usually declared with ...
Apr 04, 2016
Lylou Josephs
{ 3,720 - 735 - 1 }
answers  1
views  1.2K
votes  0

[Question] What is HTML5 mode in Angular.js?  

I encountered this term in Angular JS. I know that when you enable the HTML5 mode, the Angular URLs do not have the hashtags anymore. But what is it exactly?
Apr 05, 2016
Umar Sheikh
{ 2,690 - 529 - 0 }
answers  5
views  1.1K
votes  0

[Article] Hire Professional Web Design and Website Development Company in Barrie, ON ?  

We are a local Barrie Web Design and WordPress website development company in Barrie, On. we create Eye-Catching, cost-effective and professional business websites. why our customer love us because we ...
162  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.