hubFS: THE place for F#

. . . are you on The Hub?
Welcome to hubFS: THE place for F# Sign in | Join | Help
in Search

aspx web application?

Last post 11-12-2008, 23:05 by gary. 5 replies.
Sort Posts: Previous Next
  •  07-24-2008, 4:30 6436

    aspx web application?

    Hi,

    Is it possible to create an aspx web application in f#? If not, will it be possible in the future? Thank you
  •  07-24-2008, 7:20 6438 in reply to 6436

    Re: aspx web application?

    Hi,
    funny that you're asking :-) The first article on the hubFS web page answers this question:
    http://cs.hubfs.net/blogs/tomasp/archive/2008/03/08/aspnet_in_fsharp.aspx

    There is also a project that attempts to make it possible to write client-side scripts running in web browser in F# and simplify communication betwee server-side and client-side. More info is here: http://tomasp.net/blog/fswebtools-intro.aspx. It was a bit inactive recently, but I'm hopefuly going to get back to it and make it ready for the "commercial version of F#" soon!

    T.


    Tomas Petricek (Blog), C# MVP
    My book: Real-world Functional Programming in .NET
  •  07-24-2008, 13:51 6440 in reply to 6438

    Re: aspx web application?

    Tomas, how about an example for F# with ASP.NET MVC? I don't like regular ASP.NET and to be honest i don't think F# is a good choice for it. The examples that i've seen are actually more convoluted than if they were written in C#. Perhaps ASP.NET MVC is a better match for a functional language like F#. But i think that a really good web framework has to be written specifically for F#.




  •  11-10-2008, 17:28 7691 in reply to 6440

    Re: aspx web application?

    This has been an interesting thread.

    Would you mind telling me the difference between ASP.NET  and ASP.NET MVC?

    And, can any one tell me what programming languages etc, one would have to know in order to go ahead and create a web framework for F#? Obviously this language (F#) is the wave of the future. I'd like to contribute to that if I can.

    Thanks.

    Dab

  •  11-11-2008, 19:24 7698 in reply to 7691

    Re: aspx web application?

    >> Would you mind telling me the difference between ASP.NET  and ASP.NET MVC?

    ASP.NET MVC is a new framework from Microsoft for developing database driven web sites, using ASP.NET. You could call it a layer on top of ASP.NET. You probably shouldn't be looking at it until you are familiar with ASP.NET. It is Microsoft's answer to Ruby on Rails.

    >> Obviously this language (F#) is the wave of the future.

    I don't know how you picked that up, being new to programming, but you may be right - although no single language will ever replace all the others!

    I like your enthusiasm!

    Good luck with it all.

  •  11-12-2008, 23:05 7704 in reply to 7698

    Re: aspx web application?

    ASP.NET MVC is a generic framework, not just for database driven sites.

    It has little to do with ASP.NET other than using it as the viewing engine and definitely not on top of ASP.NET.

    You don't need to know much about ASP.NET in order to use MVC, they are concentually very different thing, so not knowing it may be better.

    I doubt F# would be the wave of the future but learning to think functional(immutable in general) makes me a better coder.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems