tag:blogger.com,1999:blog-8336318365940619669.post5500294184434517388..comments2024-03-01T16:50:39.029+01:00Comments on Horsdal Consult: Draupner: Full Stack ASP.NET MVC Scaffolding Christian Horsdalhttp://www.blogger.com/profile/07782376855026802670noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-8336318365940619669.post-13200233825634726992012-12-14T09:46:04.822+01:002012-12-14T09:46:04.822+01:00Hey! Have you ever noticed, have your writting ski...Hey! Have you ever noticed, have your writting skills upgraded so far?Joy Lamberthttp://midnightcosmostar.wordpress.com/noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-65939769746213304992012-09-10T15:06:20.336+02:002012-09-10T15:06:20.336+02:00This comment has been removed by the author.MJMhttps://www.blogger.com/profile/00701879458976731761noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-45015869037508578182012-08-28T14:21:22.479+02:002012-08-28T14:21:22.479+02:00Thanks for the answers. I meant concurrency where ...Thanks for the answers. I meant concurrency where you open a record, I open the same one, we both edit and save, and then what happens -seems like last in wins:) Next month after my project is due I am going to fork/clone Draupner(whatever it is called in GitHub) because I want to use EF and Ninject instead, should be an easy task to do.Lee Brookshttps://www.blogger.com/profile/11080330749189271281noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-90830668624923614242012-08-28T14:20:24.198+02:002012-08-28T14:20:24.198+02:00This comment has been removed by the author.Lee Brookshttps://www.blogger.com/profile/11080330749189271281noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-3754604502380209272012-08-28T13:36:34.566+02:002012-08-28T13:36:34.566+02:00@Lee: Thanks!
To answer your questions:
1) I'...@Lee: Thanks!<br />To answer your questions:<br /><br />1) I'm not sure what you mean by concurrency control in this context...but every http request gets it's own UnitOfWork, which in turn means it has it's own NHibernate session. Apart from state in the DB the generated application is practically stateless. Hope this is what you were asking about.<br />1) There is a Draupner command for scaffolding out authentication/authorization. It generates a basic forms-based authentication implementation, including GUIs for CRUD'ing user, controllers, DB schema, NH mappings and so on. Once that is in place authorization can be done using the usual ASP.NET MVC authorization attributes.<br /><br />2) Yes any other dependencies are added after project creation. Notice that adding such dependencies does not mess up Draupner. You can still happily go on scaffolding new enities and CRUD functions for them. Doing so will not mess with your extra dependencies.<br /><br />3)True :-) No special reason for that. Either way the CRUD views are only meant to be temporary. Something to set up early in development but to replace later with an implementation that suits end user needs and mental models.Christian Horsdalhttps://www.blogger.com/profile/07782376855026802670noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-58107711702493433312012-08-28T13:12:00.629+02:002012-08-28T13:12:00.629+02:00Very cool scaffolder, I made something similar (bu...Very cool scaffolder, I made something similar (but only half as good) to speed up my university project.<br />A couple of questions if you don't mind:<br />1) How is concurrency control and authentication and authorization handled?<br />2) I noticed there are no references to company libraries etc. Do you add those afterwards, or is every project self-standing?<br />3)You don't use ajax to create a popup dialog for adding and editing records and instead send the user to the actual page, yet you use ajax for deletes?<br />Lee Brookshttps://www.blogger.com/profile/11080330749189271281noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-5094924948164152092012-08-24T10:42:13.010+02:002012-08-24T10:42:13.010+02:00@Abhay: Try www.asp.net there is tons of content t...@Abhay: Try www.asp.net there is tons of content there. Including some good getting started guides.Christian Horsdalhttps://www.blogger.com/profile/07782376855026802670noreply@blogger.comtag:blogger.com,1999:blog-8336318365940619669.post-21930055137346709782012-08-24T10:19:38.962+02:002012-08-24T10:19:38.962+02:00Nice article.., I really want to learn Asp.NET. Co...Nice article.., I really want to learn Asp.NET. Could you please guide me if http://www.wiziq.com/course/4673-learn-asp-net-using-visual-studio-includes-c is good to start for the basics of .NET. Will appreciate your prompt reply!Anonymoushttps://www.blogger.com/profile/16280439043474077494noreply@blogger.com