F# func­tional pro­gram­ming de­buts on ASP.Net Core through Gi­raffe

OpenSource For You - - Fossbytes -

Mi­cro Web frame­work Gi­raffe has brought F# func­tional-style pro­gram­ming to ASP.Net Core. The lat­est de­vel­op­ment also in­cludes in­ter­est­ing fea­tures like higher-or­der func­tions that have been much awaited on ASP.Net Core for years.

Gi­raffe of­fers a dif­fer­ent tech­ni­cal phi­los­o­phy that uses F# fea­tures like F# types, higher or­der func­tions and par­tial ap­pli­ca­tion of ar­gu­ments.

ASP.Net devel­op­ers will ben­e­fit a lot by us­ing the frame­work as it en­ables the de­vel­op­ment of Web API routes in a func­tional style. F# is al­ready sup­ported in ASP.Net Core MVC.

Devel­op­ers need to plug Gi­raffe into the ASP.Net Core pipeline us­ing mid­dle­ware. Mi­crosoft has pub­lished a de­tailed guide to help you use Gi­raffe to build a Web ser­vice with F# and the .NET Core 2.0 de­vel­op­ment plat­form.

You might en­counter some bugs since the frame­work is cur­rently avail­able in a beta stage. Hav­ing said that, the Gi­raffe team is work­ing to im­prove the rout­ing model for the frame­work.

Gi­raffe is known for its ca­pa­bil­i­ties to build rich Web ap­pli­ca­tions that are based on ad­vanced F# fea­tures. No­tably, the core of Gi­raffe is built on top of ASP.Net.

Mi­crosoft main­tains F# as the open source func­tional-first lan­guage. The lan­guage is de­signed to ad­dress com­plex com­put­ing prob­lems us­ing sim­ple code.

Newspapers in English

Newspapers from India

© PressReader. All rights reserved.