React & Web Development
136.6K views | +0 today
Follow
React & Web Development
Ressources about React, Typescript, and awesome JavaScript libraries that help us every day.   https://www.linkedin.com/in/williamdelmas/
Curated by William delmas
Your new post is loading...
Your new post is loading...
Scooped by William delmas
April 3, 2013 5:11 PM
Scoop.it!

Security Issues with Single Page Apps

Security Issues with Single Page Apps | React & Web Development | Scoop.it

In this blog entry, I discuss two areas in which you need to exercise extra caution when building a Single Page App. I discuss how Single Page Apps are extra vulnerable to both Cross-Site Scripting (XSS) attacks and Cross-Site Request Forgery (CSRF) attacks.

No comment yet.
Scooped by William delmas
March 28, 2013 9:09 AM
Scoop.it!

MongoDB with C#

MongoDB with C# | React & Web Development | Scoop.it

In my previous article, "Getting Started with MongoDB," I provided a brief overview about some of the most important things to consider when making the move from relational databases to the NoSQL world of MongoDB. I provided a sample conversion of a relational database schema to a document-oriented schema, suitable for MongoDB. In this second article in the three-part series, I develop an application that uses a C# driver to interact with a MongoDB database.

No comment yet.
Scooped by William delmas
March 28, 2013 5:37 AM
Scoop.it!

Generating a fully RESTful Api and UI from a database with LLBLGen and ServiceStack (templates on Github and Demo)

Generating a fully RESTful Api and UI from a database with LLBLGen and ServiceStack (templates on Github and Demo) | React & Web Development | Scoop.it

In this post, we’re going to explore building a generic RESTful api on top of a database with custom CRUD and query conventions, using the LLBLGen ORM and code generator, a ServiceStack service layer, and ServiceStack Razor html entity browser layer. This API and html entity browser can be generated on top of any database that LLBLGen supports (see here for supported database drivers).

 

No comment yet.
Scooped by William delmas
March 22, 2013 12:32 PM
Scoop.it!

Using Require.js in an ASP.NET MVC application

Using Require.js in an ASP.NET MVC application | React & Web Development | Scoop.it

There are several common pitfalls with the way that normal JavaScript code is included on a page. First of all, if one file is dependent on another file to load, for example since backbone.js requiresunderscore.js they have to be included in order.

No comment yet.
Scooped by William delmas
March 20, 2013 5:52 PM
Scoop.it!

Asp.Net SignalR Chat Room

Asp.Net SignalR Chat Room | React & Web Development | Scoop.it

Recently Microsoft added some new features in its ASP.NET Web Application Framework. SignalR is one of the prominent feature to build real time application e.g. social application, multiuser games, news weather etc. In real time applications server pushes the content to connected clients instantly it become available. It provides a simple ASP.NET API for creating server-to-client remote procedure calls (RPC) that calls JavaScript functions in client browsers from server-side .NET code. 

No comment yet.
Scooped by William delmas
March 16, 2013 2:58 PM
Scoop.it!

Async and Await in ASP.NET 4.5

Async and Await in ASP.NET 4.5 | React & Web Development | Scoop.it

In this article, we will see how to use Asynchronous Programming using Async and Await in ASP.NET 4.5 web forms. For demonstration purposes, we will create three different WCF Services which will fetch the Customers data, Total No. of orders and the Total Products respectively. Then we will use these services in our ASP.NET web site synchronously as well as asynchronously. We will calculate the time taken by an ASP.NET web site to call these services and find out the differences between these calls.

William delmas's insight:

pluralsight Async course (await): 

Async Await in MVC 4 => http://www.pluralsight.com/training/Courses/TableOfContents/mvc4

No comment yet.
Scooped by William delmas
March 14, 2013 2:53 PM
Scoop.it!

Two-Factor Authentication ASP.NET MVC 4 Registration with Twilio SMS

Two-Factor Authentication ASP.NET MVC 4 Registration with Twilio SMS | React & Web Development | Scoop.it

 I wanted to illustrate the steps in getting your MVC 4 application wired up with multi-step registration process with SMS code verification leveraging Twilio. We will start from my last blog post with Seed Users and Roles with MVC 4, SimpleMembershipProvider, SimpleRoleProvider, EntityFramework 5 CodeFirst, and Custom User Properties.

No comment yet.
Rescooped by William delmas from AspNet MVC
March 11, 2013 3:01 PM
Scoop.it!

Uploading Files Asynchronously using ASP.NET Web API

Uploading Files Asynchronously using ASP.NET Web API | React & Web Development | Scoop.it
Learn how to initiate a file upload operation using jQuery and then save the posted files on the server using asynchronous Web API.

Via Marc Chouteau
No comment yet.
Scooped by William delmas
March 5, 2013 2:04 PM
Scoop.it!

Top Features in ASP.NET Web Tools

Top Features in ASP.NET Web Tools | React & Web Development | Scoop.it
ASP.NET Web Tools 2012.2  is an ASP.NET release with features including entire ASP.NET family (Web Forms, MVC, Web API). This release also includes new
No comment yet.
Scooped by William delmas
March 2, 2013 1:32 PM
Scoop.it!

SimpleMembership, Membership Providers, Universal Providers and the new ASP.NET 4.5 Web Forms and ASP.NET MVC 4 templates

SimpleMembership, Membership Providers, Universal Providers and the new ASP.NET 4.5 Web Forms and ASP.NET MVC 4 templates | React & Web Development | Scoop.it

The ASP.NET MVC 4 Internet template adds some new, very useful features which are built on top of SimpleMembership. These changes add some great features, like a much simpler and extensible membership API and support for OAuth. However, the new account management features require SimpleMembership and won't work against existing ASP.NET Membership Providers. I'll start with a summary of top things you need to know, then dig into a lot more detail.

Summary:

  • SimpleMembership has been designed as a replacement for the previous ASP.NET Role and Membership provider system
  • SimpleMembership solves common problems developers ran into with the Membership provider system and was designed for modern user / membership / storage needs
  • SimpleMembership integrates with the previous membership system, but you can't use a MembershipProvider with SimpleMembership
  • The new ASP.NET MVC 4 Internet application template AccountController requires SimpleMembership and is not compatible with previous MembershipProviders
  • You can continue to use existing ASP.NET Role and Membership providers in ASP.NET 4.5 and ASP.NET MVC 4 - just not with the ASP.NET MVC 4 AccountController
  • The existing ASP.NET Role and Membership provider system remains supported, as it is part of the ASP.NET core
  • ASP.NET 4.5 Web Forms does not use SimpleMembership; it implements OAuth on top of ASP.NET Membership
  • The ASP.NET Web Site Administration Tool (WSAT) is not compatible with SimpleMembership
No comment yet.
Scooped by William delmas
February 28, 2013 12:37 PM
Scoop.it!

Pass Session or Viewbag values to JS Files : ASP.NET MVC 3

Learn How to get session, viewbag and server params values in javascript file in ASP.NET MVC 3
No comment yet.
Scooped by William delmas
February 22, 2013 5:03 PM
Scoop.it!

File upload with strongly typed view and model validation

Many times, we required to upload file with strongly-typed view and also apply validation on uploading file using data annotation validators.
No comment yet.
Scooped by William delmas
February 22, 2013 4:53 PM
Scoop.it!

Conditional ASP.NET MVC Validation using Data Annotation Attributes

Declaration of conditional logic for Data annotation validation attributes; Author: Talal Tayyab; Updated: 7 Feb 2013; Section: ASP.NET; Chapter: Web Development; Updated: 7 Feb 2013
No comment yet.
Scooped by William delmas
April 1, 2013 7:57 AM
Scoop.it!

Getting started with OData and ASP.NET Web API

Getting started with OData and ASP.NET Web API | React & Web Development | Scoop.it

 OData is a protocol that works over HTTP (the same protocol on which the entire Internet, as we know it, works) and uses pre-established data exchange formats like ATOM (or JSON) to expose data in the Server.

No comment yet.
Scooped by William delmas
March 28, 2013 5:39 AM
Scoop.it!

Building an Image Uploading + Resizing Framework in ASP.Net

Building an Image Uploading + Resizing Framework in ASP.Net | React & Web Development | Scoop.it

Images are really important for us at Tech.Pro. When writing tutorials, it is important for you to quickly be able to insert images into your document, resize them, etc. Often times, you may want to allow users to upload an image, and then generate several different sizes of that image for the user. This is often needed for thumbnails and such. This is common practice and is seen on other blogging platforms such as wordpress.

No comment yet.
Scooped by William delmas
March 22, 2013 8:42 AM
Scoop.it!

Building a shopping cart with SignalR, ASP.NET Web API and Knockout.js

Building a shopping cart with SignalR, ASP.NET Web API and Knockout.js | React & Web Development | Scoop.it

In this tutorial we will go through a process of building a sample shopping cart with real time capabilities. On top of that, we'll also throw in a real time admin order overview.

The technologies used will include:

Knockout.js - for reactive client side data bindingASP.NET Web API - as an API to retrieve data and send orders to the server sideSignalR - to notify interested parties in changes to the item stock quantities & order status
No comment yet.
Scooped by William delmas
March 21, 2013 11:53 AM
Scoop.it!

SimpleMembershipProvider in MVC4 for MySql, Oracle, and more

SimpleMembershipProvider in MVC4 for MySql, Oracle, and more | React & Web Development | Scoop.it

Obviously, if you work with MS technologies, you probably are also using SQL Server or SQL Express, and the SimpleMembershipProvider is all you really need. But doing MVC on top of other databases is also very common practice. The out-of-the-box SimpleMembershipProvider leverages Entity Framework as it’s data access strategy. Built-in as well, are lots of custom SQL commands that are built for SQL Server. It is therefore not compatible at this time with other database and persistence providers. But, luckily, the ASP.NET team has provided a way to enhance this new membership provider by extending 2 abstract classes: WebMatrix.WebData.ExtendedMembershipProvider, and the standardSystem.Web.Security.RoleProvider which was moved to the System.Web.ApplicationServices.dll assembly.

 

No comment yet.
Scooped by William delmas
March 20, 2013 5:39 PM
Scoop.it!

Troubleshooting SQL Server High CPU usage using Xperf

Troubleshooting SQL Server High CPU usage using Xperf | React & Web Development | Scoop.it

Xperf/WPA is a powerful Windows tracing tool that can be used to assist in troubleshooting numerous issues on a Windows server.   The utility allows for in depth tracing without the high overhead typically associated with such tracing.   This is accomplished by making use of the Event Tracing for Windows architecture.

No comment yet.
Scooped by William delmas
March 20, 2013 3:58 PM
Scoop.it!

The Google PageSpeed API & MVC 4

 often use tools such as Yahoo! YSlow and Google PageSpeed to profile the performance of my websites. These tools offer useful performance suggestions that will improve the speed and performance of my sites if implemented correctly. They both plug into the browser and can be run at the click of a button. Depending on how often you profile your website, it can be quite a manual process running the tool through the browser every time you wish to check the performance of a web page. Fortunately, Google have developed an API for the Google PageSpeed service.

No comment yet.
Scooped by William delmas
March 14, 2013 2:51 PM
Scoop.it!

ASP.NET 4.5 New Features Overview

ASP.NET 4.5 New Features Overview | React & Web Development | Scoop.it

ASP.NET Web developers needs to understand Visual Studio , NuGet , ASP.NET and Windows Azure for developing cloud services. Visual Studio 2012 made some cool improvements for web development.This post outlines HTML5 , CSS3 improvements in Visual Studio editor, Page Inspector and new features in ASP.NET 4.5. Using Visual Studio 2012 now you can write HTML, JavaScript, CSS and Razor, C#, VB applications.

No comment yet.
Scooped by William delmas
March 8, 2013 4:04 PM
Scoop.it!

ASP.NET MVC 4 : Bundles et minifications

ASP.NET MVC 4 : Bundles et minifications | React & Web Development | Scoop.it
Depuis ASP.Net MVC 4, pour augmenter les performances de son application, il est possible de mettre facilement en place du bundling et de la minification. Qu’est-ce que ces termes signifient ?
No comment yet.
Scooped by William delmas
March 2, 2013 2:01 PM
Scoop.it!

Seed Users and Roles with MVC 4, SimpleMembershipProvider, SimpleRoleProvider, Entity Framework 5 CodeFirst, and Custom User Properties

Seed Users and Roles with MVC 4, SimpleMembershipProvider, SimpleRoleProvider, Entity Framework 5 CodeFirst, and Custom User Properties | React & Web Development | Scoop.it
I've been Googling over the weekend and so far didn't find any articles out there on how integrate EF5 CodeFirst nicely with SimpleMembership and at the same time, seeding some of your users, roles...
No comment yet.
Scooped by William delmas
March 2, 2013 8:10 AM
Scoop.it!

Single Page App course just published on Pluralsight

Single Page App course just published on Pluralsight | React & Web Development | Scoop.it

This is a momentous event. John Papa has been working for months on a video course that covers building a JavaScript Application from end-to-end with today’s JS technologies. And he just published it.

Get it here: http://pluralsight.com/training/Courses/TableOfContents/spa

No comment yet.
Scooped by William delmas
February 28, 2013 12:35 PM
Scoop.it!

The Golden Rules of Code Documentation

The Golden Rules of Code Documentation | React & Web Development | Scoop.it

Here’s another topic that is highly subjective, that leads to heated discussions, to religious wars and yet, there’s no objective right or wrong.

No comment yet.
Scooped by William delmas
February 22, 2013 4:58 PM
Scoop.it!

Combres

Combres (previously hosted in CodePlex) helps your ASP.NET and ASP.NET MVC applications perform faster and rank better withYSlow and PageSpeed.

Features highlights:

  • All in one solution supporting JS/CSS combinationminificationcomression and caching (by adding proper Expires/Cache-Controlheaders, ETag and server-side caching)
  • Easy to use, simply download it via Nuget, declare JS and CSS resource groups in an XML file and use them in your pages, Combres will take care of the rest
  • Integrated with ASP.NET routing engine and work with ASP.NET WebForm 3.5/4.0/4.5, ASP.NET MVC 2/3/4 and Azure web applications
  • Detect changes in Combres config file, managed JS/CSS files and support auto-versioning, so you don't have to manually rebundle JS/CSS resources after making changes to them
  • Extensible architecture with many extension points
  • And many more: CDN, HTTPS, debug mode, external JS/CSS (dynamically requested from other servers), Less CSS etc.
  • Proven solution with many thousands of downloads in NuGetCodePlex and The Code Project

Check out this Code Project article for a thorough introduction.

No comment yet.