F # identification system

I am creating a new project (just to find out). It will be written in ASP.Net 5 MVC 6 and EF 7 first approach. Also I want to make the service layer, that is, all the business logic written in F # 4.0 (never wrote a line in this language except for some tutorials). This means that I am creating this project all over the place or using tools that I have not used before.

I currently have an empty solution. Therefore, the first challenge I set myself was to create the authentication logic. All the tutorials show how simple it is: I don't want to have any logic (other than view manipulation) in the controllers. So I need to create a service that will be called and login / register a user.

The problem is that all business logic will be written in F #. I have not been able to find any material on how to achieve such a task. Can you guys explain to me how to use the Microsoft ID with the first code approach in F #.

Any guides, tutorials (yes, I looked through google uncle) would be appreciated.

+3


source to share





All Articles