简体   繁体   中英

How to install F# and use it from aspx page

I am looking for simple answer about installation but without .msi and Visual Studio.

I don't use VS, I put dll files inside bin folder, write something to web.config and put import in a page.

But for F#, I can't find anything about it, if I find it, its useless for last version of F#.

Same goes for IronPython, and many others :)

If anyone is using asp.net in this "strange" "not normal" way like me, maybe can help

Thank you

The PowerPack includes a CodeDom provider, but generally speaking, you will be unsuccessful using F# directly to create a WebForms application. You can create your code behind files in a separate F# library and reference those types in your C# WebForms pages. Dan Mohl has several such templates available on nuget.org. Despite much pleading from the F# community, this is the current best approach.

If you want more F#-like approaches, check out figment , WebSharper , and frank .

You cannot use F# in aspx.

ASP.Net only allows three languages C# or VB or J#

For more information please read: -

Programming Languages in ASP.NET

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM