Skip to content
Avatar

Sponsors

@pwesselius @SparkDevNetwork @Lombiq @Sciumo

Sponsoring

@agriffard @martincostello @daveaglick @potatoqualitee @Shazwazza @lahma @deanmarcussen @neuecc @PhilippC @NightOwl888 @jtkech @xoofx @tidyui

Organizations

@OrchardCMS @aspnet @dotnet
Block or Report

Block or report sebastienros

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
sebastienros/README.md

Hi, I am Sebastien Ros 👋

I am a software developer in the ASP.NET team at Microsoft. I currently work on benchmarking ASP.NET Core and building distributed benchmarking services. I also spend some of this time helping the Orchard Core project by leading the community and contributing to features.

If I am not working or coding, I am probably

  • sleeping
  • doing husband and father duties
  • listening to James Taylor
  • playing guitar
  • biking
  • running
  • swimming

Open source

When I don't get paid to code, I still code, mainly on these open source projects:

Jint - https://github.com/sebastienros/jint

A JavaScript interpreter for .NET, which allows to run standard scripts in any .NET application. If you need to add some scripting capabilities to your apps, to build a rules engine, or evaluate configurable predicates, you should use it. It's fast and standard compliant.

The first version of this project started at a previous job, where we needed to send email compains, and we wanted to customize these emails using templates. We followed the way Razor was working by translating the template into pure code, but decided that JavaScript would be easier than C# for editors. A few years ago I decided to rewrite it from scratch following the ECMAScript specs. The first week I joined Microsoft I was asked to show a prototype to Scott Guthrie of "jQuery on the server" which I had built with it, that was fun!

YesSQL - https://github.com/sebastienros/yessql

A NoSQL-like document database layer for .NET that works on existing RDBMS like SQL Server, PostgresQL, Sqlite, MySQL. It allows to store documents and define materialized indexes you can query on using SQL directly. Because it's using the database system you want, you can reuse your existing knowledge, and also use custom SQL queries when you need to optimize for performance.

The idea of the project came to me while working on the first version of Orchard CMS, where we would have to split entities in many tables, which was impacting perf a lot. A CMS usually fits a document based approach, with denormalized data. However using brand new NoSQL databases is often an issue in terms of vendor lock-in, or lack of experience on these systems. RavenDB paved the way in .NET, and I thought we could definitely provide similar features using an RDBMS. Now YesSQL is the standard way to store content in Orchard Core.

Fluid - https://github.com/sebastienros/fluid

A Liquid template engine. Liquid is a templating language created by Shopify and used in other places like Jekyll. This can be used to provide a safe way for users to author templates. It also contains an MVC view engines where files like index.liquid will be used automacically for MVC Views.

This project was created for Orchard Core in order to enable users to create safe templates, and faster cold rendering of templates. The issue with Razor for content editors is that it's not safe, as it allows to access anything that C# allows, including reading the whole filesystem, and it is also slower to render a template the first time as it requires compilation. Fluid solves these two issues and now used in other .NET CMSes. Initially I tried to use dotLiquid but was faced with performance issues as it is using regular expressions to parse the templates.

Esprima.NET - https://github.com/sebastienros/esprima-dotnet

Is it a fully compliant ECMAScript parser for .NET. It allows to parse and manipulate JavaScript files, either for executing them, minifying, linting, finding bugs, ... It's use in Jint.

When I started rewriting Jint I followed an advice that Atif Aziz made on the previous version, and made the parser a separate library to Jint. The project is mainly a port of the JavaScript implementation named Esprima created by Ariya Hidayat.

Parlot - https://github.com/sebastienros/parlot

A fast, lightweight and simple to use .NET parser combinator. Parser combinators make it possible to create parsers at runtime, while keeping simplicity by reusing common language constructs. I created Parlot out of interest for this technology and realized it would become even faster than hand-written parsers while still providing ways to customize the languages at runtime.

Shortcodes - https://github.com/sebastienros/shortcodes

A .NET library to parse and evaluate shortcodes. It allows text content editors to inject specialized content blocks using custom arguments, like images, twitter embeds, youtube videos, only with simple blocks like [video 123].

Shortcodes are essential to WordPress, and for the Orchard Core we wanted a similar feature. The parser was written by hand as the syntax is simple and it needs to be efficient.

More about myself

Personal life

I am French, married and father of two. I joined Microsoft in 2010 and live in Bellevue WA (US).

My current bikes (we never have enough bikes)

  • Specialized Diverge Comp, for commuting.
  • Specialized Roubaix Expert Di2, for long/group rides.
  • Specialized Stump Jumper, for mountain biking.
  • Canyon Speedmax Cf 8.0 Di2, for triathlons.

My stava profile

My current guitars (we never have enough guitars)

  • Taylor 214ce
  • Yamaha SLG200S Silent Guitar

My current running gear

  • Hoka Carbon X 3
  • Saucony Triumph 19
  • Balega Hidden Comfort Running Socks

Pinned

  1. Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.

    C# 6.1k 2.1k

  2. jint Public

    Javascript Interpreter for .NET

    C# 2.9k 475

  3. yessql Public

    A .NET document database working on any RDBMS

    C# 991 177

  4. fluid Public

    Fluid is an open-source .NET template engine based on the Liquid template language.

    C# 870 138

  5. Esprima .NET (BSD license) is a .NET port of the esprima.org project. It is a standard-compliant ECMAScript parser (also popularly known as JavaScript).

    C# 320 72

  6. Benchmarks for ASP.NET Core

    C# 1k 206

1,123 contributions in the last year

Aug Sep Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Mon Wed Fri

Contribution activity

August 2022

Created a pull request in dotnet/aspnetcore that received 33 comments

Support LF request line terminator in HttpParser

Adding support for https://www.rfc-editor.org/rfc/rfc7230.html#section-3.5 which can be disabled via an app switch. Although the line terminator f…

+491 −142 33 comments
Opened 3 other pull requests in 1 repository
dotnet/aspnetcore 1 open 1 closed 1 merged

Created an issue in dotnet/aspnetcore that received 17 comments

Add AllowLineTerminator option in KestrelServerOptions

Background and Motivation New option to support LF as a request line terminator. Proposed API public class KestrelServerOptions { /// <summary> ///…

17 comments
Opened 3 other issues in 3 repositories
dotnet/aspnetcore 1 open
dotnet/arcade 1 open
dotnet/runtime 1 closed

Seeing something unexpected? Take a look at the GitHub profile guide.