 Your new post is loading...
 Your new post is loading...
|
Scooped by
William delmas
April 3, 2013 5:11 PM
|
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.
|
Scooped by
William delmas
March 28, 2013 9:09 AM
|
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.
|
Scooped by
William delmas
March 28, 2013 5:37 AM
|
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).
|
Scooped by
William delmas
March 22, 2013 12:32 PM
|
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.
|
Scooped by
William delmas
March 20, 2013 5:52 PM
|
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.
|
Scooped by
William delmas
March 16, 2013 2:58 PM
|
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.
|
Scooped by
William delmas
March 14, 2013 2:53 PM
|
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.
|
Rescooped by
William delmas
from AspNet MVC
March 11, 2013 3:01 PM
|
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
|
Scooped by
William delmas
March 5, 2013 2:04 PM
|
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
|
Scooped by
William delmas
March 2, 2013 1:32 PM
|
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
|
Scooped by
William delmas
February 28, 2013 12:37 PM
|
Learn How to get session, viewbag and server params values in javascript file in ASP.NET MVC 3
|
Scooped by
William delmas
February 22, 2013 5:03 PM
|
Many times, we required to upload file with strongly-typed view and also apply validation on uploading file using data annotation validators.
|
Scooped by
William delmas
February 22, 2013 4:53 PM
|
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
|
|
Scooped by
William delmas
April 1, 2013 7:57 AM
|
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.
|
Scooped by
William delmas
March 28, 2013 5:39 AM
|
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.
|
Scooped by
William delmas
March 22, 2013 8:42 AM
|
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
|
Scooped by
William delmas
March 21, 2013 11:53 AM
|
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.
|
Scooped by
William delmas
March 20, 2013 5:39 PM
|
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.
|
Scooped by
William delmas
March 20, 2013 3:58 PM
|
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.
|
Scooped by
William delmas
March 14, 2013 2:51 PM
|
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.
|
Scooped by
William delmas
March 8, 2013 4:04 PM
|
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 ?
|
Scooped by
William delmas
March 2, 2013 2:01 PM
|
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...
|
Scooped by
William delmas
March 2, 2013 8:10 AM
|
|
Scooped by
William delmas
February 28, 2013 12:35 PM
|
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.
|
Scooped by
William delmas
February 22, 2013 4:58 PM
|
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 combination, minification, comression 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 NuGet, CodePlex and The Code Project
Check out this Code Project article for a thorough introduction.
|