Git Product home page Git Product logo

夏文彬's Projects

algorithms icon algorithms

学习算法与数据结构的总结,算法和数据结构的C#代码实现。

asp.net-mvc-4-demo icon asp.net-mvc-4-demo

asp.net MVC 4扩展点利用demo。asp.net mvc框架主要由这些功能模块构成——路由、Controller的激活、Model元数据、Model绑定、Model验证、Action的执行、View的呈现。这些模块内部以及模块之间的相互交互体现了很良好的OO**,其中遍布了扩展点。 我在此挑选了一些在项目中可以使用到的扩展点,写了一些demo。善用这些扩展点,可以帮助我们写出更加DRY(don’t repeat yourself)、更优雅的业务代码。 Demo里的每个project的info.txt文件就是这个demo想要实现的意图。 当然这些demo的场景都是我想象的,主要是提供思路以便推广。

binaryexpressiongeneratetoken icon binaryexpressiongeneratetoken

一个生成token值的demo。利用C#表达式树(Expression),创建随机的二元运算树。这个二元运算树既可以编译成委托保存于服务端、也能遍历之后转化为javascript代码发送至客户端,两边的值就可以作为token进行验证。这个机制可以用作反爬虫,因为爬虫一般不会执行js代码。若爬虫启动js引擎来执行js,此机制也可以做一定的应对:在遍历树转译javascript代码的过程中,可以随机插入调用浏览器api相关的代码,并且进行混淆加密,使得js引擎执行时会崩溃。

corefx icon corefx

This repo contains the foundational libraries that make up the .NET Core development stack.

entityframework icon entityframework

Microsoft's recommended data access technology for new applications in .NET.

jurassic icon jurassic

Mono port of the Jurassic JS Engine (http://jurassic.codeplex.com/).

moq4 icon moq4

Repo for managing Moq 4.x

mvc icon mvc

Model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor.

mybatisnet icon mybatisnet

Automatically exported from code.google.com/p/mybatisnet

ninject icon ninject

the ninja of .net dependency injectors

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.