Exciting new Web Features in Visual Studio 2013 Update 2 CTP2 !

Today, the Visual Studio team announced the release of CTP2 of Visual Studio 2013 Update 2 . VS team added a few useful features and did some bug fixing in this update to improve the web development experience.

Read updates details in brief below, as announced by VS team:

New SASS project item and editor

We added LESS in VS2013 RTM, and we now have a SASS project item and editor.  SASS editor features are comparable to LESS editor, include colorization, variable and Mixins IntelliSense, comment/uncomment, quick info, formatting, syntax validation, outlining, goto definition, color picker, tools option setting etc.

image

image

New JSON project item and editor

We have added a JSON project item and editor to Visual Studio.  Current JSON editor features include colorization, syntax validation, brace completion, outlining, tools option setting and more.

image

LESS editor improvements

We added features including nested media queries, named parameter support, support for selector interpolation, support for semicolons as parameter separators, goto definition for @import, goto definition of variables and mixins.

Knockout IntelliSense upgrade

We added a non-standard KnockOut syntax for VS intelliSense, “ko-vs-editor viewModel:” syntax.  It can be used to bind to multiple view models on a page using comments in the form:

Code Snippet
  1. <!– ko-vs-editor viewModel: <any javascript expression that evaluates to an object> –>
  2. <!– /ko-vs-editor >

image

We also added support for nested ViewModel IntelliSense, so you may drill into deeply nested objects on the ViewModel.

<div data-bind=”text: foo.bar.baz.etc” />

The IntelilSense displayed is the full IntelliSense of the JavaScript Object.

image

New URL Picker in HTML, Razor, CSS, LESS and SASS pages

VS 2013 shipped with no URL picker outside of WebForm pages.  The new URL picker for HTML, Razor, CSS, LESS and SASS editors is a dialog-free, fluent typing picker that understands ‘..’ and filters file lists appropriately for img’s and links.

image

image

image

Browser Link New Features

BrowserLink now supports HTTPS connections and will list that in Dashboard with other connections as long as the certificate is trusted by browser.

ASP.NET MVC 5.1.1, ASP.NET Web API 2.1.1 and ASP.NET Web Pages 3.1.1 are included

We announced ASP.NET MVC 5.1, ASP.NET Web API 2.1 and ASP.NET Web Pages 3.1 in January.  We integrated that release with some minor bug fixes into VS 2013 Update 2 CTP2.

SOURCE LINK: Click here ^

Advertisements

The best of Mobile World Congress 2014

The best of Mobile World Congress 2014, the world’s biggest mobile technology show in Barcelona for the latest gadgets and innovations.

Nokia X

Just months after being sold to Microsoft, Nokia chose to launch its first Android phones. The devices, all dubbed Nokia X, will run Android but be packed with Microsoft services like OneDrive and Skype. The company says the budget phone will enable Microsoft to enter emerging markets it currently can’t reach, but whether they still feel that way when Microsoft takes control in March remains to be seen.

Nokia X

Samsung Galaxy S5

Samsung launched a much more sensible, more cohesive smartphone than previous Galaxy S devices. There’s a finger print scanner, a heart rate monitor, new camera tricks, and a clever way of making your downloads faster by combining Wi-Fi and signal coverage together. Samsung also announced a fitness band with a curved OLED screen as it continues its push into wearables. Expect to want the gold one come April.

2

Sony Xperia Z2

The Sony Xperia Z1 was very well received. However, the Z2, is Waterproof,  sports the latest Qualcomm processor, bringing with it a stack of improvements. That’s the main takeaway here for Sony. Harder, better, faster, stronger, as Daft Punk would say. Early reports and a my own “hands-on” test suggest this is going to be one of the best Android phones released this year.

3

 

A Bluetooth battery

Mobile World Congress is not all about state-of-the-art handsets. One gadget that caught my eye is the Tethercell. It appears to be an AA battery, but it’s actually a case for a AAA battery. The case is also Bluetooth enabled, so after placing it in your child’s noisy toy, you can shut it off with your phone when playtime gets too much to bear. Peace and quiet. How lovely.

5

 

Javascript is at number 1 spot as a Programming Language

JavaScript is the top-ranked programming language, according to the RedMonk Programming Language Rankings.

Since the last bi-annual RedMonk rankings, JavaScript leapfrogged Java to take the top spot, with PHP keeping its place at No. 3. Rounding out the top five, C# climbed two spots to No. 4 while Python fell a spot to No. 5. Other movers included C++ rising a spot to No. 6, Ruby falling two spots to No. 7, and CSS making its first appearance in the rankings at No. 10.RedMonk devised the rankings by selecting and counting repository languages (excluding forks) from the top 100 languages on the two largest public development communities: GitHub and StackOverflow.For the full rankings list and RedMonk’s analysis of language trends, read the report here.

Email Miles, a system using GPS developed to track the emails

A new system Email Miles using Global Positioning System (GPS) technology to calculate the number of miles an email has travelled before reaching an inbox was developed on 18 February 2014.

The system uses GPS technology and internet tracking to determine where a message was sent and where it was received. It then calculates the total distance between the two and displays it on the screen alongside a map.

The system was developed by Inventor Jonah Brucker-Cohen to show how indirect the route of many emails can be.

Brucker-Cohen said the system does all of its time and distance calculations using the internet and a coordinate mapping system. When all of the mileage amounts are tallied, it adds them all and provides the user with a map, the countries and continents and miles the email travelled.

Source / Read More -> Google

Introducing Bing Code Search for C#

Supported by latest version of Visual Studio, i.e., VS 2013

The Bing Code Search add-in for Visual Studio 2013 makes it easier for .NET developers to search for and reuse code samples from across the coding community, including MSDNStackOverflowDotnetperls and CSharp411.

Bing Code Search improves developer productivity and speed by bringing the experience of searching for reusable C# code into Visual Studio IDE.

READ MORE ON:

http://blogs.msdn.com/b/visualstudio/archive/2014/02/17/introducing-bing-code-search-for-c.aspx

Check out this demo video for more info

Try it out online now!!!

For More: Link

Check Free Online CSS3 Code Generator with Plenty of CSS Tools

Like CSS, but don’t like typing all those ‘.’s and ‘#’s? How about a visual CSS editor?

EnjoyCSS is an advanced CSS3 generator. Its handy and simple graphical interface allows you to adjust/customize rich graphical styles quickly and without coding. You can easily copy-paste all the generated code into your environment or get the code for each style element separately (e.g.code for each gradient). Moreover EnjoyCSS allows making ‪2D‬ and ‪3D‬ transforms, multiple complex ‪transitions‬, multiple linear and radial ‪‎gradients‬, text shadows and much more.

Check it out:> http://enjoycss.com/start/

SQL Injection

When SQL is used to display data on a web page, it is common to let web users input their own search values.

Since SQL statements are text only, it is easy, with a little piece of computer code, to dynamically change SQL statements to provide the user with selected data:

txtUserId = getRequestString("UserId");
txtSQL = "SELECT * FROM Users WHERE UserId = " + txtUserId;

Let’s say that the original purpose of the code was to create an SQL statement to select a user with a given user id.

If there is nothing to prevent a user from entering “wrong” input, the user can enter some “smart” input like this:

UserId:
105 or 1=1

Result:
SELECT * FROM Users WHERE UserId = 105 or 1=1

The SQL above is valid. It will return all rows from the table Users, since WHERE 1=1 is always true.

Does the example above seem dangerous? What if the Users table contains names and passwords?

The SQL statement above is much the same as this:

SELECT UserId, Name, Password FROM Users WHERE UserId = 105 or 1=1

A smart hacker might get access to all the user names and passwords in a database by simply inserting 105 or 1=1 into the input box.

exploits_of_a_mom

SQL injection errors occur when:

  1. Data enters a program from an untrusted source.
  2. The data used to dynamically construct a SQL query.

For More:

https://www.owasp.org/index.php/SQL_Injection

http://www.php.net/manual/en/security.database.sql-injection.php