JavaScript for Li...
Follow
Find tag ".net"
378.2K views | +28 today
JavaScript for Line of Business Applications
Keeping track of current JavaScript Frameworks that help design your clientside Business Logic Layers.
Curated by Jan Hesse
Beam to my Inbox:
Your new post is loading...
Your new post is loading...
Scoop.it!

End-to-End Testing Angular Apps with NUnit and SpecFlow using Protractor.NET

End-to-End Testing Angular Apps with NUnit and SpecFlow using Protractor.NET | JavaScript for Line of Business Applications | Scoop.it

Protractor is an end-to-end test framework for AngularJS. The official version is built on Node.js and Selenium WebDriverJS.

There is currently no way to integrate Protractor tests into Test Explorer (that I know of).

Thankfully there is Protractor.NET, a .NET port of Protractor built on top of Selenium WebDriver for .NET. It allows us to write Angular UI tests using .NET testing frameworks such as NUnit, and arguably produces more readable tests because there’s no need to use promises.

more...
No comment yet.
Scoop.it!

.NET vs. MEAN: Migrating from Microsoft to Open Source

.NET vs. MEAN: Migrating from Microsoft to Open Source | JavaScript for Line of Business Applications | Scoop.it

Developer Michael Perrenoud describes what it's like for .NET developers who want to explore the MEAN stack -- MongoDB, Expressjs, AngularJS, and Node.js

I was standing in the middle of a matrix I'd avoided for a very long time: Microsoft vs. The World. It was a decision I thought I'd never have to make. Here I was, 33 years old and feeling like a dinosaur. Don't get me wrong, the skill set I had wasn't so out of date that it was already dead, but I could feel the market shifting. I knew that if I didn't make a change, in 10 years, I'd be staring down that same barrel those COBOL friends of mine were right now.

more...
No comment yet.
Scoop.it!

AngularJS intellisense in Visual Studio 2012

AngularJS intellisense in Visual Studio 2012 | JavaScript for Line of Business Applications | Scoop.it

As a .Net developer Visual Studio is my greatest power. This robust, adaptable and powerful IDE provides everything I could possibly need. 
But with upcoming new JavaScript technologies like Node and Single Page Applications, it sometimes falls short. It's not that Visual Studio is bad for creating JavaScript applications, but it could do better. 
AngularJS intellisense support is a good example of a missing feature, as it is neither included in the Visual Studio core or in the Web Essentials extension.

more...
No comment yet.
Scoop.it!

Node to Microsoft SharePoint / Project Online via Edge.js

Node to Microsoft SharePoint / Project Online via Edge.js | JavaScript for Line of Business Applications | Scoop.it

We want to get tasks from a project hosted on Microsoft Project Online. We have a lot of Javascript code written for Node for handling that data once we get it. We have .NET dlls that provide an API for working with Microsoft Project Online. So how can we tie the two together? How can our Node application communicate with a .NET library?

Well we could create a web service interface to act as a facade for communicating with the library and consume that in our Node application. That’s a decent option and one we considered. Instead we decided to take a look at Edge.js.

more...
No comment yet.
Scoop.it!

Using OAuth, Twitter and Async To Display Data

Using OAuth, Twitter and Async To Display Data | JavaScript for Line of Business Applications | Scoop.it
Connect to Twitter from a mobile application using OAuth with the Xamarin.Auth library, along with Joe Mayo's LINQ To Twitter library.


For these set of examples, we'll use OAuth as a mechanism to authenticate users. We'll authenticate users, get a response and display information to the user (specifically, a profile image). From there, the example will integrate with Twitter via OAuth and then make calls to Twitter via a third-party library. This will demonstrate the strength of the growing Xamarin ecosystem.

more...
No comment yet.
Scoop.it!

Learning Xamarin for Android

Learning Xamarin for Android | JavaScript for Line of Business Applications | Scoop.it

I have embarked on a course of learning Xamarin for Android. By request, here is an evolving Table of Contents of the articles. Each article will point back to this TOC, and this TOC will point to all the articles, in order.

* Getting Started With Xamarin Android
* Using the Genymotion Emulator
* Logging
* Weirdness Explained
* Application LifeCycle
* Preserving State
* Adding the Spinner Control
* Taking the Plunge – Creating An App
* Preserving State With JSON
* Menus!

more...
No comment yet.
Scoop.it!

JavaScript Unit Testing with Visual Studio

JavaScript Unit Testing with Visual Studio | JavaScript for Line of Business Applications | Scoop.it
Mark Michaelis walks you through the Visual Studio tooling and project setup you'll need to get the most out of your JavaScript unit testing.

Of all these characteristics, it's JavaScript's lack of type safety coupled with not having a compiler fail in the capacity to verify intent. That is, of course, if you don't have unit tests. Unit tests can compensate for the lack of type safety. And unlike with .NET, where unit tests focus mainly on functional verification (since the compiler eliminated the majority of typos), unit tests in JavaScript do both. In summary, JavaScript unit testing is all the more critical because it's responsible to not only verify functionality, but also to verify syntax and language semantics.

In this article, I'm going to focus on the Visual Studio tooling and project setup requirements needed to get the most out of your JavaScript unit testing.

more...
No comment yet.
Scoop.it!

Edge.js - connects Node.js V8 and .NET CLR - in process

Edge.js - connects Node.js V8 and .NET CLR - in process | JavaScript for Line of Business Applications | Scoop.it

Edge.js allows you to run .NET and Node.js code in one process. You can call .NET functions from Node.js and Node.js functions from .NET. Edge.js takes care of marshaling data between CLR and V8. Edge.js also reconciles threading models of single threaded V8 and multi-threaded CLR. Edge.js ensures correct lifetime of objects on V8 and CLR heaps. The CLR code can be pre-compiled or specified as C#, F#, Python, or PowerShell source: edge.js can run CLR scripts at runtime. Edge can be extended to support other CLR languages.

more...
No comment yet.
Scoop.it!

Mvc4

Presentation explaining asp.net MVC4 including what's new, explaining how it works and finally implementing a real world application.
more...
No comment yet.
Scoop.it!

The obligatory TypeScript reaction post

The obligatory TypeScript reaction post | JavaScript for Line of Business Applications | Scoop.it
It’s been known for some time that Anders Hejlsberg was doing something interesting in the JavaScript space, and when Anders is doing something interesting, it’s worth paying attention. This is, af...
more...
No comment yet.
Scoop.it!

Miso Dataset - A View on your Data (think of CollectionViewSource)

Miso Dataset - A View on your Data (think of CollectionViewSource) | JavaScript for Line of Business Applications | Scoop.it

Dataset is a JavaScript client-side data transformation and management library. Dataset makes managing client-side data easy by handling loading, parsing, sorting, querying & manipulating data from all sorts of sources.

In addition to helping load and parse data, Dataset makes it easy to query and select subsets of data, creating "views" that automatically update when the underlying data changes. By binding to events, it's easy to create interfaces onto realtime or user-manipulated data. Dataset provides some standard computations such as min and max and derivatives such as groupings and moving averages.

more...
No comment yet.
Scoop.it!

Jumpstart AngularJS app development for O365 & E2E testing using Protractor

Jumpstart AngularJS app development for O365 & E2E testing using Protractor | JavaScript for Line of Business Applications | Scoop.it

BDD (Behaviour Driven Development) and TDD ( Test Driven Development) has become cornerstone for modern Javascript app development but adopting these development strategies to SharePoint/Office 365 is not a trivial task.

Few weeks back I was intrigued to discover #Protractor, an AngularJS testing framework. With client side MVC/MVVM frameworks getting popular among the developers, AngularJS is the premier framework to develop Office365/SharePoint 2013 apps. Integrating TDD methodologies to app development model will help developers to deliver maintainable, flexible and extensible solutions and interfaces.

This presentation includes training videos to

1) Create AngularJS based SharePoint apps

2) Configuring NodeJS project for testing of AngularJS apps

3) Writing test specs using #Jasmine

4) End to end testing using #protractor

5) Links to online resources

more...
No comment yet.
Scoop.it!

Building production websites with Node.js on the Microsoft stack

Node.js on Windows, in production, may not be the most common configuration – but it’s immensely powerful with the help of edge.js, iisnode, and other open sou…
more...
No comment yet.
Scoop.it!

On the Edge of the CLR - use .Net in Node.js

On the Edge of the CLR - use .Net in Node.js | JavaScript for Line of Business Applications | Scoop.it

WHEN NODE.JS IS NOT ENOUGH
* CPU-BOUND WORK
* LEGACY TECHNOLOGY CONSTRAINT
* REUSE EXISTING COMPONENTS
* UTILIZE BETTER IMPLEMENTATION


EDGE.JS CONNECTS
* Node.js and .NET
* cool with awesome
* on Windows, MacOS, and Linux
* IN ONE PROCESS


WHAT WILL YOU BUILD?

more...
No comment yet.
Scoop.it!

Node.js Connect middleware for .NET using OWIN

Node.js Connect middleware for .NET using OWIN | JavaScript for Line of Business Applications | Scoop.it

OWIN itself is not a technology, just a specification to decouple Web applications from the Web server. The goal of connect-owin is to implement this specification to use node.js, through connect framework, as the Web Server.

The connect-owin exports a function that returns a connect middleware. The function takes the path of the OWIN .NET assembly file as a parameter.

more...
No comment yet.
Scoop.it!

Run .NET and Node.js code in-process with Edge.js

Run .NET and Node.js code in-process with Edge.js | JavaScript for Line of Business Applications | Scoop.it
Tomasz Janczuk has created Edge.js, which allows users to combine the power of .NET with Node.js. Curious about how to add non-blocking communication to your .NET project? Looking for a way to move computationally intensive code out of your Node thread? Janczuk's article provides a great starting point on how Edge works and the benefits it can bring to your next application.
more...
No comment yet.
Scoop.it!

Bridging Node.js and .NET using Edge.js

Bridging Node.js and .NET using Edge.js | JavaScript for Line of Business Applications | Scoop.it

Why .NET?
* 18K+ nuget packages
* SQL Server
* Microsoft Office
* Windows Azure
* Exchange, SharePoint, etc.


What is Edge.js?
* Run .NET in-process
* …including F#, ADO.NET, Python, and Powershell
* Run CPU-intensive code
* Alternative to writing native modules in C


What else could you do with Edge.js?

* Windows Event log
* Performance counters
* Registry
* Print
* Hardware (camera, microphone, Win32 drivers)
* Video encoding, image processing, other CPU-bound work
* Powershell

more...
No comment yet.
Scoop.it!

The two minute guide to AngularJS for .NET developers

While the allure of writing applications - and not just web sites - in HTML5 and JavaScript reaches a lot of developers, we've experienced that a number of developers are rather frightened by the idea of creating large applications in a dynamic language. In addition to the dynamic nature of JavaScript, the lack of a container-based GUI framework (which isolates causes and effects to individual controls, as it is done in the .NET Framework) and the general overarching flexibility and lack of guiding principles didn't make this environment too appealing for a lot of business developers.

We think that AngularJS can change this and we'd like to present a small sample of AngularJS code, the underlying markup and the resulting mini-application. (We're not going to talk too much about the individual steps in this sample, as this would be the focus of the next chapter.)

more...
No comment yet.
Scoop.it!

Generate Knockout Viewmodels using T4 templates

Generate Knockout Viewmodels using T4 templates | JavaScript for Line of Business Applications | Scoop.it

Use a T4 template to generate Knockout-viewmodels based on .NET classes.

This article describes a solution to this problem by using T4 templates to generate the JavaScript Knockout models automatically based on the .NET classes. The resulting Knockout models are extendable so as to be able to add additional functions and (computed) properties client-side. Finally, I also added an IsDirty feature that can indicate if the model has been modified since it's data was set.

more...
No comment yet.
Scoop.it!

Building Modern Mobile Web Apps (Project Liike from Microsoft)

Building Modern Mobile Web Apps (Project Liike from Microsoft) | JavaScript for Line of Business Applications | Scoop.it

Project Liike is an effort to produce guidance that helps organizations build mobile web experiences based off of existing web applications. There are countless devices available today and all indications suggest this number is only going to grow, without convergence. The factors to help choose between native apps and web apps are fairly well-known. Those who choose the web face numerous decisions and challenges based on their requirements. This project aims to help.

more...
No comment yet.
Scoop.it!

Microsoft TypeScript: the JavaScript we need, or a solution looking for a problem?

Microsoft TypeScript: the JavaScript we need, or a solution looking for a problem? | JavaScript for Line of Business Applications | Scoop.it

New language makes large app development easier, but we've seen it all before.

In this Article we are going to see how the new cross compiled Language might influence WebDevelopment (not only) within the .Net Stack.

in my opinion it's true, history repeats, but it's going to be the next big thing. Why else are there no productive IDEs for pure JavaScript atm? 

more...
No comment yet.
Scoop.it!

$linq - A Javascript LINQ library

$linq - A Javascript LINQ library | JavaScript for Line of Business Applications | Scoop.it

Are you converting a .Net Application that heavily relies on Linq? This project might cure the pain of replacing it with "for" loops.

 

$linq is a Javascript version of .NET's Linq to Objects, with some query operations inspired by MoreLinq (an extension to Linq to Objects).

more...
No comment yet.