Giter Club home page Giter Club logo

dinheiro's Introduction

Dinheiro - Ecommerce Helpers for ASP.NET MVC

Dinheiro is a set of handy ecommerce helpers for developers integrating with third-party services.

The aim is to cover the essentials that all ecommerce websites need.

Note that in order to use these, you need to have relevant accounts in place with each third party.

Ready to go

Allows you to easily track page views, events, social actions and ecommerce by using action filter attributes or an easy API.

You can install using NuGet:

  PM> Install-Package Dinheiro.GoogleAnalytics

Adds a P3P Policy to your website (stop Internet Explorer from blocking your cookies!).

  PM> Install-Package Dinheiro.P3PPolicy

Removes unnecessary ASP.NET, IIS and MVC HTTP headers from your application responses.

  PM> Install-Package Dinheiro.RemoveUnnecessaryHeaders

Dinheiro.Core

The Dinheiro.Core library contains a collection of optional handy MVC helpers:

[IFrame] and [NoIFrame] attributes

By decorating your controller or action (or applying globally) with [NoIFrame] the page will be prevented from being embedded within <frame> or <iframe> elements. This can help avoid clickjacking attacks. It does this by adding the HTTP header X-Frame-Options: DENY.

[NoIFrame]
public class HomeController {}

You can then override this to allow a page to be displayed within an <iframe>, but only on your own site by using the [IFrame] attribute. This will add the HTTP header X-Frame-Options: SAMEORIGIN.

[IFrame]
public ActionResult MyIFrame()
{
}

More details on X-Frame-Options and clickjacking can be found here: https://developer.mozilla.org/en/The_X-FRAME-OPTIONS_response_header

On the roadmap

Facilities for host name redirects, Flash cross-domain policies, open search, card processing, PayPal, Google Checkout, online chat, abandoned basket emails and more!

dinheiro's People

Contributors

davidduffett avatar

Watchers

James Cloos avatar Johnson Augustine avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.