GithubHelp home page GithubHelp logo

0xkheops / codetester-webpart Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 161 KB

This SharePoint 2007 WebPart uses CodeDom and Reflection to dynamically compile an assembly and run a method containing user's input

Batchfile 0.28% C# 35.15% CSS 0.84% JavaScript 0.97% HTML 62.76%

codetester-webpart's Introduction

SharePoint 2007 CodeTesterWebPart

This old project for SharePoint 2007 was initially hosted on Codeplex, and migrated on GitHub for the sake of history.

This WebPart uses CodeDom and Reflection to dynamically compile an assembly and run a method containing user's input.

Download CodeTesterWebPart.wsp

Test your .NET code in Sharepoint's web context without deploying anything and without waiting for Sharepoint to initialize.

Type some code directly in the textbox and click a button to run it !

C#

Since v0.0.0.2 you can code in VB.NET too :

VB

View compiler errors just like in Visual Studio :

compiler results

Test controls and script injections :

insert gantt

Considerations

  • This web part is a developer tool that IS a major security hole as any code can be run through it, by any user with access to the site it's deployed to. It's not meant to be deployed to any production environment.
  • It is best viewed in Internet Explorer

codetester-webpart's People

Contributors

0xkheops avatar

Stargazers

 avatar

Watchers

 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.