Archive

Posts Tagged ‘.net’

Running C#/.NET code from Cloud 9 IDE

March 16, 2015 Leave a comment

I was experimenting with Cloud 9 IDE mainly for remote coding interviews.

I also wanted to see if I could add C# support. C# syntax highlighting was already supported in Cloud 9. Mono is also pre installed in the Cloud 9 Environment.

All I had to do was add a custom runner to use mcs command line compiler for mono.

I am a complete newbie when it comes to ubuntu / bash etc., so please bear with if there are any script issues with the runner.

You can configure a custom runner using this json:

{
    "cmd" :  [
        "bash",
        "--login",
        "-c",
        "mcs '*.cs' -out:'$project_path$project_name.exe' $args;mono '$project_path$project_name.exe' $args"
    ],
    "info" : "Started $project_path$project_name",
    "env" : {},
    "selector" : "source.cs"
}
Advertisements
Categories: .NET Framework Tags: , , , ,

Popular Posts

November 19, 2010 1 comment

Popular posts

 

Threading Study Notes

Multi-Threading Basics – Setting the stage

Multi-Threading Basics – Race Conditions

Multi-Threading Basics – Deadlocks, Livelocks and Starvation

Multi-Threading options in .NET

Thread States in .NET

Atomic access functions – Interlocked family of functions

Critical Sections of code – Monitor

Waiting for something to happen – WaitHandles

A cross process synchronization – Mutex

Waiting for something to happen – Manual and AutoResetEvents

 

 

SOA Study Notes

SOA, The next stage in the evolution

SOA Tenets

SOA Tenets – Policy based negotiation

SOA Tenets – Service Boundaries are Explicit

SOA Tenets – Service are autonomous

SOA Tenets – Contract Exchange

Services vs Web Services

 

 

OOP Study Notes

Four Tenets of OOP

A small design problem

Analysis Model

Design Model – Static Model

Aggregation vs Composition

 

 

CLR Generics Study Notes

CLR Generics – Motivation

CLR Generics – Enter generics

CLR Generics – Terminology

CLR Generics – Constraints

CLR Generics – Other interesting trivia

CLR Generics – Benefits and limitations

CLR Generics – Internals

CLR Generics – Notable BCL Additions

CLR Generics – Comparing with other generics implementations

CLR Generics – Bibliography

 

 

Design Pattern Study Notes

Factory Method Pattern

Abstract Factory Pattern

Strategy Pattern

Decorator Pattern

Composite Pattern

Iterator Pattern

Template Method

Builder Pattern

Singleton Pattern

Mediator Pattern

Observer Pattern

Chain of Responsibility Pattern

Memento Pattern

Command Pattern

Prototype Pattern

State Pattern

Visitor Pattern

Flyweight Pattern

Interpreter Pattern

Facade Pattern

 

Answers to Scott Hanselman’s interview questions

Answers to Scott Hanselman’s interview questions

Scott Hanselman’s interview questions – Everyone who writes code

Scott Hanselman’s interview questions – Mid-Level .NET Developer

Scott Hanselman’s interview questions – Senior Developers/Architects

Scott Hanselman’s interview questions – C# Component Developers

 

 

Architecture Notes

Software Architecture

What does a software architect do?

Quality Attributes

Implementation based organization / decomposition

Layering

Layers vs. Tiers

 

 

CLR Study Notes

Delegates

Value Types and Reference Types

Pass by Value vs. Pass by Reference

‘Boxing’ and Unboxing